Let the sellers of your LaraClassifier site sell by timed auction, with a reserve price, automatic bids and an anti-sniping time extension.
Timed Auctions
Sellers pick a duration in the posting form. The clock starts when the listing goes online.
Automatic Bids
Buyers enter the most they agree to pay. The system bids for them, only as much as needed, and keeps that maximum secret.
Reserve Price
A secret minimum: below it the item is not sold. Bidders only see whether it is met.
Anti-Sniping
A bid in the last minutes pushes the end back, so everyone has time to answer.
How It Works
An auction belongs to a listing. While it is open, the listing’s own price holds the current bid, so searches, sorting, listing cards and the API show it like any other price. The add-on does not take payments: when an auction ends, the seller and the winner arrange the payment and the delivery between themselves.
Requirements
- LaraClassifier v19.1.17 or later (this add-on is not available for JobClass)
- PHP 8.3+
- MySQL 8.0+
- The Laravel scheduler (cron), so that auctions nobody is looking at end on time
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/auctions/ and Auctions & Bidding appears in the list, deactivated.
extensions/addons/auctions/ 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 Auctions & Bidding 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 → Auctions from the Add-ons section of the sidebar and set the add-on up: see Configuration.
Purchase Code (License Key)
Auctions & Bidding 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 Auctions & Bidding 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 → Auctions → Settings.
| Setting | Default | Description |
|---|---|---|
| Allow new auctions | On | Sellers can put their listings up for auction. Turning this off does not stop the auctions already running. |
| Reserve price | On | Sellers can set a secret minimum price. |
| Durations offered (days) | 1,3,5,7,10,14 | Comma-separated list, from 1 to 90 days. Keep them shorter than the publication period of your listings. |
| Default duration (days) | 7 | Selected by default in the posting form. |
| Sellers choose the increment | On | Sellers can set the smallest step between two bids. |
| Default increment (%) | 5 | Percentage of the starting price used when the seller sets no increment. |
| Smallest increment | 1 | The increment of an auction is never below this amount. |
| Extend the auction on a late bid | On | Turns anti-sniping on. |
| Last minutes watched | 5 | A bid placed this close to the end extends the auction. |
| Time left after an extension (minutes) | 5 | The auction then ends this long after the late bid. |
| Maximum number of extensions | 0 | 0 = no limit. |
| Hide the names of the bidders | On | The history shows “Bidder 1”, “Bidder 2”… |
| Badge on the listing cards | On | Shows “Auction” and the time left on the result cards. |
| Share contact details at the end | On | The e-mails sent when an item is sold give the seller and the winner each other’s contact details. |
| Bids shown in the history | 10 | 0 hides the history. |
Selling by Auction
Logged-in sellers turn on Sell by auction in the posting form, then set a starting price, a duration and, optionally, a reserve price and a bid increment. The auction starts as soon as the listing is online (verified and, when the site requires it, reviewed).
Until the first bid, the seller can change the terms or withdraw the auction from My account → Auctions. After it, the terms and the price are locked and only an administrator can cancel the auction.
Automatic Bidding
Buyers must be logged in, and sellers cannot bid on their own auctions. A bidder enters a maximum. The price only rises as far as needed:
- the first bid opens at the starting price;
- a higher maximum takes the lead at the former leader’s maximum plus one increment (or at its own amount, if lower);
- a lower maximum leaves the leader in place, and the price rises to that maximum plus one increment;
- on a tie, the earlier bid wins.
Reserve Price
The amount stays secret until a bidder reaches it. As soon as the leader’s maximum covers it, the price moves up to the reserve. An auction that ends below its reserve is not sold.
Anti-Sniping
With the default settings, a bid placed in the last 5 minutes moves the end to 5 minutes after that bid. A leader who only raises their own maximum does not extend the auction.
End of an Auction
The auction is sold to the highest bidder when the reserve is met, and not sold otherwise. A listing that is archived or deleted during its auction cancels it. To sell again after the end, edit the listing and turn the auction back on: the former bids are then deleted.
Auctions List
Admin panel → Auctions lists every auction. Its page shows the terms, each bid with its maximum and IP address, and lets you cancel the auction or void a bidder: all that user’s bids are removed and the auction is worked out again from the remaining ones.
Permissions
admin.auction.view: see the auctionsadmin.auction.edit: cancel an auction, void a bidderadmin.auction.delete: delete an auction without standing bids
Notifications
The Auctions notification type covers, by e-mail and push: outbid bidder, winner, seller at the end of the auction, and bidders of a cancelled auction.
CLI & Scheduling
php artisan auctions:process starts the auctions whose listing went online and closes those whose time is up. The add-on schedules it every minute.
Custom Themes
The Default and Aurora themes are ready. A custom theme needs these three includes:
@includeWhen(addon_active('auctions') && view()->exists('auctions::form.auction'), 'auctions::form.auction', ['listing' => $listing ?? null, 'listingInput' => $listingInput ?? null])
@includeWhen(addon_active('auctions') && view()->exists('auctions::listing.widget'), 'auctions::listing.widget', ['listing' => $listing])
@includeWhen(addon_active('auctions') && view()->exists('auctions::badge'), 'auctions::badge', ['id' => data_get($listing, 'id')])
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/auctions/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 Auctions & Bidding is already installed, a prompt shows the installed version and the new one. Click Replace: the
extensions/addons/auctions/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/auctions/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 Auctions & Bidding 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/auctions/. 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 Auctions & Bidding (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 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/auctions/,public/vendor/auctions/andstorage/app/public/addons/auctions/; - deletes the add-on directory
extensions/addons/auctions/; - deletes its row in the
addonstable (the recorded purchase code goes with it) and clears the application cache.
The listings themselves are not changed: each one keeps the price its auction left it with.
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/auctions/. 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
Auctions do not end on time
- Check that the cron entry for
php artisan schedule:runexists, and runphp artisan auctions:processby hand. - When the queue is not
sync, a queue worker must be running for the notifications.
The auction block or the bidding panel does not appear
- The seller must be logged in, and Allow new auctions must be on.
- A custom theme must contain the includes listed in Custom Themes.
Auctions & Bidding v1.0.0 · LaraClassifier Add-on · by BeDigit