PHP Classes

File: larahost

Recommend this page to a friend!
  Classes of Ankit Jain   Laravel Nginx Configuration   larahost   Download  
File: larahost
Role: Example script
Content type: text/plain
Description: Example script
Class: Laravel Nginx Configuration
Create a Virtualhost in nginx for a Laravel site
Author: By
Last change:
Date: 4 years ago
Size: 334 bytes
 

Contents

Class file image Download
#!/usr/bin/env php
<?php

if (file_exists(__DIR__.'/../../autoload.php')) {
    require
__DIR__.'/../../autoload.php';
} else {
    require
__DIR__.'/vendor/autoload.php';
}

$app = new Symfony\Component\Console\Application('Larahost Laravel Installer', '1.5.0');
$app->add(new Ankitjain28may\Larahost\LarahostCommand);

$app->run();