Guard Scheduler documentation
Everything you need to install, set up and run a security-guard company: guards and clients, shifts and attendance, payroll and invoices, reports, your own website, the guard app API and the AI tools.
Overview
Guard Scheduler is a complete management system for security-guard companies. Run it for your own company, or as a SaaS: companies sign up, choose a plan and manage guards, clients, shifts, attendance, payroll and invoices in one place, with their data kept completely separate.
Who uses what
| Role | What they do | Where |
|---|---|---|
| Super admin | Runs the platform: companies (owners), plans, payments, the public landing page and system settings. | Admin panel |
| Owner | Runs one security company: guards, clients, contracts, shifts, attendance, payroll, invoices, reports and the company website. | Admin panel |
| Manager / staff | Whatever the owner allows through roles and permissions. | Admin panel |
| Security guard | Sees their own shifts, clocks in and out, requests leave, files incident reports and sees their pay. | Admin panel (limited) and the app API |
| Client | Sees the guards on their sites, hours of service, invoices, incidents and contract. | Admin panel (limited) |
Quick-start checklist
- InstallCheck the requirements, create the database, upload the files and run the installer.
- Sign in and change the passwordsUse the default logins once, then change every password.
- Switch on the background workAdd the cron line so expiry reminders and no-show alerts run.
- Company details and emailIn Settings fill in the Company and Email (SMTP) tabs.
- Add your peopleCreate clients and their sites, then guards.
- Plan the first weekCreate duty times and schedules, and look at the roster calendar.
- Optional extrasConnect your AI service, publish your website and set up message templates.
Server requirements
Guard Scheduler is built with Laravel. Make sure your hosting meets the following before you start.
- PHP
- 8.0.2 or newer. PHP 8.1 or 8.2 is recommended.
- Database
- MySQL 5.7+ (8 recommended) or MariaDB 10.3+.
- Web server
- Apache (with
mod_rewrite) or Nginx. - HTTPS
- Strongly recommended. Required for online payments, and for the company websites on their own domains.
- Cron
- One cron line. See Background work.
Required PHP extensions
Folders that must be writable
The installer checks these for you. They must be writable by the web server:
storageand everything inside it (logs, cache, sessions, uploads)bootstrap/cachepublic/uploads(pictures for the company websites)
.htaccess that switches PHP off inside them. On Nginx, add an equivalent rule so files in storage/upload and public/uploads are served as files only.Create the database
Create an empty MySQL database and a user for it. The steps below use cPanel; other panels are similar.
- Open MySQL DatabasesLog in to your hosting panel and open MySQL® Databases.

- Create the databaseEnter a name and click Create Database. Hosts usually add a prefix to the name; use the full name later.

- Create a userIn Add New User enter a user name and a strong password and click Create User.

- Add the user to the databaseIn Add User To Database pick the user and the database and click Add.
- Give all privilegesTick ALL PRIVILEGES and save.

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

- Go to the right folderFor your main domain this is usually
public_html.
- UploadClick Upload and add the files (a zip file is quickest; right-click it and choose Extract).
- CheckYou should see
artisan,app,public,storageand the other folders in your web root.
Run the installer
Open yourdomain.com/install in your browser and follow the six steps.
- StartOpen the installation address.

- Check the serverClick Click to Check Your Server Requirements.

- Check permissionsEvery folder should show a green tick. Click Click to Configure Your App Environment.

- Choose the setup typePick Using Form Wizard Setup.

- Enter the detailsFill in the database host, name, user and password, the application name and the application URL (the address visitors will use). Click Click to Install.

- FinishWhen you see Application has been successfully installed, click Click here to exit.

https://.Default logins
A fresh installation comes with three accounts so you can look around.
| Role | Password | |
|---|---|---|
| Super admin | superadmin@gmail.com | 123456 |
| Owner | owner@gmail.com | 123456 |
| Manager | manager@gmail.com | 123456 |
Background work (cron)
Some things have to happen on their own, such as reminding you before a guard's permit expires. They run from one cron line that fires every minute.
Add this to your server's cron jobs (in cPanel: Cron Jobs). Replace the path with the folder that contains artisan:
* * * * * cd /home/youraccount/public_html && php artisan schedule:run >> /dev/null 2>&1
| Task | When | What it does |
|---|---|---|
Expiry reminders (guards:expiry-reminders) | Every day at 08:00 | Emails guards and the owner 30, 14, 7, 1 and 0 days before an arms permit or an unfinished training ends, and before a client's contract ends. Each reminder is sent once. |
No-show check (attendance:check-no-shows) | Every 30 minutes | Emails the owner about guards who have not clocked in 15 minutes after their shift began. |
Try them by hand
Both tasks have a safe preview mode that lists who would be emailed without sending anything:
php artisan guards:expiry-reminders --dry-run php artisan attendance:check-no-shows --dry-run
Roles & menu
What a person can see and do depends on their role. Owners create roles and decide, permission by permission, what each role may do.
How the menu is arranged
| Group | Contains |
|---|---|
| Home | Dashboard, and (for owners) staff users, roles and sign-in history. |
| Operations | Scheduling (all shifts, today, the calendar), Attendance, Leave, Incident, Complainant, Duty Times. |
| People & Clients | Guards, Clients, Contracts. |
| Finance | Invoices, Payroll, Expenses. |
| Insights & Tools | Reports, the AI Assistant and N8N. |
| Communication | Contact diary and Notice board. |
| Website | My Website and Website enquiries (owners). |
| System configuration | Guard types, duty time types, expense types and message templates. |
| System settings | Landing-page content, pricing plans, coupons and Settings. |
A heading only appears when you can open at least one item under it.
Roles and permissions
- Open RolesGo to Staff Management → Roles.
- Create a roleGive it a name and tick what it may do (view, create, edit, delete for each area).
- Add a userIn Staff Management → Users create the user and choose the role.
Dashboards
Each role lands on a dashboard made for them. The top of the page answers "what needs me today?"; the original summary cards and charts are below it.
Owner
- Needs your attention: guards who have not clocked in, permits and trainings ending within 30 days, overdue invoices, client contracts ending within 30 days, leave requests waiting, and hours worked that are not invoiced yet. Each tile links to where you fix it.
- Performance for the last 7, 30 or 90 days: hours worked, payments received, incidents and money owed to you, each compared with the period before.
- Today's roster with every shift marked On duty, Not clocked in, Later today or Finished.
- Busiest clients, recent incidents, and permits ending soon.
- An optional AI summary.
Security guard
- Your next shift, whether you are clocked in, hours this week and month, leave requests, shifts today and the next two weeks.
- Your permits and trainings that end soon, your latest pay, and incidents you reported.
Client
- Guards on your sites today and whether they are on duty, hours of service this month compared with last month.
- Balance to pay (with what is overdue), your latest invoices, your contract and its end date, and recent incidents at your sites.
- A client only ever sees their own invoices, sites and incidents.
Super admin
- Companies, revenue this month, active companies and AI use across the platform.
- Bank transfers waiting for approval, plans ending within 14 days and inactive companies.
- Growth and revenue for the last six months, companies per plan and the newest companies.
Guards
Each guard has a profile, a login, an hourly pay rate and records of their training, arms permits and availability.
Add a guard
- Create the guardGo to People & Clients → Guard and click create. Fill in name, email, password, phone, guard type and the pay per hour (used for payroll and for labour-cost reports).
- Add training and arms permitsOpen the guard and add trainings (title, dates, status) and arms permits (title, start and end date). The end dates drive the expiry reminders.
- Set availabilityChoose the days the guard can work.
- Upload documentsAttach identification or licence documents.
The Activity tab
Open a guard and choose Activity to see:
- Hours this month compared with last month, and what they earned.
- Their on-time rate over the last 90 days (see Punctuality), with how many shifts were late or missed.
- Incidents they reported and complaints against them, and leave days taken this year.
- A 12-week hours chart, the clients they mostly work for, their next shifts, recent attendance, pay history, and permits and trainings ending soon.
Clients & sites
A client is a company or person you protect. Each client has one or more sites where guards work.
Add a client
- Create the clientGo to People & Clients → Client and click create. Enter their details, the contract dates and status (Pending, Running or Completed).
- Set the hourly rateThe Hourly Rate is what you charge per guard hour. It is used to invoice from attendance and for the profitability report. Leave it at 0 if you invoice another way.
- Add the sitesAdd each site with its address and any site instructions for the guards.
The Activity tab
- Hours of service this month compared with last month.
- Margin this month: hours × the client's rate, minus what the guards cost.
- Balance to pay (with what is overdue) and total invoiced and paid.
- Guards on duty today, coverage by site, recent attendance, latest invoices and incidents.
Import many at once
On Guard and Client lists, press Import. Download the sample CSV, fill in one row per person, and upload it (up to 500 rows). Only name and email are required. Rows with a bad or already-used email, a bad date or number, or beyond your plan limit are skipped and listed with the reason, and every other row is added. Imported people can sign in after choosing a password with Forgot password.
Extra cover requests
A client can ask for more guards from their own dashboard: Extra Cover → Request extra cover. They give the dates, start and end time, how many guards, the site and a note, and the owner is emailed. The owner opens Operations → Extra Cover (a line on the dashboard shows how many are waiting), then approves or declines with an optional reply, and the client is emailed the answer. After approving, use Schedule guards to book the guards. A request can be answered once, and a client can withdraw one that has not been answered. Clients only see their own requests.
Contracts
A contract is the agreement text a client signs. The wording comes from Settings → Contract, so you write it once.
- Write the templateIn Settings → Contract enter your standard contract text.
- Create a contractOpen People & Clients → Contract and create one for a client.
- The client signsThe client opens the contract while signed in and draws their signature. Only that client can sign it, and only once.
- RenewUse Renew on the contract to start a new term. This creates a new contract version and updates the client's contract dates.
What the contract page shows
- The client, their hourly rate, and the contract term with days left (Running, Ending soon or Ended).
- Whether it is signed, and when.
- The money picture: hours this month, invoiced so far, still owed and margin.
- Earlier versions of the contract for the same client.
Scheduling
A schedule puts a guard on a client's site over a date range, working the hours of a duty time.
Duty times
A duty time is a weekly pattern, for example Day shift: Monday–Friday 08:00–16:00. Create them under Operations → Duty Times. A duty time with no hours defined counts as all day.
Create a schedule
- Open SchedulingGo to Operations → Scheduling and click create.
- Choose guard, client, site and duty timePick the dates the arrangement covers.
- SaveThe guard and the client are notified if the matching message templates are switched on.
Double-booking protection
You cannot schedule a guard in two places at once. When you save, the system compares the guard's other schedules: if the dates overlap and the working hours overlap on a shared weekday, the schedule is refused and the message names the clash. Back-to-back shifts (one ends at 16:00, the next starts at 16:00) are fine. The end date must not be before the start date.
The roster calendar
Operations → Scheduling → Calendar shows the week as a grid: guards down the side, days across, each cell listing the shifts with time, client and site. Use Previous, This week and Next to move around. Guards see only their own row and clients only their own sites.
Today
The Today view lists everyone scheduled today.
Attendance & clocking in
Attendance records when a guard really worked. It feeds payroll, invoices and reports.
- Clock in / out: a guard uses the buttons on their dashboard. Clocking in needs a schedule that covers today, and a guard cannot be clocked in twice. Clocking out only closes the guard's own open record.
- Manual entries: owners can add or correct attendance (guard, client, site, date, start and end time).
- Overnight shifts are handled: an end time earlier than the start counts as the next day.
- A record without an end time is open. Open records are not paid or invoiced until they are closed.
Where the guard clocked in
When a guard clocks in or out from a phone and allows location, the position is saved. The owner sees a map pin next to the location in Attendance. If the guard declines or the phone cannot find a position, the clock-in still works. The mobile API accepts optional latitude and longitude on clock-in and clock-out.
No-show alerts
Every 30 minutes the system looks at today's shifts. If a shift began more than 15 minutes ago and the guard has no clock-in that covers it, the owner gets one email listing those guards. This needs the cron line.
Leave
Guards request leave; owners approve or reject it.
- RequestA guard opens Operations → Leave and requests dates with a reason (status Pending).
- DecideThe owner or a manager changes the status to Approve or Reject.
- See itLeave waiting for a decision appears in Needs your attention on the owner dashboard.
Incidents & complaints
Incidents record what happened on a site. Complaints record problems clients or others raise about people.
Report an incident
Go to Operations → Incident and create one: client, guard, date and time, location, what happened, who was involved, injuries or damage, and photos. Each gets an incident number.
Context on the incident page
Open an incident to see:
- Who was on duty at that moment at that client, from the clock-ins. If the reporting guard was not clocked in, you are told.
- Same place, last 90 days: earlier incidents at the same client and location. Two or more earlier ones mark it a Repeat location.
- Other incidents reported by the same guard.
Complaints
Operations → Complainant records who complained, against whom, a title and description, the priority (low, medium, high) and the status (pending, in progress, resolved, closed), with attachments.
Payroll
Payroll turns the hours a guard actually worked into a pay run.
- Choose the periodOpen Finance → Payroll and generate a pay run for a date range (optionally only some guard types).
- The system calculatesFor each guard it adds up finished attendance in the period and multiplies by the guard's hourly pay rate.
- PayMark pay runs as paid when you have paid the guard. Guards see their own pay on their dashboard.
- Overnight shifts count correctly.
- Open (not yet clocked out) shifts are skipped and stay unpaid for the next run.
- Attendance already included in a pay run is never paid twice, even if you generate for overlapping dates.
Invoices & payments
Invoices bill your clients. Each invoice has one line per site and records the payments against it.
Create an invoice by hand
Finance → Invoice → Create: choose the client, dates, and add a line (site, description, amount) for each charge.
Invoice from attendance
- Set the client's rateEnter the Hourly Rate on the client.
- GenerateOn the Invoice page click Generate from attendance, choose the client, the period and a due date.
- ReviewYou get a draft invoice with one line per site: hours × rate. Check it, then send it like any other invoice.
- Only finished shifts are billed; overnight shifts count correctly.
- Every attendance record is marked as billed, so running it again for the same period finds nothing new and never bills the same hours twice.
- It stops with a clear message if the client has no rate or there is nothing unbilled.
Email an invoice or salary slip
On an invoice, press Email to client; on a salary slip, press Email to guard. The message contains the items, totals and balance (or the period and net salary) and is sent with your own email settings. Use the print button to save a PDF copy from your browser.
Payments
Clients can pay online and owners can record payments. Payment methods you can switch on in Settings → Payment:
Bank transfers
A client sends a bank transfer with a receipt and the payment is pending. The owner then accepts or rejects it on the invoice. Only the owner can decide, and only a pending payment can be decided once.
Expenses
Record what the company spends, by type, with an optional attachment such as a receipt.
Create expense types (for example Uniforms, Fuel) under System configuration → Expense type, then add expenses under Finance → Expense. The expense report totals them by type.
Notice board & contact diary
Two small tools for communication.
- Notice board (Communication): post announcements with an optional attachment.
- Contact diary: keep a diary of calls and conversations with contacts.
Reports
Open Insights & Tools → Reports for a page that lists every report you are allowed to see, grouped as Analysis, Operations and Finance. Each report only appears for people who have its permission.
Analysis reports
These answer business questions, not just list records.
| Report | The question it answers | How it is calculated |
|---|---|---|
| Labour cost | What did each guard cost? | Finished shifts × the guard's hourly pay rate, for the period you choose. |
| Client profitability | Which clients make money? | Hours at the client × the client's hourly rate (billable value), minus the guards' pay for those hours. Shows the margin and also what you actually invoiced. |
| Punctuality | Who is late or missing? | Every shift the roster planned is checked against the clock-ins. A clock-in more than 15 minutes after the start is late; no clock-in is missed. Shifts that have not finished yet are not judged. |
| Receivables aging | Who owes what, and for how long? | Unpaid invoices grouped as not due, 1–30, 31–60, 61–90 and over 90 days late, per client. Only payments that arrived count. |
| Permits & trainings | What has expired or is about to? | Arms permits and unfinished trainings that end within the number of days you choose, including those already expired. |
Punctuality in detail
The roster is the source of truth: a guard who was scheduled but never clocked in shows up as missed even though no attendance record exists. This is how you find no-shows after the fact.
Client profitability in detail
Set each client's Hourly Rate first. A client with no rate shows a billable value of 0, so its row shows only cost. The Invoiced column is what you really billed in the period, which may differ from the billable value if you invoice on a different basis.
Operations and finance reports
Scheduling, Attendance, Leave, Incidents, Complaints, Invoices, Payroll and Expenses are filtered lists (by guard, client, type or date range).
Export and print
- Every report has a CSV button that downloads exactly what is on screen, with the same filters, and a total row on the analysis reports.
- Spreadsheet programs run text that starts with
=,+,-or@as a formula. The export defuses such text so a malicious name cannot do anything when you open the file. - The analysis reports have a print button that prints just the table.
Company website
Every owner can publish a public website for their security company: services, credentials, FAQ and a quote-request form. It is edited like a simple CMS, with no technical skills.
Switch it on
- Open My WebsiteIn the Website menu group (owners only) click My Website. The first visit creates a starter site with five pages: Home, About us, Services, Request a quote and Contact. It stays switched off until you decide.
- Fill in the basicsBusiness name, tagline, colours, logo, phone, email, address, opening hours and social links.
- PreviewWhile the site is off, only you can open it (a yellow bar says Preview only, and search engines are told not to index it).
- Go liveTick Website is live and save. Share the address shown:
yourdomain.com/site/your-name.
Pages and the page editor
My Website → Pages lists your pages. A page is a stack of blocks that you can add, reorder, switch off and edit. Set a page title, address, whether it appears in the menu, its order, and the title and description search engines show.
Start a new page from a template: Home, About us, Services, Request a quote, Contact, FAQ, Our work (gallery), Our team, Packages, Industries we serve, Mobile app, Careers, Licences & compliance, Client reviews, Privacy policy, Terms of service or Blank page. Inner-page templates start with a Page banner so every page has a clear title and a picture.
| Block | Use it for |
|---|---|
| Get our app | Your company QR code, company code and store buttons for the guard and client apps. Shown only when the apps are live. |
| Page banner | A slim title strip with a picture for the top of an inner page. |
| Industries we protect | Cards for the types of site you guard, each with an icon and an optional link. |
| Hero banner | The big headline with buttons, trust badges and an optional quick quote form. |
| Text and picture | A heading and paragraphs with a picture on either side. With no upload it draws a picture for you: shield, security guard, patrol vehicle, control room, event crowd, team, building or equipment. |
| Security services | Cards for static guarding, patrols, events, alarm response and so on, each with an icon and optional price. |
| Feature cards | Why clients choose you. |
| Numbered steps | How getting started works. |
| Numbers strip | Big numbers such as "24/7" or "10+ years". |
| Client testimonials | Quotes from clients you work for. |
| Photo gallery | Your team, vehicles and sites. |
| Areas we cover | The cities or regions you serve. |
| Questions and answers | An expandable FAQ. |
| Packages | Guarding packages side by side. |
| Team | Management and senior staff, with photos. |
| Licences & certifications | Licences, accreditations or clients you protect. |
| Map | A Google Maps embed. |
| Call-now banner | A bold strip with a big phone button for urgent cover. |
| Video | A YouTube or Vimeo video. |
| Call me back | A short name-and-phone form. |
| Call to action | A coloured banner with one button. |
| Contact details | Email, phone, address and hours. |
| Quote request form | Visitors describe the cover they need. |
Pictures
Upload pictures in the editor (PNG, JPG, WebP or GIF, up to 2 MB each, up to 120 per company). Pictures are renamed automatically and a page can only use pictures from your own library.
Look and feel
Choose the main and dark colours, font style, corner roundness and a light or dark theme. Add the footer text, copyright line and social links, and a floating WhatsApp button if you give a number.
Quote requests
Visitors fill in the quote form (name, phone or email, cover needed, site address, start date, number of guards, notes) or the short call-back form. Each arrives in Website enquiries and, if you keep Email me when a quote request arrives on, in your inbox.
- Set each enquiry to New, Contacted or Closed. New ones show as a number next to the menu item.
- Create client opens the normal new-client form with the visitor's details already filled in, and marks the enquiry as contacted.
- Export downloads all enquiries as CSV.
- The form is protected against bots (a hidden field and a limit of six sends a minute per visitor). A switched-off site accepts no requests.
Search engines
Each page has its own title and description, a canonical address, structured business data (including your phone, email and address) and a sitemap at /site/your-name/sitemap.xml.
Use your own domain
A company can show its website on its own address, such as www.alphasecurity.com, instead of /site/alpha.
- Enter the domainIn My Website type the domain (for example
www.alphasecurity.com) and save. It starts as not verified and does not answer yet. - Point it at this serverAt your domain provider create a CNAME (or A) record for the domain pointing at this application's address (shown on the page).
- Prove you own itAdd the TXT record the page shows: a name like
_guardsite-verify.www.alphasecurity.comand a long secret value that only you were given. - CheckPress Check my domain. DNS changes can take minutes or up to a day; try again if it is not found yet. When it is found, the domain answers with your website.
Server settings the platform administrator needs
- The web server must accept requests for any host name and send them to this application (an Apache default virtual host, or Nginx
server_name _;). - A security certificate (HTTPS) is needed for each custom domain. Many hosts offer automatic certificates; otherwise use a wildcard or per-domain certificate. The platform does not issue certificates itself.
Good to know
- Changing the domain, or removing it, resets the verification.
- On a custom domain the Client login button leads to the main application's sign-in page.
- The
/site/your-nameaddress keeps working as well. - A switched-off website shows nothing on its domain, even when verified.
Mobile apps for guards and clients
Guards and clients get their own app. Each person enters or scans their company’s code, then sees that company’s name, logo and colour and signs in with the same email and password as on the website. The apps are sold as an add-on; this is what the server already provides for them.
For the owner: the Mobile App page
Website → Mobile App shows your QR code, company code and invite link (with a print button for the office wall or a vehicle). Under it you set the branding shown after sign-in: app name, main colour (it starts as your dashboard theme colour), logo, favicon / app icon, welcome text, support phone and email, and which parts clients can see (guards on site, incidents, invoices, contracts, extra cover requests). Changing the company code stops printed QR codes from working.
On your website
Add the Get our app section to any page, or start a page from the Mobile app template. Visitors see your QR code, company code and the store buttons. It shows only once the apps are live and switched on for your company.
For the super admin: Mobile Apps
- The apps are live switch: until it is on, the apps cannot sign anyone in and no invite page or website offers them. Turn it on after both apps are published.
- Store links (Google Play and App Store) for the guard and client apps, shown to owners, on invite pages and on websites.
- The oldest app version allowed (older apps are asked to update), and a maintenance message that pauses both apps.
- A table of every company with its code, number of guards and clients, last use, and a switch to turn the apps off for one company (its people are signed out at once).
Push notifications
Guards get a push for a new shift and when leave is answered; clients when an extra cover request is answered; both for a new notice on the notice board. The super admin turns this on by pasting the Firebase service account file (Firebase console → Project settings → Service accounts → Generate new private key) into Mobile Apps. It is stored encrypted and never shown again. Each app also needs its own Firebase file (google-services.json or GoogleService-Info.plist); without them the apps work as usual, just without pushes.
With no signal
Clocking in or out, incident reports, leave, extra cover requests, panic alerts, checkpoint scans and shift-log entries are saved on the phone and sent when the signal returns. A clock-in or clock-out keeps the time the guard really tapped (up to 12 hours back; anything else counts as now) and a note on the attendance record says it was recorded on the phone. Sending the same thing twice never creates it twice.
Safety, patrols and daily reports
Guards have a panic button (it asks first, then emails you with the guard’s position) and, if you set a minutes value under Mobile App → Lone-worker safety check-in, must tap I am OK that often while on duty; a missed check-in raises an alert once per shift. Both show under Safety Alerts in the menu (with a badge for open ones and a line on the dashboard) where you mark them as handled. The check runs every five minutes, so the server cron * * * * * php artisan schedule:run must be set up.
Under Patrol Checkpoints add checkpoints per client site and print their QR codes. Guards scan them during a round with the guard app (it also works offline). Field Reports lists patrol scans, guard shift-log entries (with photos) and client ratings. Clients see the daily report, patrol rounds and can rate the service, unless you switch “Patrols and daily report” or “Rate the service” off on the Mobile App page. Guards can also accept or decline a shift, and the client is notified when the guard arrives on site.
The API the apps use
| Request | What it does |
|---|---|
GET /api/v1/platform | Public. Whether the apps are live, the maintenance message, minimum versions and store links. |
GET /api/v1/company/{code} | Public. The company’s name, logo, favicon, colour, welcome text and visible modules, so the app can show them before sign-in. Unknown codes and switched-off companies get the same answer. |
POST /api/v1/login | Email, password and the company code in; a token, the role (guard or client) and the company branding out. An account from another company is refused like a wrong password. Limited to 5 attempts a minute. |
GET /api/v1/me | The profile and company branding, and for a guard whether they are clocked in. |
GET /api/v1/shifts?from=&to= | Guards: their shifts (default the next 14 days; at most 62). |
POST /api/v1/attendance/clock-in | Guards: clock in (needs a schedule covering today). Optional latitude and longitude. |
POST /api/v1/attendance/clock-out | Guards: close the open attendance. Optional latitude and longitude. |
GET /api/v1/notices | Both apps: the company notice board. |
POST /api/v1/device-token and DELETE /api/v1/device-token | Both apps: register or remove this phone for push notifications. |
GET /api/v1/guard/summary | Guards: next shift, hours this month, whether clocked in, leave waiting. |
GET /api/v1/attendance | Guards: their attendance history (default 30 days). |
GET /api/v1/leaves and POST /api/v1/leaves | Guards: list their leave and request more (start date, end date, reason). |
GET /api/v1/payslips | Guards: their salary slips. |
GET /api/v1/incidents and POST /api/v1/incidents | Guards: their reports, and report a new incident (client, title, what happened, place). GET /api/v1/clients lists the clients to pick from. |
GET /api/v1/client/summary | Clients: guards on duty now, balance due, overdue invoices, recent incidents, contract dates, and which parts of the app are visible. |
GET /api/v1/client/guards | Clients: who is on duty at their sites now and the roster for the next 7 days. |
GET /api/v1/client/incidents | Clients: incidents at their sites. |
GET /api/v1/client/invoices and /api/v1/client/invoices/{id} | Clients: invoices with totals, payments and balance. |
POST /api/v1/client/invoices/{id}/pay-link | Clients: a one-time link (valid two minutes) that opens that invoice on the website already signed in, to pay online. |
GET /api/v1/client/contracts and POST /api/v1/client/contracts/{id}/sign | Clients: their contracts, and sign one with a drawn signature (once, only their own). |
GET, POST and DELETE /api/v1/client/cover-requests | Clients: list, send and withdraw extra cover requests. |
POST /api/v1/shifts/{id}/respond | Guards: accept or decline one of their shifts. |
POST /api/v1/safety/panic and POST /api/v1/safety/check-in | Guards: panic alert (optional position and note) and the “I am OK” check-in. |
GET /api/v1/patrol/today and POST /api/v1/patrol/scan | Guards: checkpoints of the site being worked, and scanning one by its QR code. |
GET /api/v1/log and POST /api/v1/log | Guards: shift-log entries with up to three photos. |
GET /api/v1/client/patrols and /api/v1/client/report | Clients: patrol rounds and the daily report. |
GET and POST /api/v1/client/ratings | Clients: rate the service or one guard. |
POST /api/v1/logout | Revoke this token. |
Send the token as Authorization: Bearer …. The app should also send X-App-Name (guard or client) and X-App-Version. Replies are JSON; a refusal carries a short code: app_not_live and maintenance (503), update_required (426), app_disabled and account_inactive (403).
- Only guards and clients can sign in through the API.
- Accounts with two-factor sign-in must use the website: the API would otherwise be a way around the second step.
- A token stops working as soon as the person is deactivated or the company’s app is switched off.
- A person sees only their own company and their own data.
AI tools
AI features are optional. Each company connects its own AI service with its own key, and the plan decides whether AI is included.
Connect your AI service (owner)
- Open the AI tabGo to Settings → AI Settings.
- Choose the servicePick one: GPT models, Anthropic (Claude), Google (Gemini), Mistral AI, DeepSeek, Groq, OpenRouter, or Other for any service that accepts the common chat format (enter its https address).
- Paste your keyOptionally set a model name; otherwise a sensible default is used.
- TestPress Test connection. It tries the key without saving it and without using up your daily allowance.
- Switch AI on and saveAI only works when it is switched on, a key is saved, and your plan includes it.
AI and plans
In Pricing → Packages each plan has an Enabled AI Support switch and an AI requests per day limit (0 means unlimited). The limit is counted per company per day, across every AI feature. When a company is over its limit, or its plan does not include AI, the AI features stay switched off. If plans are turned off for the whole system, AI is available with a default daily limit.
AI Assistant
Insights & Tools → AI Assistant answers questions about your own data, for example:
- "Who is working today?" · "Which guards are free tomorrow?"
- "Which invoices are unpaid?" · "Which permits expire in the next 30 days?"
- "Hours worked per guard this month" · "Incidents in the last 7 days"
The assistant is read-only: it can look things up but cannot change anything. It only looks at the data of the person asking, and only for areas that person has permission to see. To answer, the names and figures it finds are sent to your AI service; email addresses and phone numbers are never sent. Clients and guards cannot use it.
AI summary on the dashboard
Owners and guards can press Write my summary for a short briefing of how the business is doing or what the day looks like. Only totals (counts and amounts) are sent for the owner briefing, never guard or client names, and the answer is kept for three hours so reloading costs nothing.
Writing help
Many forms (notices, contacts, incidents, leave, expenses, scheduling and more) show an AI Content Generator button that drafts text from a few prompts. It appears only when AI is available to your company.
Email, SMS & WhatsApp messages
The system can message people when things happen. Edit the wording under System configuration → Email notification.
| Message | Sent when |
|---|---|
| New user | A user account is created. |
| New guard / new client | A guard or client is added. |
| Schedule a guard / assign a guard | A schedule is created: the client and the guard are told. |
| Attendance | Attendance is recorded. |
| Incident | An incident is reported. |
| Leave | Leave is requested. |
| Training | A training is added. |
| Payslip | A pay run is generated. |
| Invoice / payment | An invoice is created or a payment recorded. |
For each message you can switch on email, SMS (Twilio) and WhatsApp. Use the short codes shown beside the editor (such as the company name or the guard's name) to personalise them.
What you need
- Email: the SMTP details in Settings → Email. Use Test to send yourself a message.
- SMS: your Twilio account details in Settings → Twilio.
- WhatsApp: the WhatsApp number and credentials in the same place.
N8N & webhooks
Connect Guard Scheduler to other tools. When something happens, it can call a web address (a webhook) that you choose, for example an N8N workflow.
Open Insights & Tools → N8N, create a webhook, choose the event and the address. Available only if your plan includes N8N.
| Event | Fires when |
|---|---|
| create_user, create_guard, create_client | A user, guard or client is created. |
| create_incident | An incident is reported. |
| guard_schedule, assign_guard | A schedule is created. |
| create_attendance | Attendance is added. |
| create_leave, create_training | Leave or a training is added. |
| create_payroll | A pay run is generated. |
| create_invoice, new_payment | An invoice is created or paid. |
Plans, companies & payments (super admin)
If you run Guard Scheduler as a SaaS, companies sign up, pick a plan and pay.
Plans
Pricing → Packages: set the title, price, interval (monthly, quarterly, yearly), the limits on users, guards and clients, and which extras are included (sign-in history, AI with its daily limit, N8N). Switch the whole pricing system on or off in Settings → General.
Payments and approvals
- Companies can pay a plan online or by bank transfer. A bank transfer waits as pending on Pricing → Transactions until you accept or reject it. Accepting activates the plan; each transfer can be decided only once.
- You can also give a company a plan by hand from the company's page. This is for the super admin only.
- Coupons give discounts; their use is listed under coupon history.
Companies
- Customers lists every company with its plan. Open one to see its details, change its plan and see its transactions.
- You can sign in as a company to help them (Continue as Customer) and return to your own account afterwards.
- Deactivating a company stops its people from signing in.
Public landing page
System settings → CMS controls the home page content, FAQ, custom pages and footer. In Settings → General you can switch the landing page, the sign-up page and email verification for new companies on or off.
Settings
The tabs you see depend on your role and permissions.
| Tab | What it holds |
|---|---|
| Account | Your name, email and picture. |
| Password | Change your password. |
| General | Application name, logos, theme, language, plans on/off, sign-up and landing page options (super admin). |
| Company | Company name, address, phone, number prefixes (guards, clients, invoices, payroll, contracts, incidents), date and time formats, timezone. |
| SMTP details used to send email, with a test button. | |
| Payment | Gateway keys for Stripe, PayPal, Flutterwave, Paystack and Razorpay, and bank transfer details. |
| SEO | Meta title, description and image for the site (super admin). |
| Google reCAPTCHA | Protect the sign-in and sign-up pages. |
| Two-factor | Turn on a one-time code for your own sign-in. |
| Twilio | SMS and WhatsApp details. |
| Contract | The standard contract wording. |
| AI settings | Your AI service and key (owners). |
Security
How the system keeps companies and their data safe.
Companies are kept apart
Every record belongs to one company, and every screen loads records only for the signed-in person's own company. Opening another company's record, even with its address, shows "not found". Companies cannot see each other's users, roles, invoices, websites or reports.
Permissions are enforced on the server
Hiding a menu item is not security, so every action also checks the permission on the server. A guard or client cannot reach settings, payroll, roles or other companies' data by typing an address. Roles cannot grant permissions their creator lacks.
Two-factor sign-in
Turn it on under Settings → Two-factor. The one-time code can be tried only a few times a minute, and turning it off requires a deliberate form submission, not just opening a link.
Money actions
Accepting a bank transfer, assigning a plan and approving an invoice payment are restricted to the people who should decide (super admin or the owner) and cannot be triggered by a link or by the person who is paying.
Activity log and login history
Activity Log (owners) shows who created, changed or deleted contracts, invoices, invoice payments, payroll, attendance, leave, incidents, expenses, schedules, guards, clients and users, with the old and new value of each change. Passwords and signatures are never written to it. Logged History lists every sign-in by your guards, clients and managers (time, role, device, browser and, when it can be found, the place). It needs the Logged history option on the plan.
Online payments are checked
A plan or invoice is credited only when the payment gateway confirms the payment succeeded, the amount paid covers what is owed, and that payment has not been used before. A cheap payment cannot buy a dearer plan, and one payment cannot be credited twice.
Uploads
Files whose names look like programs (for example .php) or that contain program code are rejected everywhere. Website pictures are checked, renamed and kept in the owner's own folder.
Keys
AI keys are stored encrypted. Back up your .env file: the application key in it is needed to read them, and losing it makes saved keys unreadable (owners would simply enter them again).
Upgrade
Updating keeps your data and brings new features.
- Save your own filesKeep copies of
.env,.htaccessand thestoragefolder. - Replace the filesUpload the new
main_filecontents over the old ones, but do not overwrite.env,storageor the uploaded pictures inpublic/uploads. - Update the databaseSign in as the super admin. If the database needs updating you are taken to the updater automatically; press the update button. (With command-line access you can run
php artisan migrate --forceinstead.) - Clear cachesRun
php artisan optimize:clearif you have command-line access, or delete the files instorage/framework/views. - CheckSign in as an owner and open the dashboard, scheduling and reports.
resources/lang, the update overwrites them. Keep your edits and re-apply them afterwards.Troubleshooting
Common problems and what to check.
| Problem | What to check |
|---|---|
| A blank page or a 500 error | Open storage/logs/laravel.log and read the last lines. Check the writable folders. |
| "This feature needs the latest database update" | The database has not been updated yet. See Upgrade. |
| No reminder or no-show emails | Is the cron line running? Has the company set up email under Settings → Email? Try the --dry-run command to see who would be emailed. |
| A guard cannot clock in | They need a schedule that covers today, and must not already be clocked in. |
| "Guard is already scheduled" | The dates and working hours overlap another schedule for that guard. Change the dates or the duty time. |
| Invoice from attendance says "Set an hourly rate" | Open the client and enter an hourly rate above 0. |
| The AI features are missing | Check Settings → AI: the service is chosen, a key is saved, AI is switched on, and your plan includes AI and still has requests left today. |
| My website shows "not found" | Is it switched on? Is the page enabled? Only you can see a switched-off site. |
| My own domain does not answer | The domain must be verified (the TXT record found), point at this server, and the server needs to accept the host name and have a certificate. See Use your own domain. |
| Pictures do not appear on the website | The public/uploads folder must be writable and served by the web server. |
| A report is empty | Widen the date range, and check that attendance has an end time (open shifts are not counted). |
What's new in version 2.0
Released 2 November 2026.
New
- Dashboards for every role with attention lists, trends and an optional AI summary.
- Scheduling: weekly roster calendar and double-booking protection.
- Import guards and clients from a CSV file, and email invoices and salary slips.
- Extra cover requests from clients, an Activity Log for owners, clock-in position, and a complete login history.
- Reminders before permits, trainings and client contracts end, and no-show alerts.
- Reports hub with labour cost, client profitability, punctuality, receivables aging and permits & trainings, and CSV export on every report.
- Invoice from attendance using each client's hourly rate.
- Company websites with a page editor, quote requests and verified custom domains.
- AI from any provider, set up by each owner, controlled by plan with a daily limit; AI assistant and dashboard summary.
- Activity tabs on guards and clients, a summary on contracts and context on incidents.
- Guard app API for shifts and clock-in.
- A re-organised menu with clear groups.
Fixed and strengthened
- Companies can no longer reach each other's records, roles or users, and roles can no longer be used to gain extra permissions.
- Bank transfers and plan assignment can only be decided by the people who should decide.
- Uploaded files that could run as programs are rejected.
- Payroll no longer re-pays or re-links attendance, and overnight and open shifts are handled correctly.
- Invoice balances ignore payments that are pending or rejected, and invoice lines keep their cents.
- Contract signing and renewal work on new installations; a new client without a contract no longer breaks the client page.
- Sign-in no longer waits on an outside service, and the sign-up page respects the "sign-up off" setting.
- Settings, payroll, the AI tools and the login-page editor now check permissions.
Support
Need help?
When you contact support, include what you were doing, what you expected, what happened, the version (2.0), and if you can, the last lines of storage/logs/laravel.log. Never send your .env file or passwords.
