Identity and business verification for your LaraClassifier / JobClass site. Users upload documents, an administrator reviews them, and a verified badge is shown on profiles and listings. On JobClass the badge belongs to companies and reads “Verified employer”.
Document Submission
A “Verification” page in the user account: kind of check, legal name, type of document and up to 10 files (JPG, PNG, WEBP, PDF).
Admin Review
A filterable list of requests and a review page showing the documents, with Approve, Reject, Revoke and Delete, and a reason sent to the user.
Badge Everywhere
Shown on the listing page, the listing cards of the search results, the public profile and, on JobClass, the company page and the companies directory.
Private by Design
Documents are stored on a private disk, are only viewable by authorized staff, and are deleted automatically after a retention period.
How It Works
| LaraClassifier | JobClass | |
|---|---|---|
| What is verified | The user account | A company of the user (each company is verified separately) |
| Checks on offer | Identity and / or Business (each can be switched off) | Business only |
| Badge text | “Verified identity” or “Verified business” | “Verified employer” |
| Who sees the account page | Every signed-in user | Users allowed to post jobs (employers) |
A request goes through these statuses:
| Status | Meaning | Badge displayed |
|---|---|---|
| Pending | Submitted, waiting for a review. The user can still cancel it. | No |
| Approved | An administrator accepted the documents. | Yes, until it expires or is revoked |
| Rejected | An administrator refused the request. The user can apply again. | No |
| Revoked | A granted badge was withdrawn, by an administrator or because the name changed. | No |
| Expired | The badge reached the end of its validity. The user can apply again. | No |
A user (or a company) can only have one request in progress: a new one can be submitted once the previous one is rejected, revoked, expired or cancelled.
Requirements
- LaraClassifier / JobClass v19.1.17 or later
- PHP 8.3+
- MySQL 8.0+
Installation
Step 1: Upload the add-on
Go to Admin panel → Extensions → Add-ons, click Upload add-on and drop the add-on's .zip file into the upload area (50 MB maximum).
The archive is extracted into extensions/addons/verifiedbadge/ and Verified Badge appears in the list, deactivated.
extensions/addons/verifiedbadge/ over FTP or SSH: its addon.json file must sit directly inside that folder.
Then open Admin panel → Extensions → Add-ons. The page scans extensions/addons/ every time it loads, so the add-on is listed straight away (the Sync button runs the same scan on demand).
Step 2: Activate the add-on
Click Activate on the Verified Badge card. It is a paid add-on, so a dialog asks for its purchase code, which is verified before anything else happens: an invalid code is rejected in the dialog and nothing is changed.
Once the code is accepted, activation runs in one pass: it creates the add-on's database tables (its migrations), registers its permissions, runs its seeders and publishes its public assets. Reload the page to see its new entry in the Add-ons section of the admin sidebar.
Step 3: Configure
Open Admin panel → Verified Badge from the Add-ons section of the sidebar and set the add-on up: see Configuration.
Purchase Code (License Key)
Verified Badge is sold as a separate product, so it has its own purchase code (license key), distinct from the purchase code of the main application and from the one of every other add-on. You are asked for it when you activate Verified Badge in Admin panel → Extensions → Add-ons.
Our products are sold on three platforms. The way you receive a purchase code depends on where you bought the product.
| Platform / Marketplace | How you get the purchase code | Where to find it again |
|---|---|---|
| bedigit.com Store In-site purchase (Shop) |
Generated automatically when the order is paid, then sent by email, either in its own license email, or inside the order confirmation email. | My Account → My Licenses on bedigit.com |
| Gumroad | Created as soon as Gumroad notifies us of the sale, then sent in a separate email, in addition to the Gumroad receipt. | The license email, your Gumroad Library, and My Account → My Licenses on bedigit.com |
| Envato Market CodeCanyon |
Issued by Envato, not by us, and never sent by email: you download it yourself from your Envato account. | Envato account → Downloads → License certificate & purchase code |
1. bedigit.com Store (in-site purchase)
- As soon as the order’s payment status becomes Paid, a license key is generated automatically for every licensed item in the order (one key per purchased unit: buying 3 units gives 3 distinct keys).
- It is emailed to the address used on the order, either in a dedicated license email or inside the order confirmation email. Check your inbox and your spam / junk folder.
- The key stays available in your account under My Account → My Licenses. Keys are masked in the list; open the license detail page to reveal and copy the full key, see the domains it is activated on, and deactivate a domain to free an activation slot.
- The matching invoice is under My Account → My Orders.
2. Gumroad
- A Gumroad purchase produces two separate emails: the Gumroad receipt (sent by Gumroad, giving access to the files) and a license key email (sent by bedigit.com) that contains your purchase code.
- The license key email is generated as soon as Gumroad notifies us of the sale, so it normally arrives within seconds of the payment. Here too, check your inbox and your spam / junk folder.
- When the Gumroad product uses Gumroad’s own license-key feature, the same key also appears in your Gumroad receipt and under Library → your purchase on gumroad.com.
- Use the same email address on bedigit.com as on Gumroad: your keys are then linked to your account automatically and listed under My Account → My Licenses, even if you register after the purchase. You can also add a Gumroad key manually from My Account → My Gumroad Licenses.
3. Envato Market (CodeCanyon)
- Envato purchase codes are issued and delivered by Envato Market, never emailed by us, so there is nothing to look for in your spam folder: you retrieve the code from your Envato account.
- Log in to your Envato / CodeCanyon account, open the Downloads page, find the item, and choose License certificate & purchase code from the Download dropdown. The code is written in that certificate.
- An Envato purchase code looks like
12345678-90ab-cdef-1234-567890abcdef(8-4-4-4-12 characters). It never changes, and renewing item support does not issue a new one. - Official Envato article: Where Is My Purchase Code?
Configuration
Go to Admin panel → Verified Badge → Settings. Every option has a sensible default, so the add-on works as soon as it is activated.
| Setting | Default | Description |
|---|---|---|
| Identity check | On | LaraClassifier only. Individuals can prove their identity to get the “Verified identity” badge. |
| Business check | On | LaraClassifier only. Professionals can prove their business exists to get the “Verified business” badge. |
| Files per request | 3 | Maximum number of files a user can upload with a request (1 to 10). |
| Maximum file size (KB) | 5120 | Per file. Your server’s upload_max_filesize and post_max_size also apply. |
| Keep the documents (days) | 30 | Days the documents are kept after a request is reviewed. 0 keeps them until you delete them yourself. See Retention & Expiry. |
| Accepted types of document | All on | One switch per type of document (National ID card, Passport, Business registration certificate…). A type switched off is no longer offered in the user’s form. Each check on offer must keep at least one type. |
| Notify the administrators | On | Email the administrators when a new request is submitted. |
| Badge validity (months) | 0 | The badge expires after this many months and the user has to apply again. 0 means it never expires. Applies to requests approved after the change. |
| Revoke on name change | On | Withdraw the badge when the verified user or company changes its name: the documents proved the former one. |
| Show on listing cards | On | Display the badge (icon only) on the listings of the search results, besides the listing page and the profile. |
| Show the badge text | On | Display the text next to the icon on the listing page and the profile. When off, the text is shown as a tooltip. |
| Badge color | #1d9bf0 | Color of the badge icon and text. |
Admin: Verification Requests
Open Admin panel → Verified Badge → Verification requests.
The List
- Search by legal name, registration number, or the name and email of the user who submitted the request. A number also matches the request ID.
- Filter by status (Pending, Approved, Rejected, Revoked, Expired) and by check (Identity, Business).
- Sort by clicking a column header: submission date, legal name, check or status.
- The pending button at the top of the page shows how many requests are waiting and filters the list on them.
- Tick several rows and click Delete to remove them in bulk, documents included.
Reviewing a Request
Click a row to open the review page. It shows:
- the account the request is about, with links to its admin page and its public page;
- the user who submitted it, the check, the legal name, the registration number, the type of document and the user’s message;
- a warning when the legal name differs from the public name of the account, so you compare it with the document;
- the documents: images are previewed, and every document opens in a new tab;
- the earlier requests for the same account, with their outcome.
Decisions
| Action | Available when | Effect |
|---|---|---|
| Approve and grant the badge | The request is not approved (pending, or a second chance after a rejection, revocation or expiry) | The badge is displayed at once. The validity period starts. The user is notified. |
| Reject the request | The request is pending | No badge. The optional reason is shown to the user and sent in the notification. |
| Revoke the badge | The request is approved | The badge is withdrawn at once. The optional reason is shown to the user and sent in the notification. |
| Delete the documents | The request has documents | The files are deleted; the request and its decision are kept. |
| Delete the request | Always | The request and its documents are deleted. A granted badge is withdrawn. The user is not notified. |
Permissions
The add-on registers its permissions when it is activated and grants them to the admin role. Give them to other roles from the roles management page of the admin panel.
| Permission | Allows |
|---|---|
admin.verification.view | See the list, open a request and open its documents |
admin.verification.edit | Approve, reject and revoke |
admin.verification.delete | Delete requests and documents |
admin.setting.edit | Change the add-on’s settings |
admin.verification.view can open identity papers.
Notifications
| Sent to | When | |
|---|---|---|
| New verification request | The administrators | A user submits a request (when Notify the administrators is on) |
| Request approved | The user who submitted it | An administrator approves the request |
| Request rejected | The user who submitted it | An administrator rejects the request |
| Badge withdrawn | The user who submitted it | The badge is revoked, by an administrator or after a name change |
The emails never carry the documents. They follow the core’s notification settings: when notifications are globally switched off, none is sent. They are queued like the core’s other emails, so a queue worker must be running when your queue is not sync.
Front-end: Verification Page
Once the add-on is active, a Verification entry appears in the My account menu. The page shows:
- the current status of the user (or of each of their companies on JobClass), with the reason when a request was rejected or the badge revoked, and the expiry date of a granted badge;
- a Cancel the request button while a request is pending (the documents are deleted);
- the submission form, when a request can be sent.
The form asks for the kind of check (toggle buttons, when both are on offer), the legal name as written on the document, the registration number (business check), the type of document, the files, and an optional message to the reviewer.
Documents. Files are dropped on the upload area or picked from the computer. The selection is built up over several picks, so the files can come from different folders; each selected file is listed with a preview and can be removed before sending. Formats, sizes and the number of files are checked in the browser first, then again on the server.
| Check | Types of document offered |
|---|---|
| Identity | National ID card, Passport, Driver’s license, Residence permit, Other document |
| Business | Business registration certificate, Tax certificate, Business license, Other document |
Only the types of document left on in the settings are offered. Submissions are limited to 6 per minute per user, and cannot be made while an administrator is impersonating the account.
Front-end: Where the Badge Shows
| Page | LaraClassifier | JobClass |
|---|---|---|
| Listing page | Under the seller’s name (icon + text) | Next to the company name, in the summary and the company box (icon + text) |
| Listing cards (search results, carousels) | Next to the listing title (icon) | Next to the company name (icon) |
| Public profile | Next to the user’s name | On each verified company of the recruiter |
| Company page and companies directory | Not applicable | Next to the company name |
The bundled themes (Default and Aurora on LaraClassifier, Default and Modern on JobClass) display the badge out of the box. On the listing cards the badge is an icon with the text as a tooltip; turn it off there with Show on listing cards.
Document Storage
- Files are written to the
privatedisk (storage/app/private/verifiedbadge/<request>/), never to the public one: they have no public URL. - They are stored under a random name; the original file name is only kept for display.
- The only way to open a document is the admin review page, which requires the
admin.verification.viewpermission. The response is never cached. - Users cannot download their documents back, and other users never see them.
- Documents are deleted when the request is cancelled or deleted, when the user or the company is deleted, when the retention period is over, and when the add-on is removed.
storage/app/private/ in your backups according to the law that applies to you.
Retention & Expiry
Retention. Once a request is reviewed, its documents are only kept for the number of days set in Keep the documents (days). The daily cleanup then deletes the files; the request, its decision and the badge are kept. The review page shows the date the documents were deleted.
Expiry. When Badge validity (months) is not 0, an approved request gets an expiry date. The badge stops being displayed on that date, even if the scheduler is not running; the daily cleanup then flags the request as Expired.
Name change. With Revoke on name change on, renaming a verified user or company revokes the badge immediately and notifies the user, who can apply again with documents matching the new name.
CLI & Scheduling
The add-on registers one Artisan command and schedules it itself; no change to routes/console.php is required.
| Command | Schedule | Purpose |
|---|---|---|
php artisan verifiedbadge:cleanup |
Daily | Flags the expired badges and deletes the documents past the retention period |
It runs through Laravel’s scheduler, so the core’s cron entry (php artisan schedule:run every minute) must be set up on your server. You can also run the command by hand at any time.
Custom Themes
The badge is a Blade partial. A custom theme displays it by including it wherever it shows a seller or a company name:
{{-- LaraClassifier: the badge belongs to the user --}}
@includeWhen(addon_active('verifiedbadge') && view()->exists('verifiedbadge::badge'), 'verifiedbadge::badge', [
'type' => 'user',
'id' => data_get($listing, 'user_id'),
'context' => 'card',
])
{{-- JobClass: the badge belongs to the company --}}
@includeWhen(addon_active('verifiedbadge') && view()->exists('verifiedbadge::badge'), 'verifiedbadge::badge', [
'type' => 'company',
'id' => data_get($listing, 'company_id'),
'context' => 'listing',
])
| Parameter | Values |
|---|---|
type | user or company |
id | ID of the user or the company |
context | card (icon only, follows Show on listing cards), listing or profile (icon + text) |
vbClass | Optional extra CSS classes, e.g. a light pill on a colored header |
The partial prints nothing when the account holds no valid badge, and it costs no database query per card: the verified accounts are loaded once and cached for 10 minutes (the cache is refreshed as soon as a badge is granted, revoked or deleted).
Translations
The add-on ships in 18 languages: Arabic, Bengali, Chinese, English, French, Georgian, German, Hebrew, Hindi, Italian, Japanese, Portuguese, Romanian, Russian, Spanish, Thai, Turkish and Ukrainian.
Its strings are in extensions/addons/verifiedbadge/resources/lang/<locale>/messages.php. A language without a file falls back to English.
Updating
An update only replaces the add-on's files. Its database tables and data, its settings, its activation state and its recorded purchase code are all kept, so do not deactivate or remove the add-on before updating it. Back up your database first all the same.
Method 1: Upload the new version (recommended)
- Download the latest
.zipfile of the add-on. - Go to Admin panel → Extensions → Add-ons and click Upload add-on.
- Drop the
.zipfile into the upload area. - Because Verified Badge is already installed, a prompt shows the installed version and the new one. Click Replace: the
extensions/addons/verifiedbadge/folder is swapped for the new files. Cancelling the prompt discards the upload.
Method 2: Replace the files by hand
- Over FTP or SSH, delete the
extensions/addons/verifiedbadge/folder and upload the new one in its place. Replace the whole folder rather than copying over it, so files dropped by the new version do not linger. - Open Admin panel → Extensions → Add-ons: the page re-reads
addon.jsonand the card shows the new version number.
After the files are replaced
New database tables or columns. When a new version adds some, create them by running php artisan migrate --force over SSH, or without SSH by clicking Deactivate then Activate on the add-on's card: activation runs every pending migration (and asks for the purchase code again). Your data is not touched either way.
If your installation caches its configuration or routes (php artisan config:cache, route:cache), run php artisan optimize:clear after the update.
Uninstallation
Switching an add-on off without losing anything is a deactivation: go to Admin panel → Extensions → Add-ons, click Deactivate on the Verified Badge card and confirm.
- The add-on is no longer loaded: its routes, views, admin sidebar entry and front-end pages stop answering.
- Its database tables and all the data they hold are kept, and its files stay under
extensions/addons/verifiedbadge/. Nothing is deleted. - Its permissions and its recorded purchase code stay in the database. Only Remove deletes them.
- Deactivation is refused while another active add-on depends on this one: deactivate that add-on first.
Click Activate on the same card to switch it back on. As for a first activation, the purchase code is asked for and verified again; then any pending migrations run, the assets are republished, and the add-on picks up exactly where it left off.
Removing
Removing is permanent and destroys the add-on's data. The Remove button only appears on a deactivated add-on, so removal is always two steps:
- Deactivate Verified Badge (see Uninstallation).
- Click Remove on its card and confirm the prompt.
The admin panel then, in one pass:
- runs the add-on's uninstall hook, which deletes every uploaded document (the
verifiedbadge/folder of the private disk) and the add-on's settings; - revokes the permissions declared in its
addon.json; - rolls back its migrations (this drops its database tables and every row they hold) and purges its entries from the
migrationstable, so a later reinstall migrates from scratch; - deletes its published assets:
public/addons/verifiedbadge/,public/vendor/verifiedbadge/andstorage/app/public/addons/verifiedbadge/; - deletes the add-on directory
extensions/addons/verifiedbadge/; - deletes its row in the
addonstable (the recorded purchase code goes with it) and clears the application cache.
Removal is refused, with an explanatory message and before anything is destroyed, when the add-on is still active, when another active add-on depends on it, or when the web server (PHP) user cannot delete extensions/addons/verifiedbadge/. In that last case, give that user write permission on the directory and on its parent, then try again.
Deleting the folder over FTP or SSH is not equivalent: the add-on is only switched off, and its tables, its entries in the migrations table and its addons row are all left behind. Use Remove in the admin panel instead.
Troubleshooting
The badge does not appear after an approval
- Check that the request is Approved and not past its expiry date.
- On the listing cards, check that Show on listing cards is on.
- The list of verified accounts is cached for 10 minutes and refreshed on every decision made in the admin panel. After a change made directly in the database, wait 10 minutes or clear the application cache.
- A custom theme must include the badge partial: see Custom Themes.
The “Verification” entry is missing from the account menu
- The add-on must be activated, on LaraClassifier / JobClass v19.1.17 or later.
- On JobClass, the entry is only shown to users allowed to post jobs.
- If your installation caches its routes, run
php artisan optimize:clear.
The upload fails or the file is refused
- Only JPG, PNG, WEBP and PDF files are accepted, within the limits set in the add-on’s settings.
- PHP’s
upload_max_filesizeandpost_max_sizemust be larger than the total size of the files sent at once. - The web server user must be able to write to
storage/app/private/.
A document does not open on the review page
- Your role needs the
admin.verification.viewpermission. - The documents may have been deleted by the retention cleanup: the review page then shows the deletion date.
Documents are not deleted after the retention period
- The cleanup runs through the scheduler: check that the cron entry for
php artisan schedule:runexists. - Run
php artisan verifiedbadge:cleanupby hand to check its output. - With Keep the documents (days) set to
0, documents are never deleted automatically.
Users do not receive the decision email
- Check the core’s mail settings and that notifications are not globally switched off.
- When the queue is not
sync, a queue worker must be running.
Verified Badge v1.0.0 · LaraClassifier / JobClass Add-on · by BeDigit