PHP code example of incrusio21 / laravel-erp

1. Go to this page and download the library: Download incrusio21/laravel-erp library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

incrusio21 / laravel-erp example snippets


//$app = new Illuminate\Foundation\Application(
$app = new LaravelErp\Foundation\Application(
    $_ENV['APP_BASE_PATH'] ?? dirname(__DIR__),
    'site'
);

//use Illuminate\Foundation\Http\Kernel as HttpKernel;
use LaravelErp\Foundation\Http\Kernel as HttpKernel;

//use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
use LaravelErp\Foundation\Console\Kernel as ConsoleKernel;

php artisan erp:storage_link