PHP Classes

File: artisan

Recommend this page to a friend!
  Classes of Okanlawon Anuoluwapo   Book Library   artisan   Download  
File: artisan
Role: Example script
Content type: text/plain
Description: Example script
Class: Book Library
Application to manage a book library
Author: By
Last change:
Date: 21 days ago
Size: 350 bytes
 

Contents

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

use Symfony\Component\Console\Input\ArgvInput;

define('LARAVEL_START', microtime(true));

// Register the Composer autoloader...
require __DIR__.'/vendor/autoload.php';

// Bootstrap Laravel and handle the command...
$status = (require_once __DIR__.'/bootstrap/app.php')
    ->
handleCommand(new ArgvInput);

exit(
$status);