Go to file
2025-01-10 14:24:46 -06:00
.github Run dump-autoload as part of build 2025-01-10 14:24:46 -06:00
app Squash migrations and migrate db to utf8mb4 (#1804) 2025-01-10 13:03:20 -06:00
bin Laravel 9 Update (#1413) 2022-03-14 11:45:18 -04:00
bootstrap Rename env file (#1597) 2023-08-23 11:27:22 -05:00
config Squash migrations and migrate db to utf8mb4 (#1804) 2025-01-10 13:03:20 -06:00
modules Clean up logs (#1756) 2024-02-21 13:16:48 -06:00
public New Default Theme for phpVMS (#1921) 2025-01-10 10:38:59 -06:00
resources New Default Theme for phpVMS (#1921) 2025-01-10 10:38:59 -06:00
storage Fix the avatars directory #316 2019-07-17 08:56:38 -04:00
tests Squash migrations and migrate db to utf8mb4 (#1804) 2025-01-10 13:03:20 -06:00
.editorconfig Workflow fixes 2025-01-10 14:09:48 -06:00
.env.example Add docker for production (#1914) 2025-01-09 11:02:55 -06:00
.eslintignore Add eslint and styleci files 2018-09-10 09:25:45 -05:00
.eslintrc Refactor all JS API calls #360 (#375) 2019-08-30 08:08:00 -04:00
.gitignore Add a new sample flight 2024-07-09 12:45:48 -05:00
.htaccess Migrate all configs into the env.php file #1075 (#1128) 2021-04-10 17:19:45 -04:00
.php-cs-fixer.php Add PHP 8.1 to shims and build (#1365) 2021-12-03 09:23:59 -05:00
.styleci.yml #355 Calculate distance button (#366) 2019-08-26 12:32:46 -04:00
artisan laravel base files 2017-06-08 13:28:26 -05:00
CHANGELOG.md Update CHANGELOG 2020-05-09 12:24:23 -04:00
composer.json Add docker for production (#1914) 2025-01-09 11:02:55 -06:00
composer.lock Add docker for production (#1914) 2025-01-09 11:02:55 -06:00
docker-compose.dev.yml Add docker for production (#1914) 2025-01-09 11:02:55 -06:00
docker-compose.yml Add docker for production (#1914) 2025-01-09 11:02:55 -06:00
Dockerfile Add docker for production (#1914) 2025-01-09 11:02:55 -06:00
intellij_style.xml Split the importer module out from the installer module (#468) 2019-12-12 15:07:35 -05:00
LICENSE Update LICENSE 2024-10-15 09:14:15 -05:00
Makefile Update README and Makefile (#1803) 2024-06-30 16:31:37 -04:00
package-lock.json Upgrade packages (for security reasons) (#1917) 2024-12-26 12:03:21 -06:00
package.json Bump npm dependencies (#1797) 2024-07-15 13:02:48 -05:00
phpstan.neon some cleanup as-per phpstan 2018-04-23 08:46:28 -05:00
phpunit.xml Upgrade Dependencies (#1839) 2024-07-15 15:41:02 -05:00
Procfile Working docker-compose files for development 2019-05-10 18:40:07 -05:00
README.md Update Readme 2025-01-10 13:51:54 -06:00
swagger.yml Search flights by subfleet #484 (#506) 2020-01-16 17:36:03 -05:00
symfony.lock Upgrade Dependencies (#1839) 2024-07-15 15:41:02 -05:00
version.json Add -dev specifier 2024-07-15 22:29:11 -05:00
webpack.mix.js Fix error in webpack file (#994) 2021-01-20 09:24:27 -05:00

phpVMS 7

Build StyleCI License

phpVMS is a PHP based application to run and simulate and 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 page.

Installation

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

Requirements

  • PHP 8.1+, extensions:
    • cURL
    • JSON
    • fileinfo
    • mbstring
    • openssl
    • pdo
    • tokenizer
    • bcmath
    • intl
  • Database:
    • MySQL 5.7+ (or MySQL variant, including MariaDB and Percona)

View more details on requirements

Installer

  1. Upload to your server
  2. Visit the site, and follow the link to the installer

View installation details

Development Environment with Docker

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/php83-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 of the assets according to the webpack file.


Contributors

Thank you to everyone who've contributed to phpVMS!