Installation

There are a few ways you can obtain phpVMS and its dependencies. The full package method already includes the vendor directory and you don't need to do anything but upload it.

The tar file from the downloads site contains all of the dependencies. The versions available are:

Coming Soon

After you clone from Github, or download the ZIP that's offered by Github of the source, you have to run composer install in order for the dependencies and vendor data to be downloaded:

git clone https://github.com/nabeelio/phpvms.git
cd phpvms
composer install

After running composer install, you can continue the directions below.


Refer to your hosts documentation for specifics - the database name, username and password here are just examples, replace them with your own. This example is for MySQL:

CREATE DATABASE IF NOT EXISTS `phpvms` CHARACTER SET UTF8 COLLATE utf8_unicode_ci;
CREATE USER 'phpvms'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON phpvms.* TO 'phpvms'@'localhost';
FLUSH PRIVILEGES;

There isn't a setup folder in the tar file. It's done as a Laravel route, which serves to see that your webserver/htaccess files are working correctly

Once you go to your site, you'll see a page like this, click to proceed to the installer.

After clicking next, you'll see the requirements check page. The installer will only let you proceeed if all of the requirements are met.

The next page brings you to the database setup page.

  • Enter the name of your site and the URL
  • Enter your database credentials.
    • You can test to make sure they're working by clicking the "Test Database Credentials" button.

After clicking "Setup Database", you'll see the installation screen. Hit next to proceed:

You'll be brought to the initial setup screen. Create your first airline here, along with your user and password. This will be automatically made as an admin user.

After setting that up, you'll see the completion screen, where you can click next and proceed to login. You'll see your dashboard after logging in, and the installation is complete!

  1. Read about the configuration files.
  2. Setup the cron task on your server
  3. Configure your mail server
  4. Get Recaptcha working