Go to file
2026-06-03 18:34:17 +02:00
.github More test fixes 2026-06-02 15:40:01 -05:00
.hooks fix(pre-commit): add '--' to npm commands for proper argument handling 2026-04-25 10:15:33 +02:00
app refactor(updater): drop non-proc_open fallback branches 2026-06-03 18:34:17 +02:00
bin Updating styling and looks of the installer/admin/system filament pages (#2211) 2026-05-20 11:05:32 -05:00
bootstrap fix(activity-log): reset to disabled per request for Octane safety 2026-05-27 19:22:53 -05:00
config Add Mailgun configuration and improve datetime parsing in YamlSeeder 2026-05-29 22:39:42 -05:00
database Fix sample seeder 2026-06-02 16:15:59 -05:00
docs Remove is_default and composer update 2026-05-23 12:05:32 -05:00
modules refactor: remove VaCentral package and update airport lookup implementation 2026-05-22 18:27:54 +02:00
public Rebase against main 2026-05-27 19:24:25 -05:00
resources More test fixes 2026-06-02 15:40:01 -05:00
routes More optimizations and adjustments 2026-05-27 14:26:29 -05:00
storage [8.x] Add composer run dev command (#2009) 2025-03-14 12:26:44 -05:00
tests More test fixes 2026-06-02 15:40:01 -05:00
.dockerignore Add railpack for better Docker build 2026-05-27 23:24:49 -05:00
.editorconfig postgres fixes 2026-06-01 18:38:58 -05:00
.env.example Make default ports non-priviledged 2026-05-29 13:47:50 -05:00
.gitignore postgres fixes 2026-06-01 18:38:58 -05:00
.htaccess Remove vendor from .htaccess (#1994) 2025-02-14 14:24:19 -06:00
.mise.toml More test fixes 2026-06-02 15:40:01 -05:00
.oxfmtrc.json postgres fixes 2026-06-01 18:38:58 -05:00
.oxlintrc.json Updating styling and looks of the installer/admin/system filament pages (#2211) 2026-05-20 11:05:32 -05:00
artisan [8.x] refactor: migrate to the new modern laravel structure (#2207) 2026-05-07 14:58:11 -05:00
bun.lock Add railpack for better Docker build 2026-05-27 23:24:49 -05:00
CHANGELOG.md add oxlint and oxfmt 2026-03-18 23:17:18 +01:00
compose.deploy.yml Eager load ref_model relationships in expense migration and add AUTORUN_ENABLED environment variable to deployment configuration. 2026-05-30 17:44:15 -05:00
compose.sail.yml extra value in compose 2026-05-31 14:16:54 -05:00
compose.test.yml More test fixes 2026-06-02 15:40:01 -05:00
composer.json More test fixes 2026-06-02 15:40:01 -05:00
composer.lock More test fixes 2026-06-02 15:40:01 -05:00
Dockerfile.prod Rename active to enabled in multiple files and update related logic for consistency. 2026-05-29 18:26:49 -05:00
LICENSE Update LICENSE 2024-10-15 09:14:15 -05:00
mago.toml Mago adjustment 2026-05-31 13:50:23 -05:00
package-lock.json Update pkg lock 2026-05-24 11:56:12 -05:00
package.json PR feedback 2026-05-28 10:03:15 -05:00
phpstan.neon feat(schema-modernization): foundations for RouteForge 2026-05-23 12:05:09 -05:00
phpunit.xml postgres fixes 2026-06-01 18:38:58 -05:00
pint.json add oxlint and oxfmt 2026-03-18 23:17:18 +01:00
railpack.json Add railpack for better Docker build 2026-05-27 23:24:49 -05:00
README.md postgres fixes 2026-06-01 18:38:58 -05:00
rector.php [8.x] feature: upgrade to Laravel 13 (#2204) 2026-05-06 11:27:21 -05:00
tsconfig.json feat(routeforge): admin batch flight composer + lint pipeline 2026-05-24 11:55:33 -05:00
vite.config.js feat(routeforge): admin batch flight composer + lint pipeline 2026-05-24 11:55:33 -05:00
vitest.config.ts test(routeforge): pest + vitest coverage + service fixes 2026-05-24 11:55:36 -05:00

phpVMS 8 - Build, Fly, Extend

BuildStyleCILicense

phpVMS is a PHP application to run and simulate an airline. It allowed users to register, view flight schedules that you create, and file flight reports, built on the Laravel framework. The latest documentation, with installation instructions is available on the phpVMS documentation site.

Installation

A full distribution, with all the composer dependencies, is available at this GitHub Releases link.

Requirements

  • PHP 8.3+, extensions:

    • cURL
    • JSON
    • fileinfo
    • mbstring
    • openssl
    • pdo
    • tokenizer
    • intl
    • zip
  • Database:

    • PostgreSQL 16+
    • MySQL 8.0+
    • MariaDB 10.6+
    • Redis 6.0+ (optional, recommended)

View more details on requirements

Production Deployment with Docker

The reference production stack is compose.deploy.yml. It runs the official phpvms image (built from the repo Dockerfile, based on serversideup/php:8.5-frankenphp) with Laravel Octane worker mode enabled, plus PostgreSQL and Redis. No separate web-server sidecar is needed — FrankenPHP serves HTTP/HTTPS directly.

docker compose -f compose.deploy.yml up -d

Octane worker mode

The image itself ships with serversideup's default classic FrankenPHP entry point (one PHP worker per request). compose.deploy.yml opts into Laravel Octane worker mode via a command: override on the app service — the pattern documented upstream.

To fall back to classic FrankenPHP + PHP-worker mode (matches the prior PHP-FPM request semantics — slower per request but bulletproof if a worker-mode bug hits), delete the command: line from the app service and recreate the container:

services:
  app:
    # command: [...octane:start...]   # remove this line

Module authors: under Octane the framework stays booted across requests, so avoid per-request data in singleton-bound services, static array accumulators, and boot()-time toggles without a matching per-request reset. See app/Http/Middleware/DisableActivityLoggingByDefault.php for the pattern used to keep activity logging request-scoped.

Development Environment

The development environment uses mise. You can read about mise and install it from here. If you want mise to handle installing the correct PHP version, you can run:

mise install

If you install the mise shell script integration, the correct PHP version will automatically be selected for you.~~~~

A full development environment can be brought up using Docker and Laravel Sail, without having to install composer/npm locally

make docker-test

# **OR** with docker directly

docker run --rm \
    -u "$(id -u):$(id -g)" \
    -v "$(pwd):/var/www/html" \
    -w /var/www/html \
    laravelsail/php84-composer:latest \
    composer install --ignore-platform-reqs

# Then you can start sail
./vendor/bin/sail up

Then go to http://localhost.

Instead of repeatedly typing vendor/bin/sail to execute Sail commands, you may wish to configure a shell alias that allows you to execute Sail's commands more easily:

alias sail='[ -f sail ] && sh sail || sh vendor/bin/sail'

Then you can execute php, artisan, composer, npm, etc. commands using the sail prefix:

# PHP commands within Laravel Sail...
sail php --version

# Artisan commands within Laravel Sail...
sail artisan about

# Composer commands within Laravel Sail...
sail composer install

# NPM commands within Laravel Sail...
sail npm run dev

To interact with databases (MariaDB, Redis...), please refer to the Laravel Sail documentation

Building JS/CSS assets

Yarn is required, run:

make build-assets

This will build all the assets according to the webpack file.

Laravel Boost

If you want to use AI agents for your development workflow, please ensure you install Laravel Boost by running the following command:

php artisan boost:install

Contributors

Thank you to everyone who've contributed to phpVMS!