Delivery Hub documentation
Everything you need to install, set up and run your courier and parcel business: couriers and tracking, dispatch and pickups, drivers and fleet, invoices and cash on delivery, customers, reports, your own branded website, the Android and iPhone apps, and the AI tools.
Overview
Delivery Hub is a complete parcel and courier management system. Run it for your own company, or as a SaaS: courier companies sign up, pick a plan and manage couriers, drivers, invoices and customers in one place, with their data kept completely separate.
How the pieces fit together
| Part | What it is | Who uses it |
|---|---|---|
| Admin panel | The back office: customers, couriers, dispatch, drivers, invoices, reports and settings. | Super admin, owner, staff |
| Driver panel | "My jobs" in the browser, plus the Driver app: status updates with proof of delivery, cash on delivery, pickups and earnings. | Drivers |
| Customer panel | The customer's own view: couriers and their tracking history, pickups, invoices, wallet and support tickets. | Customers |
| Owner website | A public website per owner with parcel tracking, a price calculator, contact form and its own domain. | Visitors and customers |
| Mobile apps | Flutter apps for Android and iPhone: Delivery Hub Driver and Delivery Hub (customer). Sold separately as an add-on. | Drivers and customers |
| API | REST API (/api/v1) used by the apps, and signed webhooks for other systems. | Developers |

Quick-start checklist
- InstallCheck the requirements, create the database, upload the files and run the installer.
- Log in and secure the accountsUse the default logins once, then change every password.
- Set up the cron jobOne cron line keeps reminders, recurring invoices, pickups and webhooks running. See Background work.
- Set up your businessAdd branches, units, taxes, courier stages, types and pricing rules. See Setting up your business.
- Add peopleCreate customers, drivers and staff with roles.
- Book a first courierCreate a courier, assign a driver on the dispatch board and let the driver deliver it.
- Publish your websiteUse My Website to create the starter pages and publish. See Owner website.
Server requirements
Delivery Hub is built with Laravel. Make sure your hosting meets the following before you start.
- PHP
- 8.1 or newer (8.2 or 8.3 is fine)
- Database
- MySQL 5.7+ (8 recommended) or MariaDB 10.3+
- Web server
- Apache (with
mod_rewrite) or Nginx - HTTPS
- Strongly recommended. Required for the mobile apps, online payments and push notifications.
- Cron
- One cron line, see Background work
Required PHP extensions
Folders that must be writable
storage, bootstrap/cache and public/storage (uploads). The installer checks these too.
PHP upload limits
Proof-of-delivery photos and CSV imports are uploaded to the server. Set upload_max_filesize = 12M and post_max_size = 40M in php.ini if you plan to upload large files.
Create the database
The steps below use cPanel. Other hosting panels offer the same options under similar names.
- Open the database toolIn your hosting panel go to Databases and click MySQL® Databases.

- Create the databaseType a name and click Create Database. Your host adds a prefix to the name; write the full name down.

- Create a database userIn Add New User enter a user name and a strong password (use the generator) and click Create User.

- Add the user to the databaseIn Add User To Database choose the user and the database, then click Add.
- Give all privilegesTick ALL PRIVILEGES and click Make Changes.

localhost), database name, user name and password. The installer asks for them in step 5.Upload the files
Upload the contents of the main_file folder from your download to your web root.
- Open the File ManagerLog in to cPanel and open File Manager under Files.

- Go to the right folderFor your main domain this is
public_html. For a sub-domain or sub-folder, open that folder instead.
- Upload and extractClick Upload, choose the zip file, wait for 100%, then right-click it and choose Extract. Make sure the files from
main_file(including the hidden.htaccess) end up directly in the folder. - CheckYou should see
app,bootstrap,config,public,storage,artisanand the other Laravel folders.
documentation or the mobile app folders to the web root. They are for you, not for visitors.Run the installer
A web installer sets up the application in a few minutes.
- StartOpen
https://yourdomain.com/installin your browser. This starts the App Installation Process.
- Check the serverClick Click to Check Your Server Requirements. Everything should be ticked.

- Check permissionsThe installer checks the folder permissions. When all are fine, click Click to Configure Your App Environment.

- Choose the setup typeSelect Using Form Wizard Setup.

- Enter the detailsFill in the database host, database name, user name and password you noted earlier, plus the Application Name and Application Url (use
https://). Click Click to Install.
- FinishThe installer prepares the database. When you see Application has been successfully installed, click Click here to exit.

After installation
- Sign in and change passwordsSign in with the default logins and change each password under Settings → Password.
- Set the applicationUnder Settings set the application name, logo, favicon, copyright, email (SMTP) and the company details (name, currency symbol, time zone and number prefixes).
- Turn on HTTPSMake sure
APP_URLin.envstarts withhttps://. - Add the cron jobSee Background work.
- Test an emailCreate a customer or courier and check that the notification email arrives.
123456. Change them before you go live.Background work (cron job)
Reminders, recurring invoices, repeating pickups, subscription renewals and webhook retries run by themselves once the cron job is set up.
The scheduler
Add this single line in your hosting panel under Cron Jobs (every minute):
* * * * * php /path/to/your/site/artisan schedule:run >> /dev/null 2>&1
| Task | When | What it does |
|---|---|---|
| Courier reminder | Daily | Sends delivery reminders to customers. |
| Recurring invoices | Daily | Creates the invoices that are due. |
| Pickups | Daily, 00:30 | Creates the next pickup of repeating pickups. |
| Webhook retries | Every minute | Resends failed webhook deliveries. |
| Subscriptions | Daily | Renewal reminders, grace period and moving expired plans to the free plan. |
Alternative: the cron URL
If your host cannot run schedule:run, call /cronjob instead. Create the key under Settings → Cronjob Settings and send it as an X-Cron-Key header (the ?key= query still works). The page also shows when the cron last ran.
Default logins
Available after a fresh install with the demo data.
| Role | Password | |
|---|---|---|
| Super admin | superadmin@gmail.com | 123456 |
| Owner | owner@gmail.com | 123456 |
| Manager (staff) | manager@gmail.com | 123456 |
| Customer | customer@gmail.com | 123456 |
| Driver | driver@gmail.com | 123456 |
Roles and how it fits together
Everyone signs in on the same page and sees only the menus their role allows.
| Role | What they do |
|---|---|
| Super admin | Runs the platform: owners (customers of the SaaS), packages, coupons, transactions, subscription metrics, landing page CMS, system settings and the mobile app links. |
| Owner | Runs one courier business: everything below, limited by the plan. |
| Staff | Custom roles with permissions, optionally limited to one branch (they then see only that branch's couriers, invoices and expenses). |
| Driver | Sees only their own deliveries, pickups, cash and earnings. |
| Customer | Sees only their own couriers, invoices, wallet and tickets. |
The owner's menu
The menu is grouped by workflow:
- Home – Dashboard, Staff Management (Users, Roles, Logged History), Customer.
- Operations – Courier (Create, List, Kanban, Calendar, Scan, Import / Export), Dispatch (Dispatch Board, Pickups), Drivers & Fleet (Drivers, Fleet, Driver Earnings).
- Finance – Invoice, Expense, COD Reconciliation, Wallets, Reports.
- Customers & Support – Ticket (List, Kanban, Canned Replies), Contact Diary, Notice Board.
- Insights & Automation – Insights, AI Assistant, Webhooks, N8N.
- Website – My Website.
- System Configuration – General (Branch, Unit, Tax, Expense Type), Courier Setup (Stage, Type, Category, Tag), Price Rules (Distance, Weight, Dimension, Pricing Rules), Notifications (Email Templates, Delivery Log), System Settings.
Items for features that are not in the plan are hidden.
Roles and permissions
Under Staff Management → Roles create a role and tick what it may do. Permissions are grouped by area (couriers, customers, invoices, expenses, reports, tickets, AI, webhooks and more). Assign the role when you create or edit a user.

Staff limited to a branch
When you edit a user you can assign a branch. Staff with a branch see only that branch's couriers, invoices and expenses. The branch page lists the staff assigned to it.
Sign-in history and two-factor
Logged History lists who signed in and from where. Every user can turn on two-factor authentication under Settings; the apps support it too.
Setting up your business
Do this once, before you book couriers.
| Where | What to set |
|---|---|
| General → Branch | Your hubs and offices. Staff and couriers can belong to a branch; the branch details page shows its staff and performance. |
| General → Unit | Weight and dimension units (kg, cm and so on). |
| General → Tax | Tax names and rates used on invoices. Reports use each tax's current rate for invoices dated in the period. |
| General → Expense Type | Categories for expenses. |
| Courier Setup → Stage | The steps a courier goes through (for example Pending, Picked up, In transit, Out for delivery, Delivered). Order matters. |
| Courier Setup → Type, Category, Tag | How you classify couriers (Standard, Express and so on). |
| Price Rules | Distance, Weight, Dimension and Pricing Rules. See Pricing rules. |
| Notifications | Email templates and the delivery log. See Messages & automation. |
Workflow rules
Under Courier Setup → Stage you can limit which stage a courier may move to next. Leave a row empty to allow any move from that stage. A stage can also require a proof photo before a courier may enter it.
Customers and staff
The people who send parcels and the people who run the business.
- Customers – add a customer with name, email, phone and address. The customer details page shows their couriers, invoices, balance and wallet. Customers log in with their email to track couriers and pay invoices.
- Users – staff accounts with a role, optional branch and active / inactive switch.
- Statement – choose a customer to see their statement, balance and payments. A positive balance means the customer owes you money.
Couriers
A courier is one parcel (or a group of items) travelling from a sender to a receiver.

Book a courier
- CreateChoose Courier → Create. Pick the customer, branch, type, category, tags, pickup and delivery addresses and the delivery date.
- Add itemsEnter weight, dimensions and quantity. The price is calculated from your price rules and shown as a breakdown.
- Cash on deliveryEnter the COD amount if the receiver pays on delivery. Unusually high amounts are flagged.
- SaveAn invoice can be created from the courier, and the customer is notified by email.
List, Kanban and Calendar
Work in the view you like: the list (with filters and search), the Kanban board (drag a courier to another stage) or the calendar of delivery dates.

Courier details

The details page shows the parties, items and price breakdown, the delivery timeline, payments, documents, the driver and the tracking history. From here you can:
- Change the stage – the workflow rules decide what is allowed; some stages need a proof photo.
- Add tracking updates – the owner adds history entries that the customer sees with the tracking number.
- Print the waybill – a PDF label with barcode and QR code.
- Create a return – a return shipment to the sender (the sender needs an address on file).
- Assign a driver, mark COD as collected, and see the tracking page link.
Scan to update
Courier → Scan: scan or type a courier id, then press Enter, to update its status. The Driver app has the same scanner.
Import and export
Courier → Import / Export exports couriers to CSV and imports them from a CSV file. Customers must already exist (matched by email), and if any row is invalid nothing is imported.
Overdue and delivery time
A courier is open until it reaches a stage that contains "deliver". Couriers past their delivery date appear under Needs attention on the dashboard. The details page shows the estimated delivery and typical delivery time for the destination.
Dispatch and pickups
Decide who delivers what, and collect parcels from customers.
Dispatch board
Dispatch → Dispatch Board lists unassigned couriers. For each one the board suggests drivers, favouring drivers who know the area and have fewer open couriers. Click a suggestion to assign, or use Assign all to best match to assign every courier to its best suggestion.
Pickups
Customers (or you) request a pickup with an address, date and time window. Pickups can repeat every week or month. A driver is assigned, marks the pickup as picked up, and a pickup can be cancelled or the whole series stopped. The cron job creates the next repeat.
Drivers and fleet
Your delivery team, their vehicles and what you owe them.
- Drivers – name, phone, licence number and expiry (the Driver app warns when the licence is about to expire), vehicle and active switch. A driver login shows only the driver's own work.
- Fleet – vehicles with type, plate, make / model, capacity, odometer, insurance and registration expiry, and a maintenance log with the next service due. Expiring documents show under Needs attention.
Driver earnings and payouts

Set a commission per driver (a driver earns it each time one of their couriers reaches a Delivered stage). Driver Earnings shows earned, paid out and owed now (all-time earnings minus all-time payouts). Record a payout; it cannot exceed what is owed. A driver can also hold cash from COD: see Cash on delivery.
Pricing rules
Prices are worked out from rules you set, so staff and customers get the same answer.

- Distance, Weight and Dimension price rules – a price per range.
- Pricing Rules – extra rules by destination, zip or PIN prefix, city or zone, with an amount or a percentage (a percentage cannot exceed 100) and a priority.
- Price calculator – staff see a price preview while booking; the owner website offers a public calculator that shows an estimate. The final price is confirmed after the parcel is measured.
The invoice keeps the amounts it was created with even if you change the rules later.
Invoices and payments
Bill customers, take payments and keep the books straight.

- Invoices – create an invoice for a customer and their couriers, with tax. Download it as a PDF.
- Payments – record payments and partial payments (cash, bank transfer, card). A payment cannot be more than the amount due. Customers can also pay online (see the payment gateways in Settings).
- Credit notes and refunds – issue a credit note (it cannot exceed what is still outstanding) or refund an overpaid amount, optionally to the customer's wallet.
- Recurring invoices – repeat an invoice every week or month; the cron job creates them. You can stop the series at any time.
- Overdue – overdue invoices and the amount outstanding appear on the dashboard.
- Expenses – record expenses by type with an amount and date; they feed the income / expense reports.
Cash on delivery (COD)
Know where the cash is, from the door to your bank.

- Set the amountEnter the COD amount when booking the courier.
- The driver collectsThe driver marks the cash as collected in the Driver app or panel. It now counts as held by the driver.
- SettleUnder COD Reconciliation confirm that you received the cash from the driver and settle the amount. "Held now" is cash collected but not yet handed over, whatever the period.
The dashboard shows COD to collect and COD held by drivers.
Customer wallets
A prepaid balance for customers.
- Add funds to a customer's wallet (top-ups), and see every movement.
- Pay an invoice from the wallet, or refund to the wallet.
- Wallets shows the total held in all wallets. Customers see their balance in the panel and the app.
Reports and insights
A reports hub with 17 reports, and an Insights page that looks ahead.

- Operations – Courier status pipeline, Open courier ageing, Destinations & lanes, Branch performance, Driver performance and Delivery Performance.
- Finance – Revenue trend, Receivables ageing, Customer revenue, Customer statement, Profit & loss, Expense breakdown, Tax summary, Cash on delivery, Credit notes & refunds and Customer wallets.
- People & Support – Driver earnings and Support & satisfaction.
- Classic reports – Transaction History, Courier Summary and Income / Expense Summary.
- Subscription Metrics (super admin) – MRR, ARR, churn, paying owners by plan and newest organisations.
Use the filters (period, branch, customer), then export the table to CSV.

Insights and forecast

Insights shows the courier volume per week with a 4-week forecast (the average of the last 4 weeks), top destinations, the driver leaderboard, on-time rate and average delivery time.
Support tickets
Customers ask for help from their panel or the app, and you answer.

- Tickets in a list or Kanban board, with priority, assignee, a resolve-by time and a closed state.
- SLA – tickets that are at risk or breached are flagged and counted on the dashboard.
- Canned replies – save common answers and insert them while replying.
- Satisfaction – customers rate a ticket once it is resolved, and rate a courier delivery once it has arrived.
- AI reply drafts – see AI tools.
Contact diary, notice board and logs
- Contact Diary – an address book for your team.
- Notice Board – announcements that customers and drivers see in the panel and the apps.
- Delivery Log – every email, SMS and WhatsApp notification that was sent, with its status.
- Logged History – who signed in and when.
Dashboards
Each person starts on a page made for their job.
| Who | What the dashboard shows |
|---|---|
| Owner / staff | An AI summary (when AI is connected); delivered, on-time rate, average delivery time, net revenue and new bookings for 30 days compared with the last period; Needs attention (overdue couriers, expiring documents and more); Operations (unassigned couriers, open tickets, SLA breached, pickups today); Cash & receivables (outstanding and overdue invoices, COD held by drivers, COD to collect, customer wallets); top destinations; driver leaderboard; volume and forecast. |
| Driver | Open jobs, cash held and delivered today, with the jobs to deliver. |
| Customer | Amount due, wallet, open tickets and the couriers on the way. |
| Super admin | Owners and plans, plan revenue, plans about to expire and subscription metrics. |
Customer panel and tracking
Customers sign in on the same page and see their own world.
- My couriers – every parcel with its status and the full tracking history. Customers can also rate a delivery.
- Pickups – request a pickup and see it.
- Invoices – view, download and pay online or from the wallet.
- Wallet, tickets and notices.
Public tracking page
Anyone with a tracking number can see a parcel's status on the tracking page (and on the owner's website), without signing in. The page does not show the receiver's contact details, and it is rate limited. If the owner turns on the tracking assistant, visitors can also ask a chat box about their parcel; it sees only the status, with no names, phone numbers or addresses.
Owner website
Every owner (plan permitting) gets a branded website with parcel tracking and a price calculator. No coding needed.

Create your website
- Open itChoose Website → My Website and click Create my website. Starter pages (home, about, services, price calculator, contact) are created for you, ready to edit.
- Edit the pagesPick a page and add sections. A page can have at most 40 sections. See the list below.
- Set the menuEdit the header and footer links, with dropdowns.
- Choose the lookTheme, colour palette (the default matches the owner's green), logo and pictures.
- PublishSwitch Website is live on. Until then only the owner can see a preview.
Sections you can add
The website address
| Address | How it works |
|---|---|
https://your-app/s/<name> | Always works, with no DNS setup. This is also the owner's preview before publishing. |
<name>.your-domain.com | Free subdomain. Needs a wildcard DNS record *.your-domain.com and a wildcard certificate. |
| The owner's own domain | The owner adds a CNAME to your SITE_CNAME_TARGET and a TXT record _dh-verify.<domain>, then presses Verify. Only verified domains are served. |
/_sites/domain-check?token=SITE_ASK_TOKEN before issuing one. That route answers only for hosts that belong to a real site and need the token, so nobody can use your server to get certificates for arbitrary domains.{
on_demand_tls { ask https://APP_HOST/_sites/domain-check?token=SITE_ASK_TOKEN }
}
https:// {
tls { on_demand }
reverse_proxy APP_UPSTREAM
}
Plans and white-label
Plans control Website, Custom domain and White-label (hiding the "Powered by" credit). On a website host the platform's own routes (login, dashboard, API) are not reachable.
Messages and SEO
- Messages – the contact form inbox. Public forms use a honeypot, a signed timestamp and per-IP rate limits instead of a session.
- SEO – every page has its own title and description for search engines.
- Get our app – the section shows QR codes and store buttons once the super admin has saved the app links (see Mobile apps).
Mobile apps (add-on)
Android and iPhone apps for drivers and customers, built with Flutter. The apps are sold separately as an add-on; the API they use is included in Delivery Hub.

Signing in
People sign in with the same email and password as on the website, with two-factor if they use it. There is no company code: the app takes the company name, colour, logo and welcome text from the account. Only customers and drivers can sign in; owners and staff use the website.
Branding — no new build needed
Owners edit Settings → Branding & Mobile App: app name, main colour, logo, sign-in welcome text, support contact and which screens customers see. Changes appear the next time the app opens.
How customers get the app
- The super admin saves the store linksUnder Settings → Mobile Apps (https links of the live Google Play and App Store pages of the customer and driver apps). Leave a link empty until that app is published.
- The smart link
/get-app/customerand/get-app/driversend Android to Google Play and iPhone to the App Store; a computer gets a page with both buttons and a QR code. It answers 404 until a link is set. - Every owner's websiteShows a Get our app section with QR codes and store buttons. The owner sees a note until the links exist.
Offline queue
Driver actions are never lost to a bad signal. With no connection they are saved on the phone, shown as "waiting to be sent" and sent automatically, each with its own id so nothing is done twice. Lists already opened stay readable with a notice.
Card payments
The customer app pays invoices with the Stripe payment sheet or Razorpay checkout, whichever the company switched on. The server verifies every payment with the gateway before recording it. Wallet and bank transfer work too.
Build and publish the apps
The add-on package contains four Flutter projects (driver and customer, Android and iPhone) and full documentation for each platform.
- Install FlutterFlutter 3.47 or newer. iPhone builds need a Mac with Xcode.
- Point the app at your websiteThe address is set when you run or build, with
API_BASE_URL:flutter run --dart-define=API_BASE_URL=https://your-domain.com/api/v1 - Build the release
flutter build appbundle --release --dart-define=API_BASE_URL=https://your-domain.com/api/v1 # Google Play flutter build ipa --release --dart-define=API_BASE_URL=https://your-domain.com/api/v1 # App Store - PublishReplace the app ids, icons and the Android signing key with your own, add a privacy-policy URL and submit to the stores. The apps already offer in-app account deletion, which both stores require.
- Save the live linksAdd them under Settings → Mobile Apps so every owner website shows the QR codes.
https:// website address. Plain http:// works in debug builds.Push notifications (optional)
The server sends push notifications for shipment, job, pickup, ticket and payment events. Set FCM_CREDENTIALS in .env, create a Firebase project, add the Android and iOS apps and put google-services.json and GoogleService-Info.plist in the app projects. Without them the apps run normally and simply do not receive pushes.
AI tools
AI features that save time. They work with the AI service each owner connects.

- AI summary on the dashboard – a plain-language briefing of the last 30 days: what changed, what needs attention and what to do next.
- AI Assistant – ask about your couriers and invoices ("Which couriers are late? How many are in transit?").
- Ticket reply drafts – suggest a reply to a customer.
- Address parsing – auto-fill an address from pasted text.
- Tracking assistant – an optional chat box on the public tracking page (it sees only a parcel's status).
Connect your AI service (owner)
- Open AI SettingsSettings → AI Settings (providers, keys and limits).
- Add a provider and keyChoose Anthropic Claude, Google Gemini, Mistral, DeepSeek, Groq, xAI Grok, OpenRouter or any OpenAI-compatible endpoint (give the endpoint base URL and a model name). The key is stored encrypted and never shown again.
- Test and switch onPress Test connection, make it the active provider and switch AI on.
AI and plans
Each plan decides whether AI is included, which providers are allowed, the monthly request limit (0 = the platform default, AI_MONTHLY_LIMIT) and whether the platform's own key may be used. The page shows the owner's usage this month. OpenAI is available through the OpenAI-compatible endpoint.
Messages and automation
Email, SMS and WhatsApp templates

Notifications → Email Templates lists every notification (new courier, status update, invoice, payment, ticket and more). Each has an email template and, when enabled, SMS (Twilio) and WhatsApp templates. Turn individual notifications on or off. The Delivery Log shows what was sent.
Reminders
The cron job sends delivery reminders to customers automatically (see Background work).
Webhooks
Insights & Automation → Webhooks: add up to 10 endpoints and choose the events (courier created, courier status changed, invoice created, invoice paid). We POST JSON to your URL. Verify the X-Webhook-Signature header: sha256 = HMAC-SHA256(secret, timestamp + "." + body), and use X-Webhook-Id to ignore duplicates. The signing secret is shown only once. Failed deliveries are retried by the scheduler; you can send a test or resend a delivery. URLs that point to private or internal addresses are blocked.
N8N
Insights & Automation → N8N: create a template per event (create user, create customer, create driver, new courier, assign user, assign driver, courier notification, update status, new invoice, new payment, new ticket, ticket assignment, ticket reply) with your n8n webhook URL and method, and switch it on. Plans can turn N8N on or off.
Settings and integrations

| Tab | What it holds |
|---|---|
| User Profile / Password | Your name, email, phone and password. |
| General | Application name, logos, favicon, copyright, owner email verification, registration page, landing page and pricing feature switches. |
| Company | Company name, email, phone, address, currency symbol, time zone and the number prefixes (customer, courier, invoice, expense, ticket). |
| SMTP settings for sending email. | |
| Payment | Bank transfer, PayPal, Stripe, Flutterwave, Paystack and Razorpay keys. |
| Site SEO / Google Recaptcha | Meta tags and reCAPTCHA keys. |
| 2 Factors Authentication | Switch two-factor on for your account. |
| Twilio | SMS and WhatsApp sending. |
| AI Settings | Providers, keys and limits. See AI tools. |
| Branding & Mobile App | App name, colour, logo and welcome text for the apps (owner). |
| Mobile Apps | Live app download links (super admin). |
| Cronjob Settings | The cron key and the last run time. |
Payment gateways
Used for subscription plans and for customer invoices. Fill in the keys of the gateways you want and switch them on. The server verifies every payment with the gateway (a payment is credited once per gateway transaction, and the amount and currency must match). Customers can also upload a bank-transfer receipt, which the company confirms.
Languages and themes
- 12 languages – Arabic, Danish, Dutch, English, French, German, Italian, Japanese, Polish, Portuguese, Russian and Spanish, with RTL support. Each user picks a language. Language files are JSON files in
resources/lang(the key is the English text); add or edit a translation there. - Themes – multiple theme colours with a colour picker, light and dark mode, and several font styles.
API
A REST API at {APP_URL}/api/v1 serves the mobile apps and your own tools.
- Sign-in –
POST /auth/loginreturns a token (validAPI_TOKEN_DAYSdays, default 90). Two-factor, lockout after repeated wrong passwords and role scoping are built in. Only customers and drivers can sign in. - Customer – home, shipments (with the driver's live position), pickups, invoices (PDF, wallet, bank transfer, Stripe and Razorpay), tickets, wallet, price estimate, saved addresses, notices and public tracking.
- Driver – home, jobs, status with proof of delivery, barcode scan, cash on delivery, pickups, earnings and live location.
- Reference –
docs/API.mdand the machine-readabledocs/openapi.json(a test keeps it in step with the routes).
Webhooks (see Messages & automation) push events to other systems.
SaaS administration
For the super admin who sells Delivery Hub as a service.

- Customers – the owners (your SaaS customers): add, edit, switch off and impersonate (sign in as an owner to help). A subscription metrics page shows MRR, ARR, churn and paying owners.
- Packages – plans (monthly, quarterly, yearly) with limits and features: users, customers, couriers, AI (with a monthly limit), website, custom domain, white-label, N8N and more. A plan can be free.
- Pricing features – switch plan-based features on or off for the whole platform.
- Coupons – discount coupons with a use limit, plus the coupon history.
- Transactions – every subscription payment, including bank transfers you approve.
- Subscription lifecycle – renewal reminders before a plan expires, a grace period of
SUBSCRIPTION_GRACE_DAYSdays (default 3) with full access after expiry, then the account moves to the free plan. The owner sees a banner in each state. - Landing page CMS – edit the home page, custom pages, FAQ, footer and auth pages; switch the landing page and the register page on or off.
- Owner email verification – can be switched on or off.
- Mobile Apps – save the live app links under Settings.
Upgrading
- Back upCopy your
.envfile, your.htaccessfile and thestoragefolder. Also back up any language files you changed (resources/lang), because the new version replaces them. - Replace the filesUpload and replace everything on your server with the contents of the
main_filefolder of the new version. Changes you made to core files will be lost. - RestorePut your
.env,.htaccessandstorageback. - Update the databaseSign in and follow the update wizard, or run
php artisan migrate. - Clear cachesRun
php artisan optimize:clearif something looks stale.
Going live checklist
- HTTPS is on and
APP_URLuses it. APP_ENV=productionandAPP_DEBUG=falsein.env.- All demo passwords changed; two-factor on for the super admin.
- The cron job runs every minute.
- Email (SMTP) works: send a test.
- Payment gateway keys are the live ones.
- If you sell websites: wildcard DNS and certificates,
SITE_BASE_DOMAIN,SITE_CNAME_TARGETandSITE_ASK_TOKENare set. - If you use the apps: the store links are saved and
FCM_CREDENTIALSis set for push. - Backups of the database and
storagerun automatically. - The
.envfile is not reachable from the web.
Troubleshooting and FAQ
| Problem | What to check |
|---|---|
| White page or error 500 | Look at storage/logs/laravel.log. Check that storage and bootstrap/cache are writable by the web server user. |
| Installer shows a red cross | Install the missing PHP extension or fix the folder permission it names. |
| Emails are not sent | Test the SMTP settings. Check the Delivery Log and that the notification is switched on. |
| Reminders and recurring invoices do not run | The cron job is missing. See Background work. |
| PDF features fail with "dompdf.wrapper does not exist" | Run php artisan package:discover once. |
| A user cannot see a menu | Check the role's permissions and the plan; items for features that are not in the plan are hidden. |
| The owner website says "not available" | The owner has no website, it is not published, or the plan does not include it. |
| Custom domain stays "Waiting for DNS" | DNS changes can take a while. Check the CNAME and the TXT record, then press Verify again. |
| AI says it is not set up | Add a provider and key under AI Settings, switch it on, and check that the plan includes AI and the monthly limit is not reached. |
| A reminder or webhook is late | Webhooks are retried every minute by the scheduler; check the cron job. |
| The mobile app cannot connect | Check API_BASE_URL ends in /api/v1, the site is on HTTPS, and open /api/v1/ping in a browser. |
FAQ
Is "Out for delivery" counted as delivered?
No. A courier counts as delivered only at a stage whose title contains "deliver" that is not "Out for delivery".
Can an owner see another owner's data?
No. Every record is scoped to its owner, and lookups by id for someone else's record return "not found".
Can I rename the courier stages?
Yes. Keep one stage whose title contains "Deliver" for the finished state.
Do I need the mobile apps?
No. The website and the driver and customer panels work in any browser. The apps are an optional add-on.
Which AI services can I use?
Anthropic Claude, Google Gemini, Mistral, DeepSeek, Groq, xAI Grok, OpenRouter or any OpenAI-compatible endpoint.
Environment variables
Optional settings in the .env file.
| Variable | Default | Meaning |
|---|---|---|
AI_MONTHLY_LIMIT | 500 | Default AI requests per owner per month (0 = unlimited). A plan can override it. |
SITE_BASE_DOMAIN | host of APP_URL | Owners' free subdomains are <name>.<this>. |
SITE_CNAME_TARGET | sites.<base domain> | What owners point their custom domain's CNAME at. |
SITE_ASK_TOKEN | – | Shared secret for the reverse proxy's certificate check. |
SUBSCRIPTION_GRACE_DAYS | 3 | Days of full access after a plan expires. |
API_TOKEN_DAYS | 90 | How long a mobile sign-in stays valid. |
FCM_CREDENTIALS | – | Firebase service-account credentials for push notifications. |
Change log
What changed, newest first.
Version 1.7 – 24 November 2026
- Owner websites with a section editor, menu editor, SEO, free subdomain and custom domains, parcel tracking, a price calculator and "Get our app".
- Dispatch board with suggested drivers, stage workflow rules with proof photo, scan-to-update, waybill PDF, returns, CSV import / export and pickup requests.
- Pricing engine, credit notes and refunds, recurring invoices, PDF invoices, customer wallets, COD reconciliation and driver earnings and payouts.
- Reports hub with 17 reports, insights with a forecast, and new dashboards for every role.
- AI summary, AI assistant, ticket reply drafts, address parsing and a tracking assistant, with Claude, Gemini, Mistral, DeepSeek, Groq, Grok, OpenRouter and OpenAI-compatible providers.
- Webhooks with signing and retries, notification log, SLA and canned replies, per-branch staff restriction and fleet management.
- Subscription lifecycle (reminders, grace period) and subscription metrics (MRR, ARR, churn).
- REST API v1 for the Driver and Customer apps (apps sold as an add-on), branding settings and the Mobile Apps console.
- All screens translated into 12 languages.
- Security: tenant scoping on lookups, super admin role protection, SSRF-safe webhooks, idempotent payments and coupon fixes.
Version 1.6 – 24 June 2026
- WhatsApp notifications, Razorpay payments, automatic delivery reminders (cron) and a refreshed UI for the dashboard, customer and courier modules.
Version 1.5 – 20 March 2026
- n8n integration and AI integration; small improvements in the customer and courier modules.
Version 1.4 – 23 August 2025
- Customer and driver dashboards, Twilio SMS templates and sending, support tickets, reports and Paystack payments.
Version 1.3 – 8 April 2025
- UI improvement, dynamic landing page CMS, pricing features on / off, two-factor authentication, impersonate, custom colour picker.
Version 1.2 – 21 December 2024
- Email notification on / off, owner email verification on / off and email notification templates.
Version 1.1 – 1 October 2024
- Tracking history (owners add updates; customers see them with a tracking number).
Version 1.0 – 24 September 2024
- Initial release.
Support
Stuck? We are happy to help.
Open a ticket at support.smartwebinfotech.com. Please include your purchase code, the page you were on, what you expected and what happened, and, if you can, the last lines of storage/logs/laravel.log.
