Servizify Documentation
On-Demand Multi-Provider Home Service Marketplace Platform
Introduction
Quick Start (5 Steps)
The shortest path from download to a working platform. Each step links to its full guide.
- Install the backendInstall the PHP and JavaScript packages, build the admin assets and create
.env. - Set up the databaseEnter
APP_URL, the database and the first admin in.env, then migrate and seed. - Start the background jobsAdd the scheduler cron line and a queue worker, so push, email and timeouts run.
- Configure the admin panelSign in at
/admin, set the currency and time zone, draw a zone and add services. - Connect the appsSet
API_BASE_URLin each app'sassets/.envand run it.
# Steps 1 and 2, in servizify_backend/
composer install --no-dev --optimize-autoloader
npm install && npm run build
cp .env.example .env && php artisan key:generate
# edit .env: APP_URL, DB_DATABASE, DB_USERNAME, DB_PASSWORD, SERVIZIFY_ADMIN_EMAIL, SERVIZIFY_ADMIN_PASSWORD
php artisan migrate --seed && php artisan storage:link
# Step 5, in each app folder (servizify_customer/, servizify_provider/, servizify_serviceman/)
cp assets/.env.example assets/.env # then set API_BASE_URL=https://YOUR-DOMAIN/api/v1
flutter pub get && flutter run
Push notifications, phone sign-in by SMS or Firebase, voice calls, email and online payments are optional and can be added later from Admin → Settings: see Push & External Services and Payment Gateways.
What is Servizify?
Servizify connects customers needing doorstep home services (AC repair, plumbing, electrical, cleaning, appliance repair, beauty & wellness) with verified local businesses (Providers) and their field technicians (Servicemen). The entire platform is managed through a centralized Super Admin control center.
| Component | Technology Stack | Primary Role & Users |
|---|---|---|
| Backend & Admin Panel | Laravel 13, Blade, Tailwind CSS, Alpine.js, MySQL / MariaDB | Central platform operations: Super Admin, Operations, Finance, Support. Manages catalog, geofencing, KYC, provider commission dues, audit logs, and settings. |
| Customer Mobile App | Flutter 3.x, GetX Architecture, Dio, Agora RTC | End users browse verified providers, book services, compare pros, chat, call in the app, track visits, and pay the provider in cash on site. |
| Provider Partner App | Flutter 3.x, GetX Architecture, Dio, Agora RTC | Business owners manage incoming bookings, configure working hours/slots, manage service prices, dispatch servicemen, and pay commission dues online. |
| Serviceman Pro App | Flutter 3.x, GetX Architecture, Dio, Geolocator | Field technicians receive assigned jobs, share real-time GPS location from on the way until the job is completed, submit on-site extra charges, collect digital customer signatures, and handle cash collection. |
Architecture at a Glance
One Laravel backend serves the admin panel and the REST API. The three apps talk only to that API, over HTTPS with a Sanctum bearer token. Everything in the dashed boxes is optional and switched on from Admin → Settings.
What's in the Package
When you download the Servizify package, the files are structured into clean, isolated directories:
Servizify/
βββ servizify_backend/ # Laravel 13 API and Blade admin panel
βββ servizify_customer/ # Flutter application for Customers (iOS & Android)
βββ servizify_provider/ # Flutter application for Service Providers (iOS & Android)
βββ servizify_serviceman/ # Flutter application for Field Technicians (iOS & Android)
βββ documentation/ # Offline-first HTML documentation
βββ index.html
βββ assets/
βββ logo.svg
System Requirements
- Server & Hosting:
- PHP Version: PHP 8.3 or newer (tested on PHP 8.3, 8.4, and 8.5).
- Required PHP Extensions:
pdo_mysql,mbstring,openssl,fileinfo,bcmath,curl,tokenizer,xml. - Database: MySQL 8.0+ or MariaDB 10.6+.
- Web Server: Nginx or Apache with document root pointed directly to the
public/folder. - Build Tools (Installation only): Composer 2.x and Node.js 20.19+ or 22.12+ (with npm; Vite 8 needs it).
- Background Services: System Cron (for task scheduling) and Supervisor (for async queue workers).
- Mobile App Build Tools:
- Flutter SDK 3.x (Dart 3.x).
- Android: Android Studio, Gradle 9.x, Android SDK 36 installed. The apps use
compileSdk 36,targetSdk 36andminSdk 24(Android 7.0+). - iOS: macOS with Xcode 16+, CocoaPods 1.14+. Requires iOS 15.0 or newer.
Demo Instructions & Testing
First Admin Account & Demo Accounts
The first Super Admin
Servizify ships with no default admin password. The first Super Admin is created by the seeder from three keys in your .env. Set them before you run php artisan migrate --seed:
SERVIZIFY_ADMIN_NAME="Super Admin"
SERVIZIFY_ADMIN_EMAIL=you@yourdomain.com
SERVIZIFY_ADMIN_PASSWORD=choose-a-long-unique-password
- If
SERVIZIFY_ADMIN_PASSWORDis empty, seeding stops with the error "Set SERVIZIFY_ADMIN_PASSWORD in .env before seeding the first admin." and no admin is created. Set the password and runphp artisan db:seedagain. - If an admin with that email already exists (including a deleted one), the seeder leaves it alone, so re-running the seeders never resets a password.
- If you leave out the name or email, they default to
Super Adminandadmin@example.com. - Sign in at
/admin/login, change the password from your profile, and then removeSERVIZIFY_ADMIN_PASSWORDfrom.env. Add other staff in Admin → Admins & Roles with the roles described in Roles & Permissions.
Optional demo accounts
The default seeders create no customers, providers or servicemen. For local testing or a live demo you can add a sample catalog (New York with four zones, categories, services, approved providers with prices in US dollars, a serviceman, and reviews on completed bookings) with:
php artisan db:seed --class=DemoCatalogSeeder
With APP_ENV=production it refuses to run unless SERVIZIFY_ALLOW_DEMO_DATA=true is set in .env (add --force to the command); use that only on a public live demo. It also runs when demo mode is on. It runs once and stops if the demo city already exists. It sets the platform time zone to America/New_York and creates these accounts, all with the password password:
| Application | Accounts | Sign-in | State |
|---|---|---|---|
| Provider App | provider1@demo.servizify.test … provider5@demo.servizify.test (phones +12125550121 … +12125550125) |
Email + password, or a phone sign-in code | Approved, online, with zones, service prices and add-on prices. |
| Customer App | customer1@demo.servizify.test … customer3@demo.servizify.test |
Email + password | Each has completed, reviewed demo bookings. |
| Serviceman App | Daniel Lee, phone +12125550147, on the CoolAir Pro Masters team |
Phone sign-in code (123456 in demo mode) |
Approved, joined and active, so the provider can assign jobs to him. |
No demo admin is created. For sample data in Bangladeshi taka instead (Dhaka with Dhanmondi, Gulshan, Mirpur and Uttara, phones +88017000000x), set SERVIZIFY_DEMO_REGION=dhaka before seeding; it also sets the currency to BDT. The demo prices are plain sample figures; edit or remove them before going live.
Read-Only Live Demo Mode
For a public demo server, set these in .env and seed the demo catalog:
SERVIZIFY_DEMO_MODE=true
SERVIZIFY_DEMO_REGION=new_york # or dhaka
With demo mode on:
- The admin panel is read-only. Every page opens, but saving, deleting or approving shows “This is a live demo, so this change is switched off.” Only sign-in, sign-out and the panel language work. A banner on every page says so.
- The shared app accounts keep their identity. Name, photo, password, business details, team members and account deletion cannot be changed. Bookings, chat, reviews and new sign-ups still work, so visitors can try the full booking flow.
- Every phone sign-in code is
123456and nothing is sent by SMS, so visitors can sign in to all three apps, including the Serviceman app. - The data resets every hour. The scheduler runs
php artisan servizify:reset-demo, which wipes the database and seeds it again, so the cron line in Task Scheduler must be set up. The command refuses to run unless demo mode is on.
Publish an admin login for the demo by setting SERVIZIFY_ADMIN_EMAIL and SERVIZIFY_ADMIN_PASSWORD on the demo server to values used nowhere else.
Zero-Cost Testing Mode
Super Admin → OTP, SMS & Sign-in, set Send sign-in codes with to Server log only. Each 6-digit sign-in code is then written to storage/logs/laravel.log instead of being sent by SMS, so you can test phone sign-in without buying SMS credits. This option is offered only when APP_ENV is not production, and a production server refuses to send codes this way even if it was saved while testing, so codes never end up in a live server's log. There is no fixed “master” code.
Seeding & Database Reset
To wipe a development database and start again (this deletes all data), run:
php artisan migrate:fresh --seed
php artisan db:seed --class=DemoCatalogSeeder # optional sample data
On a demo server with demo mode on, php artisan servizify:reset-demo does both in one step.
The default seeders (roles and permissions, first admin, languages, settings, notification templates, pages) are idempotent: you can run php artisan db:seed again after an update to add new permissions or settings without overwriting your operational data or the values you changed in Settings.
Backend & Admin Installation
Standard VPS / Local Installation
Follow these standard shell commands on your server or local computer:
# 1. Navigate to the backend directory
cd servizify_backend
# 2. Install PHP production dependencies
composer install --no-dev --optimize-autoloader
# 3. Create your runtime environment configuration
cp .env.example .env
# 4. Generate application encryption key (used for encrypting gateway secrets)
php artisan key:generate
# 5. Open .env in your text editor and set APP_URL, your DB credentials and the first admin:
# APP_URL=https://marketplace.yourdomain.com
# DB_DATABASE=servizify
# DB_USERNAME=your_db_user
# DB_PASSWORD=your_db_password
# SERVIZIFY_ADMIN_EMAIL=you@yourdomain.com
# SERVIZIFY_ADMIN_PASSWORD=choose-a-long-unique-password
# 6. Execute database schema migrations and initial seeders (creates the first Super Admin)
php artisan migrate --seed
# 7. Create the public storage symbolic link for uploads (logos, avatars, attachments)
php artisan storage:link
# 8. Compile the Tailwind CSS 4 and Alpine.js frontend admin bundle
npm install && npm run build
# 9. Start your development server (or configure Nginx/Apache for production)
php artisan serve --port=8001
LOG_LEVEL=debug while you use the log mailer or Server log only sign-in codes, because both are written to the log. Once SMTP and SMS (or Firebase) are set up, change it to LOG_LEVEL=warning.Production defaults:
.env.example ships with APP_ENV=production and APP_DEBUG=false, so error details are never shown to visitors. On a local development machine you may set APP_ENV=local and APP_DEBUG=true; never do this on a public server. See First Admin Account for what the seeder does with the SERVIZIFY_ADMIN_* keys.CORS: the mobile apps are native and need no CORS, so
CORS_ALLOWED_ORIGINS is empty and no browser site can call the API. If you build a web front end, list its origins, comma-separated: CORS_ALLOWED_ORIGINS=https://app.yourdomain.com, then run php artisan config:clear.

.env.example to .env, then set the site URL, the database and the first Super Admin.


cPanel & Shared Hosting Guide
- Upload Source: On your local machine, run
composer install --no-devandnpm run build. Zip theservizify_backendfolder and upload it to your cPanel File Manager outside ofpublic_html(e.g. at/home/<cpanel-user>/servizify_backend, where<cpanel-user>is your cPanel username). - Document Root: In cPanel Domains, edit your domain's Document Root to point directly to
/home/<cpanel-user>/servizify_backend/public. Never point the web root to the parent folder! - Database Creation: Go to cPanel MySQL Databases, create a database and user, grant ALL PRIVILEGES, and enter these credentials into
.env. In the same file setAPP_URL,SERVIZIFY_ADMIN_EMAILandSERVIZIFY_ADMIN_PASSWORD, then runphp artisan key:generate. - Run Migrations: In cPanel Terminal (or via SSH), run:
If your hosting disables terminal symlinks, create a PHP filephp artisan migrate --seed php artisan storage:linkpublic/symlink.phpcontainingsymlink('../storage/app/public', 'storage');and visit it once in your browser. - Permissions: Ensure
storage/andbootstrap/cache/permissions are set to775. - Cron Jobs: Shared hosting has no Supervisor, so cron runs both the scheduler and the queue. In cPanel Cron Jobs, add two jobs with the Once Per Minute setting:
cd /home/<cpanel-user>/servizify_backend && <php-path> artisan schedule:run >> /dev/null 2>&1 cd /home/<cpanel-user>/servizify_backend && <php-path> artisan queue:work database --stop-when-empty --max-time=55 >> /dev/null 2>&1
The second job processes push notifications, emails and SMS and stops before the next minute starts, so two workers never overlap.Placeholder Replace with Example <cpanel-user>Your cPanel username, shown in the top-right of cPanel. acme<php-path>The PHP 8.3+ binary. Run which phpin the cPanel Terminal, or ask your host; plainphpis often an older version./usr/local/bin/phpor/opt/cpanel/ea-php83/root/usr/bin/php
Nginx & Apache Web Server Configuration
Recommended Nginx Configuration
server {
listen 80;
listen [::]:80;
server_name marketplace.yourdomain.com;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name marketplace.yourdomain.com;
root /var/www/servizify/servizify_backend/public;
ssl_certificate /etc/letsencrypt/live/marketplace.yourdomain.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/marketplace.yourdomain.com/privkey.pem;
add_header X-Frame-Options "SAMEORIGIN";
add_header X-Content-Type-Options "nosniff";
add_header X-XSS-Protection "1; mode=block";
index index.php;
charset utf-8;
# Allow up to 10MB file uploads (KYC docs, job photos)
client_max_body_size 10M;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }
error_page 404 /index.php;
location ~ \.php$ {
fastcgi_pass unix:/var/run/php/php8.3-fpm.sock;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
include fastcgi_params;
fastcgi_hide_header X-Powered-By;
}
location ~ /\.(?!well-known).* {
deny all;
}
}
Task Scheduler (System Cron)
Servizify relies on Laravel's task scheduler to run automated platform operations. Add this single cron entry to your server with crontab -e (as the web server user, e.g. sudo crontab -u www-data -e):
* * * * * cd <backend-path> && <php-path> artisan schedule:run >> /dev/null 2>&1
* * * * *: every minute. Keep it as is; the scheduler decides what is due.<backend-path>: the full path of theservizify_backendfolder, for example/var/www/servizify/servizify_backend.<php-path>: the PHP 8.3+ binary, usuallyphpon a VPS; check withphp -v. If several versions are installed, use the full path, for example/usr/bin/php8.3.
On shared hosting, see the cPanel guide for the two cron lines that replace Supervisor.
Scheduled Background Jobs:
| Command | Frequency | Functionality |
|---|---|---|
servizify:expire-payments | Every minute | Expires online payments for provider dues and memberships that were started but never completed. |
servizify:expire-bookings | Every minute | Closes bookings not accepted by providers within the timeout limit (default 15 mins). |
servizify:expire-calls | Every minute | Cleans up unanswered ringing calls (45s timeout) and enforces maximum call length limits. |
servizify:send-campaigns | Every minute | Dispatches scheduled marketing push notification campaigns in batched chunks. |
servizify:generate-recurring-bookings | Hourly | Generates upcoming visit instances for weekly/monthly recurring series a few days in advance. |
servizify:remind-memberships | Hourly | Sends push notifications and inbox reminders 3 days before a customer membership expires. |
servizify:reset-demo | Hourly, demo mode only | Wipes the database and seeds the demo data again on a live demo server. |
servizify:process-account-deletions | Daily | Permanently cleans personal data, KYC documents, and tokens for accounts past the 30-day grace period. |
Queue Worker (Supervisor Configuration)
FCM push notifications, transactional emails, and SMS dispatches are processed asynchronously through Laravel's database queue. Install Supervisor to keep queue workers running in the background:
# /etc/supervisor/conf.d/servizify-worker.conf
[program:servizify-worker]
process_name=%(program_name)s_%(process_num)02d
command=php /var/www/servizify/servizify_backend/artisan queue:work database --sleep=3 --tries=3 --max-time=3600
autostart=true
autorestart=true
user=www-data
numprocs=2
redirect_stderr=true
stdout_logfile=/var/www/servizify/servizify_backend/storage/logs/worker.log
stopwaitsecs=3600
Activate the worker with: sudo supervisorctl reread && sudo supervisorctl update && sudo supervisorctl start all.
Admin Panel Modules

Roles & Permissions (RBAC)
Servizify features enterprise-grade Role-Based Access Control (RBAC). The platform includes 4 built-in system roles and allows Super Admins to create custom administrative roles with granular capability sets across 30 distinct modules.
| Role | Access Level | Permissions Granted |
|---|---|---|
| Super Admin | Full Unrestricted | All modules, settings, SMS/voice keys, payment gateways, activity logs, and admin account management. |
| Operations | Day-to-day fulfillment | providers.*, servicemen.*, kyc.*, bookings.*, zones.*, categories.*, services.*, disputes.*, warranty_claims.*, sos.*, reviews.*, surge.*, banners.*. |
| Finance | Money & Commission Dues | wallet.* (provider dues), payments.*, commissions.*, coupons.*, referrals.*, subscriptions.*, reports.*. |
| Support | Customer Experience | support_tickets.*, customers.*, disputes.view, warranty_claims.view, sos.*, account_deletions.*, cms.*. |

Branding & Dynamic Theming
GET /api/v1/config endpoint!
- Primary Brand Color: Default
#0f62fe. Controls primary action buttons, selected tabs, and brand banners. - Secondary Color: Default
#00bfa6. Controls badges, verified chips, and accent indicators. Accessible contrast is automatically preserved across dark/light surfaces viaReadableColor. - Accent Color: Default
#ff6b00. Highlights special offers, badges, and discounts. - White-Label App Names: Configure independent public names for the Customer App ("Servizify"), Provider App ("Servizify Partner"), and Serviceman App ("Servizify Pro").

Languages & Currencies
- 5 Pre-built Languages: English (
en), Bengali (bn), Arabic (ar- Full RTL Layout), Spanish (es), and French (fr). Admins can set the platform default and edit any translation key directly inlang/{code}.json. - Currency & Time Zone: A fresh installation uses
USDandUTC. Change both in Admin → Settings → Currency & region: the currency ISO code (e.g.USD,EUR,INR,BDT), its symbol, the symbol position (before or after the amount), and the platform time zone used for booking slots, reports and invoices. Choose the currency before the first booking: all amounts are stored in integer minor units (cents, paisa) of that currency, which avoids floating-point rounding errors. - Gateways follow the currency: payment gateways that cannot charge the platform currency are hidden from the apps. bKash and Nagad work only with
BDT; see Payment Gateways for each gateway's currencies.


Audit Trail & Activity Logs
Every critical action across the admin panel is written to an append-only activity_logs table. Logs record the acting administrator, IP address, user agent, target entity, action, and full before/after JSON diffs. The ledger supports streaming CSV export with built-in spreadsheet formula injection protection (neutralizing =, +, -, @ prefixes).
Service Areas & Catalog
Leaflet Polygon Geofencing
Servizify uses vector polygon boundaries rather than arbitrary radius circles to determine service coverage. An address is served only if it falls within an active drawn zone.
- Interactive Drawing Tool: In Admin → Service Areas → Zones, administrators draw multi-point polygons on an interactive Leaflet map. Click to place vertices, drag to adjust borders, and click a vertex to remove it.
- Bounding Box Optimization: The database caches minimum/maximum latitude and longitude bounding boxes for every zone polygon. Point-in-polygon queries (
Zone::containing($lat, $lng)) execute in under 2 milliseconds. - Multi-Zone Assignment: Providers can choose multiple zones they operate in. At checkout, the customer's delivery coordinates match against active zones, ensuring providers only receive jobs in their territory.
https://tile.openstreetmap.org/{z}/{x}/{y}.png. OpenStreetMap's own tile servers are for light use only under the OSM Tile Usage Policy. For a production installation, use your own tile server or a commercial tile provider and enter its URL (it must contain {z}, {x} and {y}) in Admin → Settings → Maps → Map tiles URL (map.tile_url), together with the attribution your provider requires. The apps receive the new URL from GET /api/v1/config. Keep the “© OpenStreetMap contributors” credit when you use OSM data.


Categories & Master Services
- Two-Level Hierarchy: Top-level Categories (e.g. Home Cleaning, AC Repair) and child Subcategories (e.g. AC Servicing, AC Gas Refill). Includes icons, banners, and featured toggles.
- Warranty Rules: Set warranty duration (in days) at the category level. Individual services can inherit or override this warranty. Booking receipts snapshot the active warranty period.
- Master Services: Master catalog items define service names, descriptions, estimated duration, popular flags, and allowable Price Range Guards (Minimum and Maximum unit price). Providers set their own price within this platform guardrail.


Quantity-Based Add-ons
Services can have associated quantity add-ons (e.g. extra gas per pound, extra copper pipe per foot, stair cleaning per flight). Add-ons support 8 measurable units:
Piece (pc) Β· Meter (m) Β· Foot (ft) Β· Square Meter (mΒ²) Β· Square Foot (ftΒ²) Β· Hour (hr) Β· Kilogram (kg) Β· Liter (L)
Each add-on defines a maximum permissible quantity per booking. Providers configure their own unit price for each add-on.
Providers & Servicemen
Provider Registration & KYC Verification
- Registration: Prospective service providers sign up in the Servizify Partner app, submitting their business name, contact details, city, and tax registration number.
- Document Upload: Providers must submit required legal KYC documents: Owner National ID (front & back), Trade License, and Owner Photograph. Documents are stored on private disk storage and served exclusively through short-lived (10-minute) signed URLs.
- Admin Verification: Admins review submissions in the Admin → KYC Verification queue. Admins approve or reject individual documents with clear rejection notes. A provider can only be activated once all mandatory documents are approved.


Custom Offerings & Prices
Approved providers select which master services they offer from the platform catalog, specify their own service price within the admin-approved min/max price range, and define unit prices for add-ons. Providers can toggle specific services active or inactive at any time.
Serviceman App & Dispatch Management
- Team Management: Providers invite technicians by phone number, upload their NID/photo, and activate or suspend team members from the Provider App.
- Job Assignment: Between booking acceptance and job commencement, the provider can assign an available verified serviceman to the booking. The assigned technician receives an instant push alert and access to the job's customer details and chat.
- Doorstep Digital ID Badge: Servicemen carry a digital photo badge in their app displaying their verified ID status, provider name, and rating to reassure customers upon home arrival.


Bookings & Job Execution
State Machine & Timelines
Every booking follows an immutable, verified status lifecycle tracked on a visual timeline. A booking is never held for payment: it starts as pending, its payment_method is always cod, and its payment_status moves from unpaid to paid when the job is completed. Customers can cancel without any fee; which statuses can be cancelled, and by whom, follows the rules below.
[Customer Checkout: pay the provider on site]
β
βΌ
(pending) ββ[Accept Timeout]βββΊ (not_answered)
β
[Provider Accept]
βΌ
(accepted) ββ[Provider/Customer Cancel]βββΊ (cancelled)
β
[On The Way]
βΌ
(on_the_way)
β
[Start Work]
βΌ
(in_progress) βββΊ [Cannot Cancel While In Progress]
β
[Complete + Sign]
βΌ
(completed) βββΊ payment_status: paid (cash collected)


Customer Rescheduling Workflow
Customers can self-reschedule a pending or accepted booking to a different open slot of the same provider free of charge:
- If the booking is still pending (awaiting provider acceptance), the schedule updates immediately.
- If already accepted, rescheduling creates a pending request. The provider's app displays a prompt: Accept New Time or Keep Booked Time. If declined or expired, the original booking time is preserved.
- Maximum reschedule limit per booking is configurable in
Settings → Bookings(default 1). - Customers can ask for another time until Reschedule up to (hours before the visit) in
Settings → Bookings → Booking rules(default 24). Canceling stays free at any time before the job starts.
On-Site Extras & Digital Customer Signature
- On-Site Extra Charges: If unforeseen parts or labor are required during an in-progress job, the technician submits an Extra Charge with a description and price. The customer instantly receives an in-app prompt to Approve or Decline. Approved charges are added to the invoice and paid in cash at the visit.
- Photo Evidence: Technicians can upload up to 5 "Before Work" photos and 5 "After Work" photos as proof of service completion.
- Digital Signature Pad: Upon completion, the customer signs directly on the technician's phone screen. The signature is vectorized into an image attachment stored with the booking audit record.
Recurring Subscriptions
Customers can book repeating visits (Weekly or Monthly) with automated slot reservations. The hourly servizify:generate-recurring-bookings task creates each visit 3 days ahead at the provider's active price, automatically bypassing holidays and sending reminders. Customers can cancel an entire recurring series at any time, with no cancellation fee. Every visit in a series is paid in cash on site.
Finance & Commission Dues
Provider Dues Ledger
Each provider has a commission dues ledger: a statement of what it owes the platform from cash jobs. Every line is written to an append-only ledger with row-level database locking, so entries are never edited. Customers have no balance on the platform.
- Balance: a balance below zero is commission owed. A positive balance is a credit that offsets future commission; it is never paid out.
- Line types:
commission(debited when a cash job is completed),dues_payment(an online dues payment),admin_creditandadmin_debit(manual adjustments), anddispute_penalty(see Disputes). - Admin: Admin → Finance → Provider dues lists what each provider owes, opens a provider's statement and lets finance staff add an adjustment.


Commissions & Platform-Funded Discounts
- Commission Calculation Hierarchy:
Provider Custom Rate→Category Custom Rate→Platform Default Rate (Settings). Supports either percentage basis points or fixed flat fees per booking line. - Settlement: when a job is completed, the provider has collected the total in cash, and the platform's commission is debited from its dues ledger.
- Platform-funded discounts: platform-funded coupons, referral coupons and membership discounts come out of the platform's commission and are capped at it. Checkout limits the discount so it never exceeds the commission, so the platform never owes a provider money and the provider's share is not reduced.

Cash Payments & Cash Due Limit
Every booking is paid in cash on site: the provider or serviceman collects the booking total, including any approved extra charges, directly from the customer. The platform's commission is added to the provider's dues. If a provider owes more than the Cash Due Limit (finance.cod_due_limit, default 500 in the platform currency; 0 means no limit), it is hidden from customers in the catalog and at checkout and gets no new bookings until it pays its dues.
Paying Dues Online
The Dues tab of the Provider app shows the amount owed, the cash limit, the monthly and total figures, and the statement. Pay Dues opens one of the enabled payment gateways in the in-app WebView; the amount can be part of the dues or all of it, and is capped at what is owed. A confirmed payment adds a dues_payment line to the ledger. A payment that is started but never completed is expired by the servizify:expire-payments scheduled task.
Trust, Support & Safety
Reviews & Public Replies
Customers can leave a 1-5 star review and comment within 14 days of job completion. Providers can post a public reply to any review directly from the Provider App. Administrators can hide abusive or fraudulent reviews with documented moderation reasons.

Customer Disputes & Recorded Outcomes
If work is substandard, the customer can open an official dispute within 7 days, uploading up to 3 photo attachments. Administrators review the dispute thread and record the outcome, including any refund the customer and the provider agreed on. The provider pays that refund to the customer directly; nothing is credited through the platform. The admin can also add an optional penalty to the provider's dues, which appears as a dispute_penalty line in its dues ledger.
Warranty Claim Tracking
Each service item retains its original warranty snapshot. If an appliance fails within the warranty period (e.g. 30 days), the customer taps Claim Warranty, providing photo evidence. Admins coordinate a free revisit with the original provider.
SOS Emergency Trigger
Customers, providers, and servicemen have a one-tap Emergency SOS button. Triggering an SOS dispatches the user's live GPS coordinates to the Admin Panel with high-priority audible alerts and dials the platform's configured emergency phone number (e.g. 999 or 911).
Support Tickets & Attachments
In-app support desk allowing users to submit tickets with category, priority, and up to 3 image attachments. Support staff reply in real-time with automatic push and email alerts.
Marketing & Growth Tools
Coupons & Surge Pricing Rules
- Promo Coupons: Percentage or fixed discounts with optional maximum discount caps, minimum order value, total usage limits, and category/provider restrictions. Supports Platform-Funded (the discount comes out of the platform's commission and is capped at it, so the provider's share is not reduced) or Provider-Funded. A coupon can also belong to one customer, as referral coupons do.
- Surge Pricing Engine: Configure dynamic multipliers (e.g.
1.25x) triggered by specific geographic zones, service categories, days of the week, or holiday date ranges (supporting overnight windows). Applied transparently at checkout.
Customer Memberships
Super Admins can create recurring VIP membership tiers (e.g. Gold Plan, Silver Plan) with monthly or annual pricing in Admin → Marketing → Membership Plans:
- Members receive automated percentage discounts (e.g. 10% off, capped at a set amount per visit) on every booking.
- Discounts are platform-funded: they come out of the platform's commission and are capped at it, so the provider's share is not reduced.
- Customers buy memberships online through one of the enabled payment gateways, with automated renewal reminders.
Refer & Earn Program
Built-in viral growth engine. Every customer receives a unique referral code. Tapping Invite Friends opens the native operating system share sheet with customized store links. When an invited friend signs up and their first booking is completed, the referrer and the new customer each get a personal one-time coupon, with values set in Settings → Marketing. No money is added to any account. Each coupon can be used once, only by its owner, by entering its code at checkout; the Refer & Earn screen lists the coupons a customer has earned. Referral coupons are platform-funded and capped at the commission like other platform-funded discounts.

Push Notification Campaigns
Broadcast targeted marketing promotions directly to user notification bars. In Admin → Marketing → Push Campaigns, compose rich notifications, select your target audience (Customers, Providers, Servicemen, or All), and dispatch immediately or schedule for a specific date and time.
In-Job Chat & Voice Calls
In-Job Multi-Party Chat
Servizify includes a dedicated in-job messaging system connecting the Customer, Provider Owner, and assigned Serviceman on every booking:
- Privacy First: Users see business names or first names; personal mobile phone numbers are strictly protected.
- Rich Media: Send text messages (up to 2,000 characters) and high-resolution photo attachments via encrypted temporary URLs.
- Lifecycle: Chat opens upon booking acceptance and remains active until
chat_hours_after(default 24h) after job completion. - Push Notifications: Messages trigger instant high-priority FCM push alerts to counterparties. Users can toggle chat notifications in their preferences.

Agora RTC in-app Voice Calls
Enable direct in-app voice calling over internet without revealing personal phone numbers:
- Custom Token Engine: Servizify includes a native server-side implementation of Agora's AccessToken2 ("007") builder (
AgoraToken), eliminating vulnerable external node servers. - Admin Setup: In Admin → Super Admin → Voice Calls, select
Agora, enter your 32-character hex App ID and App Certificate, and click Test connection to verify token signing. - Timeouts & Limits: Calls ring for 45 seconds before flagging missed, cap at
max_call_minutes(default 30 min), and auto-expire via the cron scheduler.

CallKit Full-Screen Ringing
Incoming calls on Android leverage flutter_callkit_incoming. Even when the phone is locked or the app is closed, incoming calls display the native full-screen caller ID interface with Answer and Decline controls.
Push & External Services
Firebase FCM & Service Account Setup
- Open the Firebase Console, create a new project, and enable Firebase Cloud Messaging (FCM API v1).
- Go to Project Settings → Service Accounts, click Generate new private key, and save the downloaded JSON file.
- In Admin → Super Admin → Firebase Configuration, upload your Service Account JSON. Servizify encrypts this file on private storage with your
APP_KEYand displays your project details. - In the same Firebase project, under Project settings → Your apps, add an Android app and an iOS app for each mobile app you publish, and copy their keys into that app's
assets/.env(FIREBASE_PROJECT_ID,FIREBASE_SENDER_ID,FIREBASE_ANDROID_API_KEY,FIREBASE_ANDROID_APP_ID,FIREBASE_IOS_API_KEY,FIREBASE_IOS_APP_ID). See Connecting to Backend.
google-services.json or GoogleService-Info.plist. Firebase is optional: it starts only when assets/.env has all four keys for the platform, and without them (or with wrong keys) the app runs without push notifications and without Firebase phone sign-in.
Project and app names in the Firebase screenshots are examples; IDs are hidden.







Transactional Email (SMTP)
Configure your transactional mail server in Admin → Super Admin → Push & Email. Compatible with Amazon SES, Mailgun, Postmark, Brevo, SendGrid, or custom cPanel SMTP.

SMS Gateways (Twilio, BulkSMSBD)
Servizify natively integrates 4 global and regional SMS gateways for mobile OTP verification and alerts: Twilio (Global), SSL Wireless (Bangladesh), MSG91 (India / DLT), and BulkSMSBD.

Payment Gateways Setup
Bookings are always paid in cash to the provider on site, so no gateway is needed to take bookings. Servizify supports 6 global and regional online payment gateways, used only for payments to the platform itself: provider commission dues and customer memberships. Configure gateway keys in Admin → Super Admin → Payment Gateways. An online gateway is offered in the apps only when it is switched on, its keys are set, and it can charge the platform currency (Settings → Currency & region):
| Gateway | Regions / Currencies | Required Credentials | Webhook Endpoint |
|---|---|---|---|
| Stripe Checkout | Global (any platform currency; Stripe itself decides which it accepts) | Publishable Key, Secret Key, Webhook Secret | /payments/notify/stripe |
| bKash Tokenized | Bangladesh (BDT only) | App Key, App Secret, Username, Password | /payments/notify/bkash |
| SSLCommerz | Bangladesh (BDT, USD, EUR, GBP, SGD, INR, MYR, CAD, AUD) | Store ID, Store Password, Sandbox mode | /payments/notify/sslcommerz |
| PayPal Orders v2 | Global (USD, EUR, GBP, AUD, CAD and other PayPal currencies; not BDT) | Client ID, Client Secret, Webhook ID | /payments/notify/paypal |
| Razorpay | India & International (INR, USD, EUR, GBP, SGD, AED, AUD, CAD, MYR) | Key ID, Key Secret, Webhook Secret | /payments/notify/razorpay |
| Nagad Online | Bangladesh (BDT only) | Merchant ID, Public Key, Private Key | /payments/notify/nagad |

Stripe Checkout & Webhooks
Stripe provides global credit and debit card processing (Visa, Mastercard, American Express, Apple Pay, Google Pay). Setup steps:
- In the Stripe Dashboard, retrieve your Publishable Key and Secret Key from Developers → API Keys.
- Navigate to Developers → Webhooks, click Add endpoint, and set the endpoint URL to:
https://marketplace.yourdomain.com/payments/notify/stripe - Under events to listen for, select
checkout.session.completedand click Add endpoint. Copy the Signing secret (starts withwhsec_). - In Admin → Super Admin → Payment Gateways, enable Stripe, enter the Publishable Key, Secret Key, and Webhook Secret, then choose Live or Test mode.
bKash & Nagad (Bangladesh Mobile Financial Services)
bKash and Nagad charge only in BDT, so they appear in the apps only when the platform currency is set to BDT.
1. bKash Tokenized Checkout:
- Register an approved merchant account with bKash PGW. Obtain your
App Key,App Secret,Username, andPasswordfrom the bKash Merchant Portal. - In Admin → Super Admin → Payment Gateways, enable bKash, enter these credentials, and select Sandbox or Live mode.
- Payment confirmation uses server-to-server tokenized execute verification, guaranteeing tamper-proof order settlements.
2. Nagad Online Checkout:
- Obtain your
Merchant ID,Merchant Private Key(PEM format), andNagad Public Keyfrom the Nagad merchant operations team. - Requests are encrypted with Nagad's RSA public key and signed with your merchant private key. Webhooks are verified against Nagad's transaction inquiry API.
SSLCommerz, PayPal & Razorpay
1. SSLCommerz Hosted Payment:
- Enter your
Store IDandStore Password. In SSLCommerz merchant dashboard, configure your IPN (Instant Payment Notification) URL tohttps://marketplace.yourdomain.com/payments/notify/sslcommerz.
2. PayPal Orders v2:
- In the PayPal Developer Dashboard, create an App under REST API apps. Retrieve your
Client IDandClient Secret. - Add a Webhook for event
CHECKOUT.ORDER.APPROVEDpointing tohttps://marketplace.yourdomain.com/payments/notify/paypal, and paste theWebhook IDinto the admin panel.
3. Razorpay Payment Links:
- In the Razorpay Dashboard, generate your
Key IDandKey Secretunder Settings → API Keys. - Add a webhook for
payment_link.paidwith your secret pointing tohttps://marketplace.yourdomain.com/payments/notify/razorpay.
In-App WebView Gateway Flow
All online payment gateways open inside an in-app WebView: in the Provider app to pay commission dues, and in the Customer app to buy a membership. When the user returns, or the gateway posts its notification to /payments/notify/{gateway}, nothing from the browser or the app is trusted:
- The server asks the gateway's own API for every result and accepts a payment only when the gateway confirms it as paid with the same amount and currency. Only then does the membership or dues payment complete. A payment that is started but never completed is expired by the
servizify:expire-paymentsscheduled task. - A gateway transaction can pay only one payment: each
(gateway, transaction ID)pair is unique in thepaymentstable, so a reused transaction ID cannot pay a second order. - Sign-in and password-reset code checks are rate limited per phone number or email (
rate_limits.otp_checks_per_contact_minuteinconfig/servizify.php, 10 per minute by default), on top of the per-network limits, so codes cannot be guessed by spreading attempts across IP addresses.
Mobile Applications Guide
GetX Clean Architecture
All three Flutter applications follow a strict, scalable feature-first clean architecture pattern:
lib/
βββ core/ # Network (Dio), theme, localization, services
β βββ config/ # AppConfig fetched from server GET /api/v1/config
β βββ constants/ # Colors, typography, spacing, border radiuses
β βββ l10n/ # Localization (en, bn, ar, es, fr)
β βββ network/ # ApiClient, ApiCall wrapper, interceptors
β βββ theme/ # Light & dark theme palettes, ReadableColor
βββ features/ # Modular business domains
βββ {feature}/
βββ data/ # Remote data sources, repository implementations
βββ domain/ # Pure entities, repository interfaces, logic
βββ presentation/ # GetxControllers, bindings, screens, widgets
Connecting to Backend (assets/.env)
Each app folder contains an assets/.env.example file. Copy it to assets/.env and set your backend address. If API_BASE_URL is missing, the app opens a setup screen that says “The server address is missing” instead of the app.
# Required. Production / physical devices:
API_BASE_URL=https://marketplace.yourdomain.com/api/v1
# The Android emulator reaches your computer at 10.0.2.2:
# API_BASE_URL=http://10.0.2.2:8001/api/v1
# Optional, debug runs only: a different URL for the iOS simulator.
# API_BASE_URL_IOS=http://localhost:8001/api/v1
# Optional: push notifications and Firebase phone sign-in (all apps).
# Leave empty and the app runs without Firebase.
FIREBASE_PROJECT_ID=
FIREBASE_SENDER_ID=
FIREBASE_ANDROID_API_KEY=
FIREBASE_ANDROID_APP_ID=
FIREBASE_IOS_API_KEY=
FIREBASE_IOS_APP_ID=
# Customer app only, optional: Sign in with Google. Leave empty to hide the Google button.
GOOGLE_SERVER_CLIENT_ID=
GOOGLE_IOS_CLIENT_ID=
Each app also has ios/Flutter/Secrets.xcconfig.example: copy it to Secrets.xcconfig and fill in FIREBASE_ENCODED_APP_ID (Firebase phone sign-in on iOS) and, in the Customer app, GOOGLE_REVERSED_CLIENT_ID (Google sign-in on iOS) only if you use them. The comments in each .env.example explain where every key comes from.

assets/.env in Android Studio: set API_BASE_URL (and API_BASE_URL_IOS for the iOS simulator).Customer App Walkthrough
The Servizify Customer application (servizify_customer) provides a seamless home service booking journey:
- Authentication Hub: Phone number OTP sign-in (via Firebase Phone Auth or server SMS), Email sign-in/registration, Google Sign-In, and Apple ID sign-in on iOS. Includes full guest browsing support.
- Discovery & Filtering: Home feed with animated promotional banners, categories grid, popular services, and an Advanced Filter Sheet allowing customers to filter by price range slider, minimum rating (3+, 4+, 4.5+), and instant availability.
- Provider Comparison Matrix: On any service page, customers can select 2 to 3 professionals and view a side-by-side comparison matrix showing their prices, add-on costs, ratings, experience, free slots, and warranty terms.
- Checkout & Payments: Multi-slot reservation, saved addresses with an OpenStreetMap pin, coupon and referral coupon codes, dynamic surge calculation, membership discounts, and payment to the provider in cash on site.
- Post-Booking Fulfillment: Live status timeline, multi-party in-job booking chat with photo sharing, Agora in-app voice calling, self-service rescheduling, extra charge approval, and digital PDF invoice download.
- Account & Loyalty: Refer & Earn sharing with a list of earned referral coupons, VIP membership subscriptions paid online, support tickets with photo uploads, and light/dark theme toggle.






Provider Partner App Walkthrough
The Servizify Partner application (servizify_provider) empowers local businesses to operate and scale their services:
- Business Onboarding & KYC: Registration wizard capturing trade licenses, owner National IDs, operating cities, and terms consent.
- Weekly Availability Schedule: Visual working hours builder allowing providers to set active work shifts and day-off toggles for each day of the week.
- Service Offerings & Catalog: Manage service offerings, customize unit prices within platform boundaries, and set add-on unit pricing.
- Job Execution Hub: Real-time incoming bookings feed, accept/reject controls, customer reschedule request approval, job lifecycle transitions (On the way, In progress, Completed), on-site extra charges submission, and customer signature collection.
- Team Management: Invite, activate, suspend, and assign servicemen to bookings.
- Commission Dues: The Dues tab shows the commission owed from cash jobs, the cash limit, monthly and total figures, and the statement, with Pay Dues to pay online. A notice appears when the provider owes more than the cash limit and is hidden from new bookings.
- Reviews & Reputation: Customer feedback feed with ability to submit public provider replies.




Serviceman Pro App Walkthrough
The Serviceman Pro application (servizify_serviceman) is a dedicated companion tool for field technicians:
- Daily Assigned Tasks: Clean feed of jobs assigned by the employer provider, with visit times, addresses, customer names and the services booked.
- Doorstep Digital ID: Verified photo badge with security credentials to reassure homeowners upon doorstep arrival.
- Live GPS Sharing: Tapping I'm on the way (or Start work straight away) starts location updates at the admin-set tracking interval, so customers see the technician coming and on site until the job is completed.
- On-Site Execution: Add extra parts or work for the customer to approve, capture up to 5 "Before" and 5 "After" work photos, capture customer digital signatures on screen, and follow cash collection instructions.
- Live Communication: In-job chat with customer/provider and in-app voice calling.


Rebranding: Logos, Names & Package IDs
1. Changing App Display Name:
- Android: In
android/app/src/main/AndroidManifest.xml, editandroid:label="Your App Name". - iOS: In
ios/Runner/Info.plist, editCFBundleDisplayName.
2. Changing Package Name & Bundle ID:
- Android: In
android/app/build.gradle.kts, updateapplicationId = "com.yourbrand.app"andnamespace = "com.yourbrand.app". - iOS: Open
ios/Runner.xcworkspacein Xcode and update Bundle Identifier under Runner targets.
3. Changing App Icons:
Replace icon assets using the flutter_launcher_icons package or place your graphics in:
- Android:
android/app/src/main/res/mipmap-*/ic_launcher.png - iOS:
ios/Runner/Assets.xcassets/AppIcon.appiconset/

android:label in AndroidManifest.xml.

applicationId in android/app/build.gradle.kts.

lib/core/constants/app_colors.dart; the admin's colors replace them at runtime.Release Builds & Store Publishing
Android Release Signing (Keystore) & AAB Build
Each app's android/app/build.gradle.kts reads its release signing key from android/key.properties. Create a keystore once and keep it (and its passwords) safe and out of version control: Google Play requires every update to be signed with the same upload key.
# 1. Generate a release keystore
keytool -genkey -v -keystore ~/servizify-release.jks -keyalg RSA -keysize 2048 -validity 10000 -alias servizify
# 2. Create android/key.properties in each app (a relative storeFile is resolved from android/app/)
storePassword=your_keystore_password
keyPassword=your_key_password
keyAlias=servizify
storeFile=/path/to/servizify-release.jks
# 3. Clean and build the Android App Bundle (AAB) for Google Play
flutter clean
flutter pub get
flutter build appbundle --release
android/key.properties is missing, release builds are signed with the debug key so flutter run --release still works. Never upload such a build to a store. The apps build with compileSdk 36, targetSdk 36 and minSdk 24.

android/app/build.gradle.kts reads the release key from android/key.properties.Google Play Location Permissions Declarations
The Servizify Partner (provider) and Servizify Pro (serviceman) apps share location the same way, so the answers below apply to both. Paste them into Play Console when you submit, and replace Servizify Partner with Servizify Pro (or your own app names) where needed.
What the apps actually do
- They ask for location only while in use (
ACCESS_FINE_LOCATION,ACCESS_COARSE_LOCATION). They never ask forACCESS_BACKGROUND_LOCATION. - Location is shared only after the person taps I'm on the way (or Start work straight away) on a job and agrees in the in-app notice.
- Sharing runs from on the way until the job is completed: while traveling, so the customer sees them coming, and during the work, so the customer sees they are on site. A foreground service of type
locationkeeps sending points with the app closed or the screen off (FOREGROUND_SERVICE,FOREGROUND_SERVICE_LOCATION). A notification saying “Sharing your location” is shown the whole time. - At most one point per tracking interval is sent (an admin setting, 15 seconds by default, 5–120 allowed). The server keeps only the latest point for that job. Only that job's customer and the platform's admin team (on the booking page) can see it. The point is deleted as soon as the job is completed, canceled or reassigned.
- Once a serviceman is assigned, only the serviceman's phone shares location; the provider's phone stops.
1. Location permissions declaration
Not required. Play Console asks for this form only when an app requests ACCESS_BACKGROUND_LOCATION, and neither app does. If Play Console still asks, answer that location is accessed in the foreground only.
2. Foreground service permissions declaration (Android 14 and later)
Required because the apps declare FOREGROUND_SERVICE_LOCATION. Foreground service type: Location.
Task the service carries out (paste):
When a service professional taps "I'm on the way" (or "Start work") on a booked job and agrees to share their location, Servizify Partner starts a location foreground service. It sends the professional's position to that job's customer while they travel and while they work on site, until they tap "Complete job" or the job is canceled. Then the service stops at once. The notification "Sharing your location" is shown the whole time. The person starts it themselves for each job, and it never runs at any other time.
Why it must start right away and keep running while the app is not in front (paste):
The professional is driving or walking to the customer and usually locks the phone or opens a maps app; on site the phone is pocketed while they work. The customer needs their live position for the whole visit, to see them coming and that they are still there. If sharing paused, the customer would see a stale position. A deferred job such as WorkManager cannot give continuous, user-visible updates.
Video: Play Console asks for a link (for example an unlisted YouTube video of about 30 seconds). Record this on a phone:
- Sign in, open an accepted job and tap I'm on the way.
- Show the Share your location? notice, then tap Share location.
- Allow location While using the app in the system prompt.
- Lock the phone or switch apps, and show the Sharing your location notification.
- Open the Customer app on a second phone and show the professional's pin moving on the job.
- Back in the provider app, tap Start work and show that the notification stays.
- Tap Complete job and show that the notification disappears.
3. Prominent disclosure (already in the apps)
Before the system permission prompt, both apps show this notice in the person's language: “Share your location? From the moment you are on the way until the job is completed, Servizify shares your location with this customer so they can see you coming and that you are there, even when the app is closed or the screen is off. Sharing stops when you complete the job.” with the buttons Not now and Share location. “Not now” still moves the job on, without sharing.
4. Data safety form: location entries
| Question | Answer |
|---|---|
| Data type | Location → Precise location (and Approximate location) |
| Collected | Yes |
| Shared | Yes. The location is shown to the customer of that job (a user of the same service, not a third party). If your reading of Play's definitions treats this as a transfer to another user rather than “sharing”, select Not shared. |
| Processed ephemerally | No. The latest point is stored until the job is completed or canceled, then deleted. |
| Required or optional | Optional. People can decline and still use the app; the job just moves on without live tracking. |
| Purpose | App functionality |
| Encrypted in transit | Yes (HTTPS) |
| Can people ask for deletion | Yes, through in-app account deletion; job location points are also deleted automatically. |
5. Apple App Store (for the iOS release)
- App Privacy → Precise Location: Collected, Linked to the user, purpose App Functionality, not used for tracking.
- The apps use the location background mode, only from on the way until the job is completed. Explain this in App Review notes, using the same wording as section 2.
NSLocationWhenInUseUsageDescriptionis set in both apps'Info.plist. The apps don't use an “Always” key.
iOS Signing in Xcode, Privacy Manifest & App Store
- Open
ios/Runner.xcworkspacein Xcode. - Under Signing & Capabilities, select your Apple Developer Team.
- Verify privacy description strings in
ios/Runner/Info.plist(Camera, Photo Library, Microphone, Location). - Review
ios/Runner/PrivacyInfo.xcprivacy. Each app ships this privacy manifest describing the data it collects and the required-reason APIs it uses. If you add SDKs or features that collect data (analytics, ads, crash reporting and so on), update it and your App Store privacy answers to match. - Select Product → Destination → Any iOS Device and run Product → Archive to distribute to TestFlight and the App Store.

Web Account Deletion Compliance (/account/delete)
https://yourdomain.com/account/delete
The public page allows customers and providers to request account deletion in their native language with SMS/Email OTP verification. If phone auth is configured via Firebase, requests are routed to an admin identity check queue.
API Reference & Database
REST API V1 Endpoint Reference
| Method | Endpoint | Auth | Description |
|---|---|---|---|
GET | /api/v1/config | Public | Platform branding, currencies, languages and settings. |
GET | /api/v1/home | Public | Home feed banners, categories, featured and popular services. |
GET | /api/v1/categories | Public | Catalog categories, subcategories, and warranty data. |
GET | /api/v1/services/{id}/compare | Public | Compares 2-3 providers offering a service (price, add-ons, rating, slots). |
POST | /api/v1/auth/otp/send | Public | Dispatches 6-digit phone verification OTP code. |
POST | /api/v1/auth/otp/verify | Public | Verifies OTP and returns user Sanctum bearer token. |
POST | /api/v1/bookings | Customer | Creates a booking (slot validation, surge multiplier, coupon). Paid in cash on site; the booking starts as pending. |
GET | /api/v1/me/referral | Customer | Referral code, invited friends and the customer's personal referral coupons. |
POST | /api/v1/me/membership | Customer | Buys a membership through an online gateway; returns a payment to open in the WebView. |
GET|POST | /api/v1/bookings/{id}/chat | Customer | Fetches or posts messages/attachments in the in-job booking chat. |
POST | /api/v1/bookings/{id}/calls | Customer | Generates Agora RTC token and initiates in-app voice call. |
GET | /api/v1/provider/dashboard | Provider | Provider earnings summary, performance stats, upcoming job alerts. |
POST | /api/v1/provider/jobs/{id}/status | Provider | Advances job status (accept, on the way, in progress, complete). |
POST | /api/v1/provider/jobs/{id}/extra-charges | Provider | Submits on-site extra charge for customer approval (paid in cash at the visit). |
GET | /api/v1/provider/dues | Provider | Commission dues summary: balance, amount owed, cash limit and monthly and total figures. |
POST | /api/v1/provider/dues/pay | Provider | Starts an online dues payment, capped at what is owed; returns a payment to open in the WebView. |
PUT | /api/v1/provider/me/base-location | Provider | Saves the provider's base location pin, used for distance filters and nearest sort. |
POST | /api/v1/provider/jobs/{id}/location | Provider | Shares the provider's live GPS point from on the way until the job is completed (when no serviceman is assigned). |
GET | /api/v1/serviceman/jobs | Serviceman | Lists assigned field jobs for the authenticated serviceman. |
POST | /api/v1/serviceman/jobs/{id}/location | Serviceman | Shares the serviceman's live GPS point from on the way until the job is completed. |
GET | /api/v1/bookings/{id}/provider-location | Customer | Latest point of the professional and the job stage, polled at the tracking interval. |
Request & Response Examples
All endpoints live under https://YOUR-DOMAIN/api/v1 and speak JSON. Send these headers with every request:
Accept: application/json
Content-Type: application/json
Authorization: Bearer <token> # from /auth/otp/verify or /auth/email/login; not needed for public endpoints
X-Locale: en # optional: en, bn, ar, es or fr for translated messages
Money is always an integer in the currency's smallest unit (cents for USD), so 7800 means $78.00. Times are ISO 8601 in UTC. The examples below are real responses from the New York demo data.
1. A service and the providers offering it in an area
GET /api/v1/services/1?zone_id=1
Public. zone_id is the customer's area (from GET /api/v1/areas/locate?latitude=β¦&longitude=β¦); offer_price is each provider's own price.
HTTP/1.1 200 OK
{
"success": true,
"data": {
"id": 1,
"name": "AC Deep Jet Wash",
"slug": "ac-deep-jet-wash",
"short_description": "High-pressure coil wash, filter clean and drain flush.",
"image_url": null,
"duration_minutes": 60,
"warranty_days": null,
"is_featured": true,
"category": {
"id": 2,
"name": "AC Servicing"
},
"from_price": 5400,
"provider_count": 2,
"suggested_price": {
"min": 6000,
"max": 10000
},
"description": null,
"addons": [
{
"id": 1,
"name": "Extra AC unit",
"unit": "piece",
"max_quantity": 3
}
],
"providers": [
{
"id": 2,
"business_name": "Apex Climate",
"owner_name": "David Kim",
"logo_url": null,
"rating": 4,
"rating_count": 1,
"experience_years": 5,
"jobs_completed": 1,
"is_online": true,
"verified": true,
"offer_price": 5400,
"distance_km": 0.4
},
{
"id": 1,
"business_name": "CoolAir Pro Masters",
"owner_name": "Michael Torres",
"logo_url": null,
"rating": 4.7,
"rating_count": 3,
"experience_years": 8,
"jobs_completed": 3,
"is_online": true,
"verified": true,
"offer_price": 6000,
"distance_km": 0
}
]
}
}
2. Placing a booking
POST /api/v1/bookings
Authorization: Bearer <customer token>
{
"provider_id": 1,
"lines": [
{
"service_id": 1,
"quantity": 1,
"addons": {
"1": 1
}
}
],
"address_id": 1,
"type": "scheduled",
"scheduled_at": "2026-11-18T19:00:00+00:00",
"payment_method": "cod",
"notes": "Ring the bell at the side door"
}
payment_method is optional: the only accepted value is "cod" (pay the provider on site), and it is the default. lines[].addons maps an add-on id to its quantity. address_id is one of the customer's saved addresses (POST /api/v1/addresses), and scheduled_at must be a free slot from GET /api/v1/booking-slots. Use POST /api/v1/checkout/quote with the same body to show the price first.
HTTP/1.1 201 Created
{
"success": true,
"message": "Booking placed.",
"data": {
"id": 8,
"number": "SVZHSGEHX2B",
"status": "pending",
"status_label": "Awaiting provider",
"type": "scheduled",
"scheduled_at": "2026-11-18T19:00:00+00:00",
"accept_deadline_at": "2026-11-18T14:30:00+00:00",
"address_label": "Home",
"address_line": "350 5th Ave, New York",
"subtotal": 7800,
"discount": 0,
"membership_discount": 0,
"total": 7800,
"payment_method": "cod",
"payment_status": "unpaid",
"provider": {
"id": 1,
"business_name": "CoolAir Pro Masters",
"logo_url": null
},
"items": [
{
"service_name": "AC Deep Jet Wash",
"quantity": 1,
"line_total": 6000,
"addons": [
{
"name": "Extra AC unit",
"quantity": 1,
"line_total": 1800
}
]
}
],
"recurring": null,
"pending_extras": 0
}
}
3. Errors
A business rule that fails returns 409 with a message ready to show to the user:
HTTP/1.1 409 Conflict
{
"success": false,
"message": "This time is no longer available. Please pick another slot.",
"errors": null
}
Invalid input returns 422 with a message for each field; a missing or expired token returns 401, and the apps then sign the user out.
HTTP/1.1 422 Unprocessable Content
{
"message": "The address id field is required.",
"errors": {
"address_id": [
"The address id field is required."
]
}
}
Database Entities & Core Relations
users→ Unified polymorphic user entity for Customers, Providers, and Servicemen with soft-delete cascades.providers→ Belongs to User. Holds business name, zone attachments, commission overrides, and KYC status.zones→ Polygon geofence definitions with bounding box min/max latitudes and longitudes.bookings→ Core fulfillment order holding items, delivery address, timeline events, financial settlement snapshots.wallets&wallet_transactions→ Provider commission dues ledger: append-only lines for commission, dues payments, admin adjustments and dispute penalties. Customers have no balance.payments→ Online gateway payments to the platform: provider dues and customer memberships.coupons→ Promo coupons; a coupon with auser_idis a personal referral coupon usable only by that customer.chats&chat_messages→ In-job multi-party communication threads with attachment links.calls→ Agora voice call records tracking duration, caller roles, and statuses.
Troubleshooting & FAQ
Common Problems Matrix
| Problem / Error | Root Cause | Immediate Solution |
|---|---|---|
| 500 Internal Server Error | Missing file permissions or ungenerated encryption key. | Check storage/logs/laravel.log. Run php artisan key:generate and set chmod -R 775 storage bootstrap/cache. |
| Uploaded Images Return 404 | Missing public storage symlink. | Run php artisan storage:link. If on shared cPanel, use the symlink script described in the cPanel setup section. |
| Push Notifications Not Received | Firebase service account not uploaded or invalid project ID. | Upload your service account JSON in Super Admin → Firebase Configuration, add the FIREBASE_* keys to the app's assets/.env, and ensure your queue worker is running. |
| Abandoned Dues or Membership Payments Stay Pending | System cron scheduler is not running, so servizify:expire-payments never runs. |
Ensure * * * * * php artisan schedule:run is active in system crontab. |
| A Provider Is Missing From Search and Checkout | The provider owes more commission than the Cash Due Limit. | The provider pays its dues from the Dues tab of the Provider app, or an admin records an adjustment in Admin → Finance → Provider dues. See Cash Due Limit. |
| Flutter "Network Error" on Launch | Invalid API_BASE_URL in assets/.env. |
On Android Emulator, use http://10.0.2.2:8001/api/v1. On physical devices, use your computer's local LAN IP (e.g. http://YOUR_COMPUTER_LAN_IP:8001/api/v1) or production HTTPS. |
| Agora Call Fails to Connect | Invalid App ID or Certificate. | Check Super Admin → Voice Calls. Click Test connection to verify your 32-character hex keys. |
Frequently Asked Questions
Does Servizify work on shared cPanel hosting?
Yes. As long as your hosting provides PHP 8.3+, MySQL 8+, cron jobs, and allows symbolic links, you can deploy Servizify on cPanel. Compile your assets and run composer install locally before uploading if your host lacks terminal access.
Can I run Servizify with only the Customer and Provider apps, without Servicemen?
Yes. Servicemen are optional: a provider who adds no servicemen fulfills and completes every booking directly in the Provider app, and the Serviceman app simply isn't used.
Do I have to pay for Agora or Firebase to run the system?
Both are optional and both have free allowances: Firebase Cloud Messaging push is free, and Agora includes a monthly allowance of free voice minutes. Usage beyond the free allowances, and Firebase phone sign-in on some plans, is billed by those companies (see Third-Party Costs). For testing without SMS costs on a non-production server, select Server log only as your sign-in code method.
How do refunds work on canceled or disputed bookings?
Customers pay the provider in cash only after the job is done, so a canceled booking has nothing to refund, and there is no cancellation fee. For a dispute, the admin records the outcome and any refund the customer and the provider agreed on; the provider pays that refund to the customer directly, and the admin can add an optional penalty to the provider's dues. See Customer Disputes.
Does the platform hold customer or provider money?
No. Customers pay providers in cash on site. The only online payments go to the platform for its own fees: provider commission dues and customer memberships. Customers have no balance on the platform, and nothing is paid out to providers.
Credits, License & Changelog
Servizify is built on the open-source packages below. Versions are the ones locked in this release (composer.lock, package-lock.json and each app's pubspec.lock); only direct dependencies are listed, and each package's own dependencies come with their own licenses. Every license text is included in the package source that Composer, npm or pub downloads.
Backend Packages (Composer)
Required at runtime (require in servizify_backend/composer.json):
| Package | Version | License | Official page |
|---|---|---|---|
blade-ui-kit/blade-heroicons | 2.7.0 | MIT | Packagist |
laravel/framework | 13.43.0 | MIT | Packagist |
laravel/sanctum | 4.5.0 | MIT | Packagist |
laravel/tinker | 3.2.0 | MIT | Packagist |
mpdf/mpdf | 8.3.1 | GPL-2.0-only | Packagist |
app/Services/Bookings/InvoiceService.php). It is installed by Composer from Packagist, not bundled in Servizify's own source. If you modify or redistribute mPDF itself, follow the terms of the GNU GPL v2.
Development only (require-dev; not installed with composer install --no-dev):
| Package | Version | License | Official page |
|---|---|---|---|
fakerphp/faker | 1.24.1 | MIT | Packagist |
laravel/pail | 1.3.0 | MIT | Packagist |
laravel/pao | 1.1.5 | MIT | Packagist |
laravel/pint | 1.32.3 | MIT | Packagist |
mockery/mockery | 1.6.15 | BSD-3-Clause | Packagist |
nunomaduro/collision | 8.9.6 | MIT | Packagist |
phpunit/phpunit | 12.5.44 | BSD-3-Clause | Packagist |
Admin Front-End Packages (npm)
Used to build the admin panel's CSS and JavaScript (servizify_backend/package.json). Alpine.js, Chart.js and Leaflet end up in the compiled bundle; the others are build tools.
| Package | Version | License | Official page |
|---|---|---|---|
@tailwindcss/vite | 4.3.5 | MIT | npm |
alpinejs | 3.17.5 | MIT | npm |
chart.js | 4.6.1 | MIT | npm |
concurrently | 10.0.7 | MIT | npm |
laravel-vite-plugin | 3.2.1 | MIT | npm |
leaflet | 1.9.4 | BSD-2-Clause | npm |
tailwindcss | 4.3.5 | MIT | npm |
vite | 8.3.8 | MIT | npm |
@laravel/multiplex | 0.4.5 | MIT | npm |
Flutter App Packages (pub)
Direct dependencies of the three apps (servizify_customer, servizify_provider, servizify_serviceman). The Agora and Firebase plugins download native SDKs that are covered by Agora's and Google's own terms of service.
| Package | Version | License | Used in | Official page |
|---|---|---|---|---|
agora_rtc_engine | 6.6.4 | MIT | Customer, Provider, Serviceman | pub.dev |
cached_network_image | 4.0.3 | MIT | Customer | pub.dev |
dio | 5.11.1 | MIT | Customer, Provider, Serviceman | pub.dev |
firebase_auth | 7.1.0 | BSD-3-Clause | Customer | pub.dev |
firebase_core | 5.2.0 | BSD-3-Clause | Customer, Provider, Serviceman | pub.dev |
firebase_messaging | 17.1.0 | BSD-3-Clause | Customer, Provider, Serviceman | pub.dev |
flutter | Flutter SDK | BSD-3-Clause | Customer, Provider, Serviceman | flutter.dev |
flutter_callkit_incoming | 3.1.6 | MIT | Customer, Provider, Serviceman | pub.dev |
flutter_dotenv | 6.0.2 | MIT | Customer, Provider, Serviceman | pub.dev |
flutter_local_notifications | 22.3.3 | BSD-3-Clause | Customer, Provider, Serviceman | pub.dev |
flutter_localizations | Flutter SDK | BSD-3-Clause | Customer, Provider, Serviceman | flutter.dev |
flutter_map | 8.3.2 | BSD-3-Clause | Customer, Provider | pub.dev |
flutter_secure_storage | 11.2.0 | BSD-3-Clause | Customer, Provider, Serviceman | pub.dev |
geolocator | 14.1.2 | MIT | Customer, Provider, Serviceman | pub.dev |
get | 4.7.3 | MIT | Customer, Provider, Serviceman | pub.dev |
google_sign_in | 7.2.0 | BSD-3-Clause | Customer | pub.dev |
image_picker | 1.2.4 | BSD-3-Clause, Apache-2.0 | Customer, Provider, Serviceman | pub.dev |
latlong2 | 0.10.1 | Apache-2.0 | Customer, Provider | pub.dev |
package_info_plus | 10.2.2 | BSD-3-Clause | Customer, Provider, Serviceman | pub.dev |
permission_handler | 13.0.2 | MIT | Customer, Provider, Serviceman | pub.dev |
share_plus | 13.3.1 | BSD-3-Clause | Customer | pub.dev |
shared_preferences | 2.5.6 | BSD-3-Clause | Customer, Provider, Serviceman | pub.dev |
sign_in_with_apple | 8.2.0 | MIT | Customer | pub.dev |
url_launcher | 6.3.3 | BSD-3-Clause | Customer, Provider, Serviceman | pub.dev |
webview_flutter | 4.14.1 | BSD-3-Clause | Customer, Provider | pub.dev |
Fonts, Icons & Map Data
| Asset | Where it is used | License | Official page |
|---|---|---|---|
| Inter (font) | Bundled in the three apps (assets/fonts/Inter.ttf); first choice in the admin panel's font stack | SIL Open Font License 1.1 (assets/fonts/OFL-Inter.txt) | rsms.me/inter |
| Plus Jakarta Sans (font) | Bundled in the three apps (assets/fonts/PlusJakartaSans.ttf) | SIL Open Font License 1.1 (assets/fonts/OFL-PlusJakartaSans.txt) | github.com/tokotype/PlusJakartaSans |
| Heroicons | Admin panel icons, through blade-ui-kit/blade-heroicons | MIT (Tailwind Labs) | heroicons.com |
| Material Icons | App icons, from the Flutter SDK (uses-material-design: true) | Apache-2.0 (Google) | fonts.google.com/icons |
| Leaflet | Zone drawing map in the admin panel | BSD-2-Clause | leafletjs.com |
| OpenStreetMap map data and default tiles | Admin map and the apps' maps (default map.tile_url) | Open Database License (ODbL); credit “© OpenStreetMap contributors” | openstreetmap.org/copyright |
Map data © OpenStreetMap contributors. Keep this attribution visible on every map (Servizify shows it by default from map.tile_attribution), and see the map tiles note before going to production.
Envato License Note
Servizify is sold on CodeCanyon under the Envato Market licenses. In short: the Regular License covers one end product whose end users are not charged. If you charge your own end users to use the product, for example by running it as a paid SaaS or as a marketplace that takes payments or commissions from customers or providers, you need the Extended License. Read the full terms at codecanyon.net/licenses/standard before you launch; if you are unsure which license fits, contact Envato support.
AI Disclosure
AI tools (Claude by Anthropic) were used to help create this item's code, documentation and graphics, including the service illustrations and the preview images.
Third-Party Costs
Your purchase covers the Servizify source code only. Services from other companies are billed by them, under their own terms, and are not included:
- Payment gateways: transaction fees and any account or setup fees (Stripe, PayPal, Razorpay, SSLCommerz, bKash, Nagad), for the provider dues and membership payments they take.
- SMS: per-message charges for sign-in codes and alerts (Twilio, SSL Wireless, MSG91, BulkSMSBD).
- Email: your SMTP or email-sending service.
- Firebase: push messaging and phone sign-in; phone verification can be billed depending on your Firebase plan and volume.
- Agora: voice-call minutes above Agora's free monthly allowance.
- Maps: a production tile server or commercial tile provider (see the map tiles note).
- App stores: the Apple Developer Program and Google Play developer account fees.
- Hosting: your server, domain and SSL certificate.
Prices and free allowances change; check each provider's current pricing page.
Changelog
1.0.0 β Initial release
- Core: Laravel 13 REST API with Sanctum, Blade + Tailwind CSS + Alpine.js admin panel with role-based permissions, and three Flutter apps (Customer, Provider, Serviceman).
- Catalog & areas: polygon service zones drawn on a Leaflet map, two-level categories, services with price ranges, warranties and quantity add-ons.
- Bookings: slot booking paid in cash to the provider on site with no cancellation fee, provider acceptance, servicemen dispatch, on-site extra charges, before/after photos, customer signature, recurring bookings and customer rescheduling with provider approval.
- Customer features: provider comparison, advanced filters and favorites, membership plans paid online, Refer & Earn with personal referral coupons, PDF invoices, support tickets and disputes with photo attachments.
- Communication: in-job multi-party chat with photos, Agora in-app voice calls with CallKit full-screen ringing, push notifications and campaigns.
- Finance: provider commission dues ledger, commissions with platform-funded discounts capped at the commission, a cash due limit that hides providers with unpaid dues from new bookings, dispute outcomes with optional dues penalties, and 6 payment gateways (Stripe, PayPal, Razorpay, SSLCommerz, bKash, Nagad) for provider dues and memberships, with server-side verification of every result. The platform never holds or transfers customer or provider money.
- Live demo: read-only demo mode with a fixed sign-in code and an hourly reset, New York demo data in US dollars, and CORS limited to configured origins.
- Compliance: public web account deletion page (
/account/delete), iOS privacy manifests and documented Google Play location declarations.