Smart Visitor documentation
Everything you need to install, set up and run your visitor management: registering and pre-registering guests, QR passes and scanning, hosts and approvals, attendance and leave, dashboards and reports, your own website, the Android and iPhone app, and the AI tools.
Overview
Smart Visitor is a complete visitor-management system. Run it for your own organisation, or as a SaaS: organisations sign up, pick a plan and manage their visitors, hosts, staff attendance and public website in one place, with their data kept completely separate.
How the pieces fit together
| Part | What it is | Who uses it |
|---|---|---|
| Admin panel | The back office: visitors, pre-registrations, passes, attendance, leave, reports, notifications and settings. | Super admin, owner, managers, reception |
| Pre-registration page | A public page (/pre-register/your-company-code) where guests register their visit before they arrive. | Guests |
| Company website | A public website built from blocks, with a pre-registration page, a visitor guide and your own domain. | Guests, owner (editor) |
| Mobile app | One app for every role: approve visits, scan passes, check people in and out, clock in, and open a guest pass. | Owner, managers, reception, hosts, guests |
| AI tools | An assistant, a dashboard briefing, category suggestions and a weekly summary, using the AI service each owner connects. | Owners and managers |
| SaaS console | Customers, plans, payments, coupons, the landing page and revenue reports. | Super admin |
Quick-start checklist
- InstallCheck the requirements, create the database, upload the files and run the installer.
- Log in and secure the accountsUse the default logins once, then change every password.
- Switch on the background workAdd the cron line so no-show checks, overstay alerts and the daily and weekly summaries run.
- Company and emailIn Settings fill in the Company and Email tabs. See Settings.
- Describe your visitsCreate visit categories and add your hosts and reception staff.
- Take your first visitorCreate a visitor or share the pre-registration link, approve the request and check the guest in.
Server requirements
Smart Visitor is built with Laravel 9. Make sure your hosting meets the following before you start.
- PHP
- 8.0.2 or newer (8.1 or 8.2 recommended)
- Database
- MySQL 5.7+ (8 recommended) or MariaDB 10.3+
- Web server
- Apache (with
mod_rewrite) or Nginx - HTTPS
- Strongly recommended. Required for the mobile app in production, the camera on the scan page, online payments and push notifications.
- Cron
- One cron line, see Background work
Required PHP extensions
Folders that must be writable
storage, bootstrap/cache and public/uploads (website pictures). The installer checks these too.
www-data) must be able to write in these folders. If you also run php artisan commands as another user, files created by that user can become unwritable for the website and cause "permission denied" errors. Run the commands as the web server user, or fix the ownership afterwards, see Troubleshooting.Create the database
The steps below use cPanel. Other hosting panels offer the same options under similar names.
- Open the database toolIn your hosting panel go to Databases and click MySQL® Databases.

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

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

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

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

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

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

- Choose the setup typeSelect Using Form Wizard Setup.

- Enter the app and database detailsFill in the database host, name, user and password from the previous step, plus an application name and the application URL. Click Click to Install.

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

After installation
A few minutes of setup now saves problems later.
- Log inOpen your site and sign in with a default account.
- Change the passwordsOpen Settings → Password for each default account.
- Add the cron lineSee Background work. Without it no-show checks, overstay alerts and the summaries do not run.
- Set up emailSettings → Email, then send a test message. Pass emails, host requests and visitor updates all use it.
- Fill in the company detailsName, logo, address, currency and date format under Settings → Company.
- Create a visit categoryVisitors and the pre-registration form need at least one. See Setting up.
- Turn debug offIn
.envsetAPP_ENV=productionandAPP_DEBUG=false. See Going live.
Background work (cron job)
Smart Visitor does some work on its own: it marks missed visits as no-shows, alerts hosts about visitors who stay too long, and emails the daily and weekly summaries. A single cron line makes it all run.
The scheduler
In cPanel open Cron Jobs and add this line to run every minute. 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 |
|---|---|---|
visitors:maintain | Every 15 minutes | Marks pending or approved visits from earlier days as No show, and alerts the host (and the mobile inbox) once when a checked-in visitor passes the planned exit time. |
visitors:digest | Every day at 08:00 | Emails the Daily Visitor Digest of yesterday to owners who switched that template on (with an AI-written sentence when AI is connected). |
ai:weekly-summary | Mondays at 08:00 | Emails an AI-written summary of the past week to owners who ticked Email me an AI weekly summary on the AI Assistant page. |
php artisan visitors:maintain.Default logins
These accounts exist right after installation. Use them once and change the passwords straight away.
| Role | Password | |
|---|---|---|
| Super admin | superadmin@gmail.com | 123456 |
| Owner | owner@gmail.com | 123456 |
| Manager | manager@gmail.com | 123456 |
Roles & menu
What a person sees depends on their role. The menu is grouped by the work you do, and only shows what the role is allowed to use.
The owner's menu
| Group | Items |
|---|---|
| Home | Dashboard, Staff Management (Users, Roles, Logged History) |
| Visitor Management | Visitor (create, list), Pre Register, Today Visitor, Scan Pass, Calendar, Blacklist |
| HR | Attendance, Leave |
| Reports & AI | Report (visitor, attendance, leave), AI Assistant |
| Communication | Contact Diary, Notice Board |
| Website & Integrations | My Website, N8N, API Tokens |
| System Configuration | Visit Category, Email Notification (message templates) |
| System Settings | Pricing (when plans are used), Settings |

Users and roles
Staff Management → Users creates people in your organisation (managers, reception, hosts) and gives each one a role. Staff Management → Roles lets you create your own roles and choose exactly which permissions they have, such as manage visitor, create visitor, edit visitor (approve, reject, check in and out), manage attendance or leave status change.
| Role | Typical use |
|---|---|
| Super admin | Runs the platform: customers, plans, payments, landing page and system settings. |
| Owner | The organisation's administrator. Everything for their own organisation, including the website, API tokens and AI connection. |
| Manager | Day-to-day work: visitors, approvals, attendance and leave. |
| Host / staff | A person who receives visitors. Without visitor permissions they only see and approve the visitors who chose them as host. |
Setting up your organisation
Four things to do before the first guest arrives.
Company details
Settings → Company holds the name, logo, email, phone and address that appear on passes, emails and the website. Settings → General sets the date and time format and the time zone. Visitor number prefix (for example #VST-000) is put in front of every visitor number, and guards can type the number with or without it.
Visit categories
A category is the purpose of a visit, such as Business meeting, Job interview, Delivery or Contractor. Create them under System Configuration → Visit Category (a title, plus a type of Free or Paid with an optional fee). Every visitor needs a category, and the pre-registration form cannot be used until one exists.

Hosts and reception
Add the people who will receive visitors under Staff Management → Users. A visitor can be linked to a host (a real user), who is then asked to approve the visit, told when the guest arrives and warned about overstays. A free-text Whom to Visit field is available when the person is not a user.
Messages
Turn on the notifications you want under Email Notification and, for SMS or WhatsApp, fill in the Twilio tab in Settings. See Messages & automation.
Visitors
Every visit is one record with a status, a history and a pass. Staff create visitors, guests can pre-register, and hosts approve.

Registering a visitor
Visitor → Create (or New Visitor on the dashboard) asks for first and last name, phone (with country code), email, gender, a photo (the camera is used on phones), category, address, visit date, entry and exit time, room, host and notes.
- Returning visitors – type the phone number and press Tab: if that person visited before, their details are filled in and you see how many times they came. A banner warns when the number is blacklisted.
- Suggest category – with AI connected, Suggest category with AI reads the notes and picks the best category.
- Visitor number – each visitor gets the next number of your organisation, shown with your prefix.
The visit lifecycle
| Status | Meaning | Next step |
|---|---|---|
| Pending | Registered or pre-registered, waiting for the host. | Approve, reject or check in |
| Approved | The host agreed. The guest can be let in. | Check in or reject |
| Checked In | The guest is inside. The real arrival time is recorded. | Check out |
| Completed | The guest left. The real departure time is recorded. | - |
| Rejected / Cancelled | The visit will not happen. | - |
| No Show | Nobody came. Set automatically for earlier days (needs cron). | - |
The buttons Approve, Reject, Check In and Check Out appear on the visitor list, the dashboard, the visitor page and in the mobile app, but only when the step is allowed. A blacklisted person cannot be checked in. A checked-in visitor who stays past the planned Exit Time is flagged Overstay.
The visitor page
Opening a visitor shows the pass details, the host, the real check-in and check-out times, how many times the person has visited and whether they are blacklisted. On the right you see the visit history (registered, approved, checked in, notes, with who did it and when), the QR pass, internal notes (visitors never see them) and previous visits.

Lists, search and export
- Visitor list – filter by date range, category, phone, status and host, and search by name, email or phone. The download button exports the filtered list as CSV.
- Today Visitor – who is expected or inside today.
- Calendar – all visits on a calendar.


Pre-registration
Let guests register themselves before they arrive. Their host approves, and they receive a pass.
The pre-registration link
Every organisation has a public page at https://yourdomain.com/pre-register/company-code. Copy the link with the Copy pre-register link button on the dashboard or the copy icon in the header. Guests fill in their name, phone, email, gender, a photo, the date and time, the purpose and who they are visiting.

What happens next
- The request arrivesIt appears under Pre Register and on the dashboard as Awaiting approval. The host (or the owner when no host was chosen) gets the Host Notification by email, SMS or WhatsApp, and a message in the mobile app.
- The host decidesApprove or reject in the admin, in the mobile app, or with the Approve / Reject links in the message. Those links work without signing in and expire after 3 days.
- The guest is toldThe Visitor Status Update message tells the guest the result and links their pass.
- The guest arrivesReception scans the QR pass and checks them in. See Passes & scanning.

The same form is also available on your website as the Pre-register page, so guests can register without leaving your own design.
Passes, scanning & exit
Each visitor has a QR pass. Reception scans it to find the visitor in a second.
The pass
- Show / copy link – the visitor page offers a public pass link, a QR code, Send in Mail, Send in SMS (and WhatsApp when enabled), Print and a thermal printer layout for badges.
- What the QR holds – a secure link with a random code. Scanning it does not give a stranger any personal data; staff must be signed in to open the visitor.
Scan Pass
Visitor Management → Scan Pass is the reception screen. Scan the QR with the camera (supported by Chrome and Android browsers), use a USB scanner, or type the visitor number, the pass code or the pasted link. The visitor opens with the allowed buttons. It also works in the mobile app.
Visitor exit
The Visitor Exit button on the dashboard takes a visitor number (with or without the prefix) and checks the visitor out. A visitor who is already completed cannot be checked out twice.
Hosts & approvals
Hosts decide who comes in, and everyone sees what happened.
- Host – choose a host when registering. Hosts without visitor permissions still see their own visitors on their dashboard and can approve or reject them there.
- History and notes – every step is recorded with the person and the time. Notes are internal.
- Overstay and no-show – a checked-in visitor past the planned exit time triggers one alert to the host; visits that were never used become No show. Both need the cron job.
- Guest says "I'm here" – in the guest pass screen of the mobile app a guest can tell the host they have arrived. The host gets a message, at most once every 10 minutes.
Blacklist & limits
Keep unwanted visitors out and control volume.

- Blacklist – add a person by name, phone and/or email with a reason. Phone numbers are matched by their digits, so
+1 (555) 000-1234equals+15550001234. A blacklisted person cannot be registered, pre-register or be checked in, and visits already waiting for them are rejected. - Monthly visitor limit – a plan can limit the visitors an organisation may register per month (0 means unlimited). Over the limit, new visitors and pre-registrations are refused.
Attendance & leave
Staff clock in and out, and request leave. Owners and managers keep track.
Attendance
Staff press Clock In and Clock Out on their dashboard (or in the mobile app); they cannot clock in twice or clock out when not clocked in. The Attendance page lists the records with hours worked; owners can add or correct entries. The owner does not clock in.

Leave
An employee requests leave with dates and a reason. The system checks that the end date is not before the start and that it does not overlap another active leave. Requests start as Pending; only people with the leave status change permission can approve or reject (nobody approves their own through the app), and the employee is told in the mobile inbox.

Contact diary & notice board
Two simple tools for everyday communication.
- Contact Diary – an address book of people and companies you deal with, with an AI helper for writing subjects and messages.
- Notice Board – announcements for your team (for example a fire drill). Staff see the latest notices on their dashboard.
Dashboards
Each kind of user gets their own start page.
Owner and manager

- Quick actions – New Visitor, Scan Pass, Visitor Exit, Report and Copy pre-register link.
- Finish setting up – a checklist for new owners that disappears when done.
- Live numbers – Inside now (with overstays), Pending approval, Today (with the change since yesterday), This month (against your plan limit), average visit duration, pre-registered, total and the last 7 days.
- Live lists – Inside Now and Awaiting Approval with one-click buttons. They refresh automatically every minute (switch off with Auto-refresh).
- Needs attention – a banner when visitors are past their exit time or visits wait for approval.
- AI Insights – a short daily briefing (see AI tools).
- More – upcoming visits for 7 days, recent activity, today by status, top hosts, visitor history for 7/14/30/90 days, busiest hours and busiest days, and visitors by category.
Hosts and staff
A person without visitor permissions sees Waiting for my approval, My visitors today, upcoming visits, the clock in/out card, their leave and recent attendance, and the notice board.
Super admin

Organisations (active, expired, new this month), income, organisations by plan, plans expiring in 14 days, recent organisations and recent transactions, with an analysis chart of users and payments.
Reports
The Report menu answers the usual questions. Every report has a date range, and most export to CSV.
| Report | Shows | For |
|---|---|---|
| Visitor Report | Total visitors, average visit duration, no-show rate, busiest hours, by status, by category and top hosts. | Owner, managers |
| Attendance Report | Per employee: days present, hours worked, average hours a day, shifts not clocked out. Export CSV. | Owner (everyone) or a person (themselves) |
| Leave Report | Per employee: approved days and the number of approved, pending and rejected requests. Export CSV. | Owner, approvers |
| Organizations Report | Every customer with plan, expiry, status, users, visitors and join date. Export CSV. | Super admin |
| Revenue Report | Income per month and per plan for the period. Export CSV. | Super admin |


=, +, - or @ is prefixed so it cannot run as a formula.Your website
Every organisation gets a public website, built from content blocks and managed by the owner under Website & Integrations → My Website. It welcomes guests, explains how a visit works and lets them pre-register.

Pages and the page editor
A new website starts with five ready-made pages: Home, About us, Visitor guide, Pre-register and Contact, each filled with sections, text and pictures you can edit. Open a page to edit it: every section is a block that you open, change, move up or down, switch off or delete. Click Save and the change is live.



| Block | Use it for |
|---|---|
| Hero banner | The big headline with buttons and a picture, with an optional pre-registration card beside it. |
| Quick facts strip | Opening hours, reception, parking, ID needed. |
| Numbered steps | How a visit works. |
| Feature cards, Numbers strip | Why register first, key figures. |
| Text and picture, Photo gallery | Your story and pictures of the place. |
| Checklist / what to bring | A ticked list beside a picture: what to bring, house rules. |
| Visitor pre-registration form | The full pre-registration form, inside your own page. |
| Customer reviews, Team, Logos | Quotes, the people guests will meet, certifications. |
| Questions and answers, Pricing | FAQ and plans. |
| Contact details, Map, Call me back, Video | How to reach you; a call-back form sends the request to your Enquiries. |
| Call to action | A coloured banner with one button. |
Need a page you deleted, or want a fresh start? Create page offers templates (Home, About us, Visitor guide, Pre-register, Contact, FAQ, Gallery, Team, Reviews, Privacy policy, Terms of use, Blank), and inside any page Start from a ready-made layout loads a template's sections into it.
Pictures
The Picture library (under Settings & brand) takes PNG, JPG, WebP or GIF files up to 2 MB. Blocks that have no picture show a built-in illustration (visitor with badge, QR pass, office, welcome, check-in list, shield, team, house, tools) drawn in your own colours, so a page never looks empty.
Look and feel
Settings & brand sets the name, tagline, logo, main and dark colour, font, corner style, light or dark theme, a floating WhatsApp button, the contact details shown in the top bar and footer, and whether the Login button is shown.

Header and footer
The footer has a pre-registration banner, a strip of trust badges, and five columns: about and social links, quick links, For visitors (pre-register, visitor guide, FAQ, contact and your own extra links), Get in touch with a Get directions button, and Before you visit. The banner text, the "before you visit" points, the extra links and the directions button are all editable in Settings & brand.

Pre-registration on the website
The Pre-register page shows the same form as /pre-register/company-code. A guest who sends it appears under Pre Register as a pending visit, and the host is notified. The website is visible to everyone once you switch on Website is live; until then only you can preview it.
Enquiries
Call-back requests and messages from the website arrive under Enquiries. Mark them as new, contacted or closed, export them as CSV, or press Create visitor to turn one into a pending visit.

Search engines
Each page has its own search title and description. The site provides a sitemap.xml and is hidden from search engines while it is switched off.
Website address & own domain
Guests can reach the website on a standard link, a free sub-domain or your own domain. My Website → Website address manages all three, and the globe icon in the header lists them with copy and open buttons.

| Address | Example | Setup |
|---|---|---|
| Standard link | https://yourdomain.com/site/your-name | Always works. |
| Free sub-domain | your-name.sites.yourdomain.com | The platform owner sets SITE_BASE_DOMAIN and a wildcard DNS record, see below. |
| Your own domain | visit.yourcompany.com | The owner adds DNS records and verifies ownership. |
Connecting your own domain
- Enter the domainOn the Website address page type your domain and press Save domain.
- Add the DNS recordsAt your domain provider add a
CNAMEfrom your domain to the platform's host name (or anArecord to the server address when it is a bare domain), and theTXTrecord shown on the page. The TXT record proves the domain is yours. - VerifyPress Verify domain. DNS changes can take from minutes to a day. A domain only serves your website after it is verified.
- Choose the main addressPick which address is the main one. The standard link then redirects to it.
- Add SSLThe domain must also reach the server and have an SSL certificate (for example from your host or Cloudflare).
Free sub-domains (platform owner)
Set SITE_BASE_DOMAIN=sites.yourdomain.com in .env, create a wildcard DNS record *.sites.yourdomain.com pointing at the server, and make your web server accept any host name for that domain. Optionally set CUSTOM_DOMAIN_IP to the server address so owners are shown the right A record. An unknown sub-domain returns a 404 page.
Mobile app
One app for everybody, for Android and iPhone. The server tells the app who the person is, and the app shows only what that role may use.
| Signs in as | Bottom bar | Can do |
|---|---|---|
| Owner | Home, Visitors, Scan, Time, More | Everything below, plus approving the team's leave. |
| Manager / reception | Home, Visitors, Scan, Time, More | Scan passes, check in and out, walk-ins, roll call, approve and reject. |
| Host / staff | Home, My visitors, Time, More | See and approve their own visitors, clock in and out, request leave. |
| Guest (no account) | "I'm a visitor: open my pass" on the sign-in screen | See the QR pass and status, directions, and tell the host "I'm here". |
What the app does
- Sign in – a first step to scan the company's QR code or type its company code (the phone remembers it), then email and password, two-factor code, and a fingerprint or face lock after the app has been away 30 seconds. The company's name and colour are applied after sign-in.
- Home – inside now, pending approval, today and overstay; lists with one-tap Approve, Reject, Check in and Check out; a shift clock for staff.
- Visitors – search and filters; details with call, WhatsApp and email buttons, the QR pass, history, previous visits and internal notes.
- Scan – camera QR scan or a typed code, a clear warning for blacklisted people, check in and out, walk-in registration with a photo and instant check-in, and an inside / expected roll call.
- Time – a clock in/out timer, hours this week, leave requests and (for approvers) leave decisions.
- Inbox – new visit requests, visitor arrived, overstay and leave decisions, with an unread badge.
- Offline start – with no signal the app opens with the last saved profile and home data, clearly marked as saved data.
Mobile App menu on the website
- Super admin → Mobile Apps – paste the Google Play and App Store links, set a minimum app version, write a maintenance message (the app stops working while it is filled) and choose the default colour and welcome text. A table lists every company with its code, users, registered devices and last use, and a switch turns the app off for one company (its people are signed out).
- Owner and staff → Mobile App – the company QR code, company code, copy link and a print sheet to hang at reception. Owners also edit the App branding: name, colour, welcome text and support phone or email shown in the app. The logo comes from Settings.
- Public join page – the QR code opens a page with the company name, code and the store buttons.
- Company website – a "Get our app" section with store buttons, a QR code and the company code. It is the Mobile app block, already on the home page of every new website; add it to any page, or create a ready-made Get our app page from the page templates. It is not shown on the platform landing page.
- App API –
GET /api/v1/mobile/config?version=1.0.0&company_code=...returns the maintenance message, whether an update is required, the store links and the company look, before sign-in.
Security
- The sign-in token is kept in the phone's secure storage, works only for the mobile API, and ends by itself after 60 days without use (
MOBILE_TOKEN_IDLE_DAYS; 0 means never). Signing out removes it on the server. - Nothing about people or visitors stays on the phone after signing out.
- The server checks the same permissions as the website on every call, so a host only ever receives their own visitors, and no one reaches another organisation's data.
- Guests use the pass code only; no phone number, email or notes are returned.
Push notifications (optional)
Inbox messages work out of the box and refresh every minute. For push messages while the app is closed you need your own Firebase project, see Build & publish the app.
Build & publish the app
The app is a Flutter project in the mobile_app folder of your download. It talks to your server's API at /api/v1/mobile.
The folder layout
mobile_app/ lib/ the app: api/ (server calls), state/ (sign-in, lock), screens/, widgets/, util/ test/ 70 tests, plus test/e2e that runs against a real server android/ ios/ the platform projects README.md the developer guide
Run and build
# one-time: install Flutter (https://flutter.dev) and add it to your PATH cd mobile_app flutter pub get flutter run --dart-define=SERVER_URL=https://visitors.example.com # release builds flutter build apk --release --dart-define=SERVER_URL=https://visitors.example.com flutter build ipa --dart-define=SERVER_URL=https://visitors.example.com # needs a Mac and an Apple account
The server address is only the first value shown: it can be typed on the sign-in screen and is remembered. After changing the server, run php artisan migrate (it adds the phone and inbox tables).
Before publishing
- Use httpsRelease builds only accept
https://servers. (Plainhttp://works in debug builds for testing on your own computer.) - Set your own app idThe default is
com.smartvisitor.smart_visitor. Change it inandroid/app/build.gradle*and in the Xcode project. - Icon, name and signingReplace the launcher icon, set the app name, and create your Android keystore / iOS signing certificate.
- TestRun
flutter test, and the end-to-end test against your server:E2E_SERVER=https://yourserver flutter test test/e2e. - UploadPublish the
.aab(Google Play) or the archive (App Store).
Switching on push
- Create a Firebase projectAdd the Android (and iOS) app and download
google-services.json/GoogleService-Info.plist. - ServerIn
.envsetFCM_PROJECT_IDandFCM_CREDENTIALS(the full path of the service-account JSON file). The server then sends a push for every inbox message to the phones registered by the app, and removes phones that no longer exist. - AppAdd
firebase_coreandfirebase_messaging, initialise Firebase at start, implement the smallPushService(it returns the device token) and pass it toAuthController. The app then registers the phone after every sign-in and removes it on sign-out.
AI tools
Each owner connects the AI service they prefer with their own key. The AI features are included by plan, with a daily limit.
Connect your AI service (owner)
- Open the tabSettings → AI Settings (owners only).
- Choose the serviceGPT, Anthropic (Claude), Google (Gemini), Mistral, DeepSeek, Groq, OpenRouter, or any service with a compatible address. Add a model name if you do not want the default.
- Paste your keyThe key is stored encrypted, is never shown again, and is only used for your organisation. The super admin does not use AI and cannot see owners' keys.
- Test and switch onPress Test connection, tick Switch AI On and save.

AI and plans
A plan has an AI Support switch and an AI requests per day limit (0 means unlimited). When the plan has no AI, or the daily limit is reached, the AI features stay off. The AI Assistant page shows how many requests you have used today.
AI Assistant
Ask in plain words: "Who is inside now?", "Which visits are waiting for approval?", "How many visitors came last week?", "How often has Ann visited?". The assistant only reads your organisation's data through fixed tools.
- It never changes anything by itself. Ask it to "Approve visitor 12" and it shows a Confirm button. The confirmation works once, for the person who asked, for 10 minutes, and only if they may edit visitors.
- Visitor-typed text is treated as data, never as instructions.

More AI features
- AI Insights on the dashboard – a headline, highlights, things that need attention and a suggestion, written from today's and the week's numbers. It is saved for 30 minutes so opening the dashboard does not use your daily limit; Refresh asks again.
- Suggest category – on the visitor form, from the notes.
- Weekly summary – an opt-in email every Monday (needs cron).
- Content generator – the AI Content Generator button in forms such as Visitor, Contact, Notice, Leave, Visit Category and Email Notification writes text from a short brief.
Messages & automation
Smart Visitor tells people what is happening, and can call your own automations.
Email, SMS and WhatsApp templates
System Configuration → Email Notification lists the message templates. Each has a subject, an email body, an SMS/WhatsApp text and its own switches for email, SMS and WhatsApp. Edit them with the short codes shown (for example {visitor_name}, {visitor_date}, {host_name}).

| Template | Sent to | When |
|---|---|---|
| New User | The new user | A staff account is created. |
| New Visitor | The visitor | A visit is registered or pre-registered. |
| Host Notification | The host | A new request (with Approve / Reject links), the guest arrived, an overstay. |
| Visitor Status Update | The visitor | The visit is approved or rejected. |
| Get Pass Send | The visitor | You press send on the pass (mail or SMS). |
| Daily Visitor Digest | The owner | Every morning, when switched on. |
Queue
Messages are sent straight away by default (QUEUE_CONNECTION=sync). On busy installations switch to database and run a queue worker.
N8N and webhooks
Website & Integrations → N8N connects events to your own n8n (or any webhook) flows. Add a URL for an event and choose the method. The payload contains the visitor, the host and your company details.
| Event | Fires when |
|---|---|
create_user | A user is created. |
new_visitor | A visitor is registered or pre-registered (also from the website, the API and the app). |
send_get_pass | A pass is sent. |
visitor_approved, visitor_rejected | The host decides. |
visitor_checked_in, visitor_checked_out | A guest arrives or leaves. |
visitor_overstay | A guest passes the planned exit time. |
N8N is a plan feature. If a webhook is slow or fails, the visit still works; the problem is only logged.
Settings & integrations
Settings is where an owner (and the super admin) configure the system. Each tab saves on its own.
| Tab | What it holds | Who |
|---|---|---|
| User Profile, Password | Your name, picture and password. Account deletion. | Everyone |
| General | Time zone, date and time format and, for the super admin, the landing page, the pricing feature, the registration page and owner email verification. | Owner, super admin |
| Company | Company name, logo, email, phone, address, currency and the visitor number prefix. | Owner |
| SMTP server details, with a test message. Used for every email an organisation sends. | Owner, super admin | |
| 2 Factors Authentication | Switch on a second sign-in step with an authenticator app (scan the QR code). | Everyone |
| twilio Settings | SID, token, sender number and WhatsApp number for SMS and WhatsApp. | Owner |
| AI Settings | The AI service, model and key. See AI tools. | Owner |
| Site SEO, Google reCAPTCHA, Payment | Search-engine details of the landing page, bot protection on sign-in, and the payment gateways for plans. | Super admin |

Sign-in security
- Two-factor – works on the website and in the mobile app.
- Logged history – Staff Management → Logged History records every sign-in with the browser, device and place (a plan feature).
- Inactive users – an inactive account, or one over the plan's user limit, cannot sign in.
Languages
Every person picks their language with the language icon in the header.
Translations live in the lang folder, one JSON file per language (for example lang/german.json). To add a language, copy english.json, rename it, translate the values and it appears in the menu. The newest screens (dashboard, website, AI, mobile) show English until their text is added to a language file.
API
Two REST APIs: one for your own tools, one for the mobile app. Both return JSON.
API for your own tools
An owner creates a token under Website & Integrations → API Tokens (the token is shown once, so copy it) and sends it as Authorization: Bearer TOKEN. Everything is limited to that owner's organisation and to 60 calls a minute.

| Call | Does |
|---|---|
GET /api/v1/visitors | Lists visitors (filters: status, category, host_user_id, date, phone_number; 25 per page). |
GET /api/v1/visitors/{number} | One visitor, by the number shown on the pass. |
POST /api/v1/visitors | Registers a visitor (blacklist and monthly limit apply; notifications and webhooks fire). |
POST /api/v1/visitors/{number}/approve reject check-in check-out | Moves the visitor along the lifecycle. A step that is not allowed returns 409. |
curl -H "Authorization: Bearer YOUR_TOKEN" -H "Accept: application/json" \ https://yourdomain.com/api/v1/visitors?status=checked_in
API for the mobile app
The app signs in with POST /api/v1/mobile/auth/login (email, password and an optional company code; a two-factor code is sent to /auth/two-factor) and then calls /api/v1/mobile/... for the home screen, visitors, scanning, walk-ins, approvals, attendance, leave, the inbox and the guest pass. Phone tokens and tool tokens are separate: one cannot be used for the other.
tests/Feature/MobileApiTest.php and the app's test/e2e describe the API behaviour in detail.SaaS administration
Run Smart Visitor as a service for many organisations. Switch on Pricing Feature in the super admin's Settings → General to use plans.

- Customers – the Customers page lists every organisation (owner), lets you activate or deactivate it, see its usage (visitors, users, AI) and sign in as the owner. Owners can register themselves when the registration page is on.
- Plans – Pricing holds the packages: price, interval (monthly, quarterly, yearly, unlimited), user limit, visitors per month, and the add-ons Visitor Pre Register, Logged History, AI Support (with a daily request limit) and N8N. When a plan ends the owner is moved to the basic plan.
- Payments – organisations pay by Stripe, PayPal, Flutterwave, Paystack, Razorpay or bank transfer (approved by the super admin). Pricing → Transactions lists them. Turn each gateway on and add its keys under Settings → Payment.
- Coupons – discounts with a validity and a usage limit; Coupons → History shows where they were used.
- Landing page (CMS) – System Settings → CMS edits the public home page, extra pages (terms, privacy), the FAQ, the footer and the sign-in page. Visitors who are not signed in see the landing page at your main address when it is switched on.
- Reports – Report → Organizations and Revenue, with CSV export.


Upgrading
Always back up first.
- Back upDownload your
.envfile,.htaccessand thestoragefolder, and export the database. - Replace the filesUpload and replace everything with the contents of
main_filefrom the new version. - RestorePut your
.env,.htaccessandstorageback. - Run the updateLog in and follow the update wizard, or run
php artisan migrateon the command line. - Clear the cachesRun
php artisan optimize:clearandphp artisan permission:cache-reset(or delete the files inbootstrap/cacheandstorage/framework/viewsand clear the cache). The second one makes new permissions, such as manage ai settings, visible straight away.
lang. Keep a copy of any translation you changed. Changes to core files are also lost, so keep your own customisations separate.Going live checklist
Before real guests use it.
APP_ENV=production,APP_DEBUG=falseand the correctAPP_URL(with https).- Change all default passwords and turn on two-factor for owners.
- Add the cron line.
- Set up SMTP (and Twilio if you use SMS or WhatsApp) and send a test message; set up the payment gateways in live mode if you sell plans.
- Install an SSL certificate (also on every custom website domain). The mobile app and the scan page camera need https.
- Create at least one visit category and one host.
- Make sure the
storageandbootstrap/cachefolders are writable by the web server user. - Take regular database backups.
- Optional: connect Firebase for push, set
SITE_BASE_DOMAINfor free sub-domains, switch the queue todatabaseon busy sites.
Troubleshooting & FAQ
Errors and blank pages
| Problem | Fix |
|---|---|
| A 500 error after an update | The database is behind the files. Run php artisan migrate, then php artisan optimize:clear. The details are in storage/logs/laravel.log. |
"Permission denied" for a file in storage/framework/views, or nothing in laravel.log | Files were created by another user (for example by running artisan as root). Give the web server user ownership: chown -R www-data:www-data storage bootstrap/cache (use your server's web user), then delete the files in storage/framework/views. |
| A new menu item or tab is missing (for example AI Settings) | Permissions are cached. Run php artisan permission:cache-reset. |
| Styles or pictures do not load | Check APP_URL and that .htaccess was uploaded (it is hidden). |
Visitors and the website
| Problem | Fix |
|---|---|
| The pre-registration form says it is not available | Create a visit category under Visit Category. Also check that the plan includes Visitor Pre Register and that the monthly visitor limit is not reached. |
| Nobody gets emails | Check Settings → Email and send the test message. Make sure the template's Email switch is on under Email Notification. |
| SMS or WhatsApp is not sent | Fill in the Twilio tab, switch the channel on in the template, and use phone numbers with the country code. |
| The scan page has no camera | Browsers allow the camera only on https and only in Chrome / Android browsers. Use a USB scanner, type the code, or use the mobile app. |
| My own domain does not verify | DNS can take up to a day. Check the TXT record name and value exactly as shown (no extra quotes or spaces), and that the domain is not already used by another website. |
| The free sub-domain shows a 404 | The wildcard DNS record or the web server's wildcard host is missing, or SITE_BASE_DOMAIN is not set. |
| The website shows "not found" | Switch on Website is live and make sure the page is enabled. |
Mobile app
| Problem | Fix |
|---|---|
| "Cannot reach the server" | Check the server address (https in release builds) and the phone's connection. On the Android emulator your computer is 10.0.2.2. |
| Sign-in is refused | The account must be active and email-verified. If you typed a company code, it must be your organisation's code. The super admin cannot use the app. |
| "Your session has ended" | The sign-in was unused for 60 days or was signed out elsewhere. Sign in again. |
| No push messages | Push needs Firebase (see Build & publish). The Inbox always works. |
AI
| Problem | Fix |
|---|---|
| "AI is not available" | Connect your service under Settings → AI Settings, switch it on, and check that your plan includes AI and the daily limit is not used up. |
| The connection test fails | Check the key, the model name and (for a custom service) the address, which must start with https://. |
Environment variables
Set in the .env file. Run php artisan optimize:clear after changing it.
| Key | Default | Purpose |
|---|---|---|
APP_ENV / APP_DEBUG / APP_URL | - | Environment, debug output and the public address. |
DB_* | - | Database host, name, user and password (set by the installer). |
QUEUE_CONNECTION | sync | Use database to send messages in the background. |
SITE_BASE_DOMAIN | empty | Base domain for free website sub-domains (your-name.SITE_BASE_DOMAIN). Needs wildcard DNS. |
CUSTOM_DOMAIN_IP | empty | Server address shown to owners who connect a bare domain (A record). |
MOBILE_TOKEN_IDLE_DAYS | 60 | Days of non-use after which a phone sign-in ends (0 = never). |
FCM_PROJECT_ID, FCM_CREDENTIALS | empty | Firebase project id and the full path of the service-account JSON, for mobile push messages. |
Email (SMTP), Twilio, AI keys and payment keys are saved per organisation in Settings, not in .env.
Change log
What changed, newest first.
Version 2.0 – 22 November 2026
- One mobile app for Android and iPhone: owner, manager, reception, host and guest pass, with scanning, walk-ins, approvals, attendance, leave, inbox, a security lock and offline start.
- Visitor lifecycle with approve, reject, check in and check out, real arrival and departure times, history and notes, overstay and no-show handling.
- Scannable QR passes, a Scan Pass page, host approval links in messages, a blacklist, a monthly visitor limit per plan, returning-visitor lookup, filters and CSV export.
- Company websites with a block editor, ready-made pages and pictures, a full pre-registration page, a customisable footer, and free sub-domains and verified own domains.
- AI tools working with the service each owner chooses (GPT, Claude, Gemini, Mistral and more), included by plan with a daily limit: an assistant that asks for confirmation, a dashboard briefing, category suggestions and weekly summaries.
- New dashboards for owner, host and super admin; reports for visitors, attendance, leave, organisations and revenue.
- New message templates (host notification, status update, daily digest), more n8n events and a REST API with tokens.
- Security fixes: every record is now checked against the signed-in organisation, public forms are rate-limited and bot-protected, and the QR image in passes works.
- Menu regrouped by workflow, with an HR group.
- Mobile App menu: super admin console (store links, minimum version, maintenance, per-company switch), owner page with QR code, company code and branding, public join page, and a Mobile app block and page template for each owner's website.
Support
Stuck? We are happy to help.
Open a ticket at support.smartwebinfotech.com. Please include your purchase code, the page you were on, what you expected and what happened, and, if you can, the last lines of storage/logs/laravel.log.
