Fixdock documentation

Everything you need to install Fixdock, set up your repair shop and build your website.

Introduction

Fixdock is a web application for phone, tablet and computer repair shops. It manages repair tickets from intake to pickup, lets customers follow and approve their repair online, sells accessories at the counter, keeps parts in stock and includes a drag & drop builder for the shop website.

It is built with Laravel 12 (PHP) and plain CSS/JavaScript. There is no build step, no Node.js and no external service to pay for. The source code is fully readable and editable; there is no license check or domain lock.

What is in the download

FolderContent
fixdock/The application — upload this to your server.
documentation/This documentation.

Requirements

The installer checks all of this for you and tells you exactly what is missing.

Installation

1. Upload

  1. Unzip the download on your computer.
  2. Upload the contents of the fixdock folder to your server (with FTP or your hosting file manager), for example into /home/you/fixdock or directly into public_html.

2. Point your domain

Best: set the document root of your domain (or sub-domain) to the public folder of Fixdock — e.g. /home/you/fixdock/public. Most hosting panels (cPanel → Domains, Plesk → Hosting settings) let you change it.

If you cannot change it: upload Fixdock directly into the folder of your domain (e.g. public_html). The .htaccess file at the root of Fixdock sends every request to public and keeps all other files private.

Nginx configuration
server {
    server_name repair.example.com;
    root /var/www/fixdock/public;
    index index.php;
    client_max_body_size 20M;

    location / { try_files $uri $uri/ /index.php?$query_string; }
    location ~ \.php$ {
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
        fastcgi_pass unix:/run/php/php8.3-fpm.sock;
    }
    location ~ /\.(?!well-known) { deny all; }
}

3. Folder permissions

These must be writable by PHP (usually 755 folders / 644 files are enough on shared hosting; use 775 if needed): storage/ and everything inside, bootstrap/cache/, database/ (for SQLite) and the root folder (so the installer can create .env).

4. Run the installer

Open your domain in a browser. You are sent to the installer automatically:

  1. Requirements — green ticks everywhere? Click Continue.
  2. Database — choose SQLite (nothing to fill) or MySQL (create a database and user in your hosting panel first). Tick “Add demo data” if you want to explore with sample tickets first.
  3. Your shop — shop name, language, currency, time zone and your admin account.

That's it — you are logged in to your dashboard. The installer locks itself afterwards.

Starting again: to run the installer again, delete the file storage/app/installed (and the database tables, or database/database.sqlite).

5. Optional: cron job

Fixdock does not need a cron job for normal use. It is only used by the demo reset (see Demo mode). If you want Laravel's scheduler anyway:

* * * * * cd /path/to/fixdock && php artisan schedule:run >> /dev/null 2>&1

First steps after installing

  1. Settings → Shop: logo, phone, WhatsApp number, address, opening hours and map. They are used on receipts, messages and the website.
  2. Settings → Sales: tax rate and payment methods. Settings → Localisation: currency format.
  3. Devices & prices: your device models and repair prices (or import them from a CSV file). They power the ticket form, the price finder and online booking.
  4. Staff & roles: add your technicians and front-desk staff.
  5. Website → Pages: edit the home page with the builder, then click Publish.
  6. If you installed demo data, delete the demo accounts (password “password”) in Staff & roles.

Repair tickets

Click New ticket in the top bar.

The ticket page

Board

Tickets → Board shows every open ticket in columns by status. Drag a card to another column to change its status.

Statuses

Settings → Statuses: rename, recolour, reorder and add statuses. Options per status: notify the customer, final (ticket closed), completed (repair done — sets the ready date and starts the warranty), shown on the tracking page, default for new tickets.

Customer tracking & online approval

Every ticket has a private tracking link (in the QR code on the receipt). Customers can also enter their ticket number and phone number on the Track page of your website. They see the progress bar, public updates and photos, the price and what is left to pay.

Estimate approval

  1. On the ticket, add the parts and services, then click Ask for approval.
  2. The ticket moves to “Waiting for approval” and the estimate ready message opens (WhatsApp, SMS or email).
  3. The customer approves or declines on the tracking page, with an optional comment. The ticket moves to “In repair” (or “Not repairable”) and the decision appears in the timeline.

The statuses used for this can be changed in Settings → Tickets.

WhatsApp, SMS & email

Message templates are edited in Settings → Messages. Use variables such as {customer_name}, {ticket_number}, {device}, {status}, {total}, {balance}, {tracking_url}, {shop_name}, {shop_phone} — the full list is shown next to the editor.

Every message is logged on the ticket.

Point of sale, invoices & payments

Debts & sales on credit

The Debts page (Sales → Debts) lists every customer who owes the shop money. A debt is an invoice or counter sale that is not fully paid (and not void), or a repair handed back to the customer before being paid in full. A repair still in the shop is not a debt yet: it is paid at pickup.

Inventory & purchasing

Price list import

Devices & prices → Import accepts a CSV with the columns type, brand, model, repair, price, minutes (one row per repair). Types, brands and models are created when needed.

Online store

Fixdock includes an online store that sells straight from your stock, with cash on delivery. Turn it on or off in Store & delivery → Settings, where you also choose free pick-up at the shop, free delivery from an order amount, a minimum order, whether out-of-stock products are hidden, and the email sent to the shop for each new order.

Delivery & live tracking

Delivery fees (Store & delivery → Delivery fees): create your own regions (a district, a town or a whole region) with a home-delivery fee and a pick-up-point fee. Leave a fee empty when that option is not offered there; switch a region off to stop taking orders for it. Names can be translated into French and Arabic.

Map pin: at checkout the customer can show their door on an OpenStreetMap map. Set where the map opens in Store & delivery → Settings → Map starting point (latitude,longitude of your town).

Delivery staff: create a staff account with the Delivery role and choose the delivery person on the order page. They sign in on their phone and see only their deliveries: call the customer, open directions, start the delivery, mark it delivered (cash received) or not delivered with a reason.

Live tracking: once a delivery has started, the customer's order page shows the delivery person on a map with the distance left. The phone sends its position while the deliveries page is open (keep the screen on), and only during a delivery. Only the last position is kept, never a route, and it is erased as soon as the delivery ends.

The map uses the public OpenStreetMap tile server, which is fine for a shop's traffic. For heavy use, set another tile provider in public/assets/track.js (TILES), as asked by the OpenStreetMap tile usage policy.

Device labels

Print a small sticker for the back of each device: ticket number, QR code, customer, device, phone and date. In Settings → Shop profile → Printed documents choose the sticker size of your label printer (50 × 25 mm, 40 × 20 mm, 40 × 30 mm, …) and whether the label prints right after the intake receipt. Reprint it from the ticket's Print menu. In your printer's settings, set the paper size to the same size as the stickers.

Desktop computers (sync)

The Fixdock Desktop Windows app can keep a full copy of the shop on a Windows computer that works without internet and syncs with the website when it is online. Every change is recorded on both sides and merged field by field; stock quantities are merged as amounts, so sales made offline on the computer and online on the website all count.

Sync is off by default. To turn it on, the website must use an SQLite database. Add SYNC_ENABLED=true to .env, then run php artisan sync:install. Connect a computer from Fixdock Desktop with the website address and an administrator's email and password. Connected computers, their last contact and the values that lost a conflict are listed in Settings → Computers, where a computer can be disconnected.

Online booking

The Book page shows real free time slots based on your opening hours (Settings → Shop), the slot length, how many days ahead customers can book, closed days and how many appointments you accept at the same time (Settings → Booking).

New bookings appear in Appointments as pending. Confirm them (the confirmation message opens in WhatsApp), and when the customer arrives click Convert to ticket — the customer, device and booked repair are filled in for you.

Website builder

Go to Website → Pages and click a page to open the builder.

The editor

Blocks

GroupBlocks
HeaderHero (text + image or centred, buttons, “track my repair” box, highlights)
Repair shopPrice finder, Track my repair, Book an appointment, Opening hours & map, Contact form
ContentServices grid, How it works, Why choose us, Numbers, Brands strip, Testimonials, Pricing plans, FAQ, Gallery, Before / after slider, Team, Call to action, Rich text, Image + text, Spacer
AdvancedCustom HTML (administrators only) — for embeds such as review widgets

Theme, menus and media

Menu links can point to a section of a page: give the block an anchor in its Style tab (e.g. services) and link to /#services.

Users, roles & permissions

RoleDefault access
AdminEverything, including settings, users and custom HTML.
ManagerEverything except settings and users.
Front deskTickets, customers, POS, invoices, appointments.
TechnicianTheir own tickets (and the parts list).

Change what each role can do in Settings → Roles. Every important action is recorded in the activity log.

Money actions have their own rights, given to managers by default: record refunds, delete payments, void invoices, edit paid invoices, give discounts and sell below the list price, export the customer list. For everyone: a payment can never be more than the balance due and a refund never more than what was paid; parts cost always comes from the stock item; stock can't be sold below zero; an invoiced ticket is changed on its invoice; a manager manages only technician and front-desk accounts; after 5 wrong passwords an account waits 5 minutes (failed sign-ins are in the activity log).

Settings reference

SectionWhat you set
ShopName, tagline, logo, favicon, contact details, WhatsApp, address, map, social links, opening hours
LocalisationDefault and available languages, time zone, date format, currency format (symbol, position, separators, 0 to 3 decimals — choose 3 for KWD, BHD, OMR, JOD, TND, LYD or IQD: amounts are stored with 3 decimals)
TicketsNumber prefixes, default warranty and due time, checklist, accessories, receipt terms, signature, approval statuses
SalesTax, payment methods, invoice numbering
BookingOn/off, slot length, days ahead, appointments per slot, closed days
MessagesTemplates and automatic sending
SMS / MailSMS gateway and SMTP
Statuses / RolesTicket statuses and the permission matrix
BackupDownload a backup

Languages & right-to-left

Language on the first visit. A visitor who has not chosen a language yet sees the website in the main language of their country — Algeria, Morocco, Tunisia, Egypt, the Gulf… in Arabic; France, Belgium, French-speaking Africa… in French; every other country in English — as long as the website offers that language. The country is found, in this order: a CDN header when the server is behind one (CF-IPCountry, X-Country-Code, CloudFront-Viewer-Country); else the visitor's IP address, looked up offline in the included IP database (no external service, no PHP extension, about 0.05 ms per lookup); else (local or private address) the browser's time zone. A language picked with the language switcher always wins and is remembered for a year (cookie). The country lists are in app/Support/LangGuess.php.

IP database. resources/geo/ip-country.bin is compiled from the free “IP to Country Lite” database by DB-IP (CC BY 4.0). Countries change rarely, but you can refresh it every month with php artisan geoip:update (downloads the latest file from db-ip.com), or download dbip-country-lite-YYYY-MM.csv.gz yourself and run php artisan geoip:update --file=dbip-country-lite-YYYY-MM.csv.gz. Behind a reverse proxy, make sure Laravel trusts it so that the visitor's real IP is used.

Fixdock ships in English, French and Arabic (with a right-to-left layout). Choose the default language and the languages offered to visitors in Settings → Localisation. Each user can pick their own language.

Adding a language

  1. Copy lang/fr.json to lang/xx.json (xx = the language code, e.g. es, de, tr).
  2. Translate the values (the right side of each line). Keep words in braces like :count unchanged.
  3. Add the code and the language name to languages in config/fixdock.php (and to rtl_languages if it is written right-to-left), then enable it in Settings → Localisation.

Your website in several languages

Every page can have one version per language. In the builder, use the language menu at the top to switch to another language: the first time, that version starts as a copy of the main one — translate the texts (and change images if you like), then click Publish. Visitors who choose that language see it; languages without a version show the main one.

The page name and the Google title/description (⚙ page settings) can also be set per language. Menu links are translated automatically for the standard pages; in Website → Menus you can type your own name for each language under every link.

The starter pages come with English, French and Arabic versions.

Backups & updates

Settings → Backup downloads a zip with your database and uploaded files. Keep regular copies somewhere safe.

Updating to a new version

  1. Download a backup.
  2. Upload the new files over the old ones except .env, storage/ and database/database.sqlite.
  3. Log in as an administrator — pending database updates run automatically on your first visit (or run php artisan migrate --force if you have a terminal).

Demo mode

Set FIXDOCK_DEMO=true in .env to run a public demo: a banner is shown, settings, users and deletions are read-only, and search engines are asked not to index the site. Add FIXDOCK_DOCS_URL=documentation/ (or any URL) to show a documentation link under the demo accounts on the login page — only if your web server serves that folder. Reset the demo data with:

php artisan fixdock:demo-reset --force

With the cron job above, this runs every night at 03:00.

Customizing the code

WhereWhat
app/Http/Controllers/AdminAdmin screens
app/Http/Controllers/SitePublic website (pages, tracking, booking, prices, contact)
app/Cms/Blocks.phpThe builder's block library: fields and defaults of every block
resources/views/site/blocksThe HTML of each website block
resources/views/printReceipts, labels, estimates and invoices
public/assetsCSS and JavaScript (no build step — edit and reload)
config/fixdock.phpRoles, default permissions and default settings
app/Support/Icons.phpThe icon set

Adding a block to the builder

  1. Add an entry to Blocks::all() in app/Cms/Blocks.php with a label, group, icon, fields and defaults. Field types: text, textarea, richtext, image, url, select, toggle, icon, repeater.
  2. Create resources/views/site/blocks/<type>.blade.php. The block's content is in $d and its style in $s.
  3. Style it in public/assets/site.css. It appears in the builder immediately.

Tests

Feature tests are in tests/Feature. Run them with php artisan test (needs the dev dependencies: composer install).

Troubleshooting / FAQ

I see “500 Server Error”

Check that storage/ and bootstrap/cache/ are writable. The error details are in storage/logs/. To see them in the browser temporarily, set APP_DEBUG=true in .env (set it back to false afterwards).

Pages other than the home page give “404 Not Found”

URL rewriting is off. On Apache, make sure mod_rewrite is enabled and .htaccess files are allowed (AllowOverride All). On Nginx, use the configuration above.

Images do not show

Uploaded files are served by Fixdock itself (no storage link needed). Check that storage/app/public is writable and that APP_URL in .env is your real address (with https).

Emails are not sent

Fill Settings → Mail with the SMTP details from your email provider and use “Send a test email” — the error message tells you what is wrong (usually the port: 587 with TLS or 465 with SSL).

The times are wrong

Set your time zone in Settings → Localisation.

I forgot my password

Use “Forgot password” on the login page (needs email set up), or ask another administrator to set a new one in Staff & roles.

Can I use it for several shops?

One installation manages one shop with several staff accounts. Install Fixdock once per shop (each on its own domain or sub-domain).

Credits & licences

Fixdock's code, design and icons were made for this product. It uses these open-source components, which allow commercial redistribution:

ComponentLicence
Laravel framework and its dependencies (Symfony components, etc.)MIT
bacon/bacon-qr-code (QR codes)BSD-2-Clause
dasprid/enum (used by bacon-qr-code)BSD-2-Clause
Leaflet 1.9.4 (maps, public/assets/vendor/leaflet)BSD-2-Clause
Map data © OpenStreetMap contributors (shown on the maps)ODbL
Fonts: Inter, Poppins, Manrope, Rubik, Outfit, Cairo — loaded from Google FontsSIL Open Font License 1.1
“IP to Country Lite” database by DB-IP (resources/geo/ip-country.bin, converted to a binary file) — IP Geolocation by DB-IPCC BY 4.0

The full licence texts of the PHP packages are in vendor/. Demo data (names, shops, reviews) is invented. Brand and device names mentioned in the demo price list belong to their owners and are used only to describe compatible devices; no logos or product photos are included.

Changelog

1.4.0

1.3.0

1.2.6

1.2.5

1.2.4

1.2.3

1.2.2

1.2.1

1.2.0

1.1.0

1.0.1

1.0.0