phpvms re-imagined on laravel
CSS PHP HTML JavaScript Makefile ApacheConf Other
Switch branches/tags
Nothing to show
Latest commit 7b0a1c1 Oct 10, 2017 @nabeelio nabeelio laravel 5.5 updates
Failed to load latest commit information.
.idea composer update == bad Sep 7, 2017
app Fix on registration error. Sep 30, 2017
bootstrap damn you travis. fixed multiple define Aug 14, 2017
config comment out RSS stuff for now Aug 17, 2017
database #21 file PIREP; populate custom fields and set correct status Aug 23, 2017
public admin styling updates/fixes Aug 24, 2017
resources laravel 5.5 updates Oct 10, 2017
routes #21 PIREP submit form first pass Aug 16, 2017
storage add xml files to ignore in storage Jul 23, 2017
tests fix tests, finally. i hope. cleanup before laravel 5.5 update Sep 7, 2017
.bowerrc add bower for client deps Aug 15, 2017
.editorconfig #23 set the rank payrate to an aircraft; add some sample data Jun 22, 2017 Cleanup of database reset and cleanup Jul 13, 2017
.env.travis travis - run reset again Jul 13, 2017
.gitignore inital styles Aug 17, 2017
.htaccess #21 PIREP scaffolding Jun 29, 2017
.travis.yml remove ghr Jul 25, 2017
Dockerfile initial files Jun 7, 2017
Homestead.yaml include the Homestead.yaml Jun 13, 2017
LICENSE Initial commit Jun 7, 2017
Makefile collapsable menu w/saving in admin Aug 21, 2017
Procfile #11 some more organization around the aircraft Jun 14, 2017 updated README with install instructions Jul 14, 2017
Vagrantfile include vagrant and update README Jun 13, 2017 include vagrant and update README Jun 13, 2017
aliases include vagrant and update README Jun 13, 2017
artisan laravel base files Jun 8, 2017
bower.json add select2 to deps Aug 16, 2017
composer.json laravel 5.5 updates Oct 10, 2017
composer.lock laravel 5.5 updates Oct 10, 2017
gulpfile.js experimenting with gulp Jun 21, 2017
package-lock.json commit package-lock.json Jun 11, 2017
package.json experimenting with gulp Jun 21, 2017
phpunit.xml travis - stop supressing output Jul 13, 2017
phpvms.iml project file Oct 10, 2017
server.php laravel base files Jun 8, 2017

phpvms 4

Build Status Codacy Badge Total Downloads Latest Stable Version Latest Unstable Version License

The next phpvms version built on the laravel framework. work in progress. If you're looking for the old, phpVMS classic, it's available here.


run the following commands. for right now, we're running on sqlite. for mysql, set DB_CONNECTION to mysql in the .env file.

cp .env
composer install --no-interaction
php artisan database:create
php artisan migrate:refresh --seed

then point your webserver to the /public folder. for example, in nginx:

server {
    listen 80 default_server;
    listen [::]:80 default_server ipv6only=on;

    root /var/www/laravel/public;
    index index.php index.html index.htm;

    server_name localhost;

    location / {
            try_files $uri $uri/ =404;

development environment

For development, copy the included .env.example to .env file. By default, it uses sqlite instead of mysql. This makes it much easier to be able to clear the database and new fixtures.

makefile commands

I use Makefiles to be able to quickly setup the environment.

# to do an initial setup of the composer deps and install the DB

Then to reset the database/clear cache, use:

make reset

database seeding

There is a database/seeds/dev.yml which contains the initial seed data that can be used for testing. For production use, there is a prod.yml file. The make reset handles seeding the database with the data from the dev.yml.

virtual machine

Using Laravel Homestead is probably the easiest way to get this working. Follow their instructions for install. A Vagrantfile and Homestead.yaml is included here. Add this to your /etc/hosts:

And then to launch:

vagrant up

And then accessing it via should just work.

(TODO: redis information, etc)


extract files and run the migrations:

php artisan migrate