Guard Schedulerv2.0 Documentation
Support

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.

LaravelMulti-company SaaSRoster & attendanceAI tools

Install in minutes   Explore the features

Getting started

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

RoleWhat they doWhere
Super adminRuns the platform: companies (owners), plans, payments, the public landing page and system settings.Admin panel
OwnerRuns one security company: guards, clients, contracts, shifts, attendance, payroll, invoices, reports and the company website.Admin panel
Manager / staffWhatever the owner allows through roles and permissions.Admin panel
Security guardSees their own shifts, clocks in and out, requests leave, files incident reports and sees their pay.Admin panel (limited) and the app API
ClientSees the guards on their sites, hours of service, invoices, incidents and contract.Admin panel (limited)

Quick-start checklist

  1. InstallCheck the requirements, create the database, upload the files and run the installer.
  2. Sign in and change the passwordsUse the default logins once, then change every password.
  3. Switch on the background workAdd the cron line so expiry reminders and no-show alerts run.
  4. Company details and emailIn Settings fill in the Company and Email (SMTP) tabs.
  5. Add your peopleCreate clients and their sites, then guards.
  6. Plan the first weekCreate duty times and schedules, and look at the roster calendar.
  7. Optional extrasConnect your AI service, publish your website and set up message templates.
Getting started

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

BCMathCtypecURLDOMFileinfoFilterHashJSONMbstringOpenSSLPCREPDO (MySQL)SessionTokenizerXML

Folders that must be writable

The installer checks these for you. They must be writable by the web server:

  • storage and everything inside it (logs, cache, sessions, uploads)
  • bootstrap/cache
  • public/uploads (pictures for the company websites)
Uploads never run as programs
The folders that hold uploaded files contain an .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.
Getting started

Create the database

Create an empty MySQL database and a user for it. The steps below use cPanel; other panels are similar.

  1. Open MySQL DatabasesLog in to your hosting panel and open MySQL® Databases.
    Opening MySQL Databases
  2. Create the databaseEnter a name and click Create Database. Hosts usually add a prefix to the name; use the full name later.
    Creating the database
  3. Create a userIn Add New User enter a user name and a strong password and click Create User.
    Creating the user
  4. Add the user to the databaseIn Add User To Database pick the user and the database and click Add.
  5. Give all privilegesTick ALL PRIVILEGES and save.
    Giving the user all privileges
Keep these
Note the database host (usually localhost), name, user and password. The installer asks for them.
Getting started

Upload the files

Upload the contents of the main_file folder from your download to your web root.

  1. Open the File ManagerLog in to cPanel and open File Manager.
    Opening the File Manager
  2. Go to the right folderFor your main domain this is usually public_html.
    Choosing the folder
  3. UploadClick Upload and add the files (a zip file is quickest; right-click it and choose Extract).
  4. CheckYou should see artisan, app, public, storage and the other folders in your web root.
Getting started

Run the installer

Open yourdomain.com/install in your browser and follow the six steps.

  1. StartOpen the installation address.
    Installer welcome page
  2. Check the serverClick Click to Check Your Server Requirements.
    Requirements check
  3. Check permissionsEvery folder should show a green tick. Click Click to Configure Your App Environment.
    Permissions check
  4. Choose the setup typePick Using Form Wizard Setup.
    Environment setup type
  5. 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.
    Application and database details
  6. FinishWhen you see Application has been successfully installed, click Click here to exit.
    Installation finished
Set the application URL correctly
The application URL is used in emails, in the company websites and when verifying a company's own domain. Use your real address with https://.
Getting started

Default logins

A fresh installation comes with three accounts so you can look around.

RoleEmailPassword
Super adminsuperadmin@gmail.com123456
Ownerowner@gmail.com123456
Managermanager@gmail.com123456
Change these now
Anyone who has read this page knows these passwords. Sign in once, then change every password (Settings → Password) and the email addresses, or delete the demo accounts you do not need.
Getting started

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
TaskWhenWhat it does
Expiry reminders (guards:expiry-reminders)Every day at 08:00Emails 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 minutesEmails 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
Emails come from each company's own settings
Each company sends mail through its own SMTP settings (Settings → Email). A company that has not set up email will not receive the reminders.
Running the business

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

GroupContains
HomeDashboard, and (for owners) staff users, roles and sign-in history.
OperationsScheduling (all shifts, today, the calendar), Attendance, Leave, Incident, Complainant, Duty Times.
People & ClientsGuards, Clients, Contracts.
FinanceInvoices, Payroll, Expenses.
Insights & ToolsReports, the AI Assistant and N8N.
CommunicationContact diary and Notice board.
WebsiteMy Website and Website enquiries (owners).
System configurationGuard types, duty time types, expense types and message templates.
System settingsLanding-page content, pricing plans, coupons and Settings.

A heading only appears when you can open at least one item under it.

Roles and permissions

  1. Open RolesGo to Staff Management → Roles.
  2. Create a roleGive it a name and tick what it may do (view, create, edit, delete for each area).
  3. Add a userIn Staff Management → Users create the user and choose the role.
Limits that protect you
You can only give a role permissions that you hold yourself. The names super admin, owner, client and security guard are reserved for the system and cannot be used for your own roles. A role that still has users, or a system role, cannot be deleted.
Running the business

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.
How "money owed" is worked out
Only payments that really arrived count. A bank-transfer payment still waiting for approval, or one you rejected, does not reduce what a client owes.
Running the business

Guards

Each guard has a profile, a login, an hourly pay rate and records of their training, arms permits and availability.

Add a guard

  1. 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).
  2. 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.
  3. Set availabilityChoose the days the guard can work.
  4. 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.
Guard types
Define your own types (for example Armed, Unarmed, Supervisor) under System configuration → Guard type.
Running the business

Clients & sites

A client is a company or person you protect. Each client has one or more sites where guards work.

Add a client

  1. Create the clientGo to People & Clients → Client and click create. Enter their details, the contract dates and status (Pending, Running or Completed).
  2. 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.
  3. 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.

No rate yet?
The Activity tab tells you "Set an hourly rate for this client to see it" instead of showing a margin of zero.
Running the business

Contracts

A contract is the agreement text a client signs. The wording comes from Settings → Contract, so you write it once.

  1. Write the templateIn Settings → Contract enter your standard contract text.
  2. Create a contractOpen People & Clients → Contract and create one for a client.
  3. The client signsThe client opens the contract while signed in and draws their signature. Only that client can sign it, and only once.
  4. 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.
Running the business

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

  1. Open SchedulingGo to Operations → Scheduling and click create.
  2. Choose guard, client, site and duty timePick the dates the arrangement covers.
  3. 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.

Running the business

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.

Running the business

Leave

Guards request leave; owners approve or reject it.

  1. RequestA guard opens Operations → Leave and requests dates with a reason (status Pending).
  2. DecideThe owner or a manager changes the status to Approve or Reject.
  3. See itLeave waiting for a decision appears in Needs your attention on the owner dashboard.
Running the business

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.

Running the business

Payroll

Payroll turns the hours a guard actually worked into a pay run.

  1. Choose the periodOpen Finance → Payroll and generate a pay run for a date range (optionally only some guard types).
  2. The system calculatesFor each guard it adds up finished attendance in the period and multiplies by the guard's hourly pay rate.
  3. 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.
Who may generate payroll
Generating a pay run needs the generate payroll permission, which owners have by default.
Running the business

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

  1. Set the client's rateEnter the Hourly Rate on the client.
  2. GenerateOn the Invoice page click Generate from attendance, choose the client, the period and a due date.
  3. 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:

StripePayPalFlutterwavePaystackRazorpayBank transfer

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.

What counts as paid
An invoice's balance only reflects payments that succeeded. A pending bank transfer does not reduce the balance until you accept it, and a rejected one never does.
Running the business

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.

Running the business

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.
Insights

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.

ReportThe question it answersHow it is calculated
Labour costWhat did each guard cost?Finished shifts × the guard's hourly pay rate, for the period you choose.
Client profitabilityWhich 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.
PunctualityWho 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 agingWho 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 & trainingsWhat 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.
Dates
A date you type that cannot be understood is ignored and the report falls back to a sensible range instead of showing an error. Reports cover at most one year.
Website & mobile

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

  1. 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.
  2. Fill in the basicsBusiness name, tagline, colours, logo, phone, email, address, opening hours and social links.
  3. 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).
  4. 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.

BlockUse it for
Get our appYour company QR code, company code and store buttons for the guard and client apps. Shown only when the apps are live.
Page bannerA slim title strip with a picture for the top of an inner page.
Industries we protectCards for the types of site you guard, each with an icon and an optional link.
Hero bannerThe big headline with buttons, trust badges and an optional quick quote form.
Text and pictureA 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 servicesCards for static guarding, patrols, events, alarm response and so on, each with an icon and optional price.
Feature cardsWhy clients choose you.
Numbered stepsHow getting started works.
Numbers stripBig numbers such as "24/7" or "10+ years".
Client testimonialsQuotes from clients you work for.
Photo galleryYour team, vehicles and sites.
Areas we coverThe cities or regions you serve.
Questions and answersAn expandable FAQ.
PackagesGuarding packages side by side.
TeamManagement and senior staff, with photos.
Licences & certificationsLicences, accreditations or clients you protect.
MapA Google Maps embed.
Call-now bannerA bold strip with a big phone button for urgent cover.
VideoA YouTube or Vimeo video.
Call me backA short name-and-phone form.
Call to actionA coloured banner with one button.
Contact detailsEmail, phone, address and hours.
Quote request formVisitors describe the cover they need.
Guards are never published automatically
The Team block shows only the people you type in. Nothing is pulled from your guard list, so no guard's name or photo appears on the public site unless you add it yourself.

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.

Website & mobile

Use your own domain

A company can show its website on its own address, such as www.alphasecurity.com, instead of /site/alpha.

  1. 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.
  2. 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).
  3. Prove you own itAdd the TXT record the page shows: a name like _guardsite-verify.www.alphasecurity.com and a long secret value that only you were given.
  4. 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.
Why the proof matters
Without it anyone could type a domain they do not own. A domain only answers after its TXT record is found, and the secret value belongs to one company: copying someone else's record does not work. If another company typed your domain in first but never proved it, you can still take it over by proving it.

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-name address keeps working as well.
  • A switched-off website shows nothing on its domain, even when verified.
Website & mobile

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

RequestWhat it does
GET /api/v1/platformPublic. 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/loginEmail, 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/meThe 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-inGuards: clock in (needs a schedule covering today). Optional latitude and longitude.
POST /api/v1/attendance/clock-outGuards: close the open attendance. Optional latitude and longitude.
GET /api/v1/noticesBoth apps: the company notice board.
POST /api/v1/device-token and DELETE /api/v1/device-tokenBoth apps: register or remove this phone for push notifications.
GET /api/v1/guard/summaryGuards: next shift, hours this month, whether clocked in, leave waiting.
GET /api/v1/attendanceGuards: their attendance history (default 30 days).
GET /api/v1/leaves and POST /api/v1/leavesGuards: list their leave and request more (start date, end date, reason).
GET /api/v1/payslipsGuards: their salary slips.
GET /api/v1/incidents and POST /api/v1/incidentsGuards: 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/summaryClients: guards on duty now, balance due, overdue invoices, recent incidents, contract dates, and which parts of the app are visible.
GET /api/v1/client/guardsClients: who is on duty at their sites now and the roster for the next 7 days.
GET /api/v1/client/incidentsClients: 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-linkClients: 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}/signClients: their contracts, and sign one with a drawn signature (once, only their own).
GET, POST and DELETE /api/v1/client/cover-requestsClients: list, send and withdraw extra cover requests.
POST /api/v1/shifts/{id}/respondGuards: accept or decline one of their shifts.
POST /api/v1/safety/panic and POST /api/v1/safety/check-inGuards: panic alert (optional position and note) and the “I am OK” check-in.
GET /api/v1/patrol/today and POST /api/v1/patrol/scanGuards: checkpoints of the site being worked, and scanning one by its QR code.
GET /api/v1/log and POST /api/v1/logGuards: shift-log entries with up to three photos.
GET /api/v1/client/patrols and /api/v1/client/reportClients: patrol rounds and the daily report.
GET and POST /api/v1/client/ratingsClients: rate the service or one guard.
POST /api/v1/logoutRevoke 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 & automation

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)

  1. Open the AI tabGo to Settings → AI Settings.
  2. 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).
  3. Paste your keyOptionally set a model name; otherwise a sensible default is used.
  4. TestPress Test connection. It tries the key without saving it and without using up your daily allowance.
  5. Switch AI on and saveAI only works when it is switched on, a key is saved, and your plan includes it.
Your key is safe
The key is stored encrypted and is never shown again. To change it, type a new one; to keep it, leave the box empty. Only owners can set it, and each company's key is used only for that company. The super admin cannot read or use owners' keys.

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.

AI & automation

Email, SMS & WhatsApp messages

The system can message people when things happen. Edit the wording under System configuration → Email notification.

MessageSent when
New userA user account is created.
New guard / new clientA guard or client is added.
Schedule a guard / assign a guardA schedule is created: the client and the guard are told.
AttendanceAttendance is recorded.
IncidentAn incident is reported.
LeaveLeave is requested.
TrainingA training is added.
PayslipA pay run is generated.
Invoice / paymentAn 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.
AI & automation

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.

EventFires when
create_user, create_guard, create_clientA user, guard or client is created.
create_incidentAn incident is reported.
guard_schedule, assign_guardA schedule is created.
create_attendanceAttendance is added.
create_leave, create_trainingLeave or a training is added.
create_payrollA pay run is generated.
create_invoice, new_paymentAn invoice is created or paid.
No outbound call blocks you
Webhook calls time out after 10 seconds and never stop the action that triggered them.
Administration

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.

Administration

Settings

The tabs you see depend on your role and permissions.

TabWhat it holds
AccountYour name, email and picture.
PasswordChange your password.
GeneralApplication name, logos, theme, language, plans on/off, sign-up and landing page options (super admin).
CompanyCompany name, address, phone, number prefixes (guards, clients, invoices, payroll, contracts, incidents), date and time formats, timezone.
EmailSMTP details used to send email, with a test button.
PaymentGateway keys for Stripe, PayPal, Flutterwave, Paystack and Razorpay, and bank transfer details.
SEOMeta title, description and image for the site (super admin).
Google reCAPTCHAProtect the sign-in and sign-up pages.
Two-factorTurn on a one-time code for your own sign-in.
TwilioSMS and WhatsApp details.
ContractThe standard contract wording.
AI settingsYour AI service and key (owners).
Languages
The interface is available in English, Arabic, Danish, Dutch, French, German, Italian, Japanese, Polish, Portuguese, Russian and Spanish. Each person can choose their language.
Administration

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).

Protect your .env file
It holds your database password and application key. Never put it in a public repository, and rotate both if it was ever shared.
Administration

Upgrade

Updating keeps your data and brings new features.

Back up first
Make a full backup of the files and the database before you start.
  1. Save your own filesKeep copies of .env, .htaccess and the storage folder.
  2. Replace the filesUpload the new main_file contents over the old ones, but do not overwrite .env, storage or the uploaded pictures in public/uploads.
  3. 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 --force instead.)
  4. Clear cachesRun php artisan optimize:clear if you have command-line access, or delete the files in storage/framework/views.
  5. CheckSign in as an owner and open the dashboard, scheduling and reports.
Language files
If you edited files in resources/lang, the update overwrites them. Keep your edits and re-apply them afterwards.
What the database update changes
Version 2.0 adds columns for client hourly rates and billed attendance, changes invoice line amounts to hold cents, adds indexes for speed, renames the plan's AI option and the AI settings so any service can be used, and adds the website tables. Existing OpenAI keys keep working: they become the "GPT models" service and are re-encrypted.
Administration

Troubleshooting

Common problems and what to check.

ProblemWhat to check
A blank page or a 500 errorOpen 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 emailsIs 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 inThey 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 missingCheck 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 answerThe 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 websiteThe public/uploads folder must be writable and served by the web server.
A report is emptyWiden the date range, and check that attendance has an end time (open shifts are not counted).
Administration

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.
Administration

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.

Open a support ticket