Getting Started
phpvms runs on PHP 8.2+ with MySQL or MariaDB. Follow these five steps and you'll have a working virtual airline ready to accept your first pilot.
Download phpvms
Grab the latest release from GitHub or clone the repo. Drop it
into your web root and make the storage/ and
bootstrap/cache/ directories writable.
git clone https://github.com/phpvms/phpvms.git
Configure your virtual host
Point your web server at the public/ directory.
Caddy is recommended, but Apache and nginx configs
are documented for
both shared hosting and bare VPS setups.
yourdomain.com {
root * /path/to/phpvms/public
php_fastcgi localhost:9000
file_server
}
Run the install wizard
Visit your domain in a browser. The web installer walks you through the database connection, admin account, and initial configuration.
https://your-domain.com/install
Set up the cron job
phpvms runs scheduled tasks (PIREP processing, backups, etc.) via a single cron entry that triggers Laravel's scheduler every minute.
* * * * * php /path/to/phpvms/artisan schedule:run
You're flying
Log in to the admin panel and start adding your fleet, airports, and routes. The next steps below cover the most common follow-up tasks.
What's next
Common follow-up tasks once your install is up and running.