PHP code example of nanicas / legacy-laravel-toolkit-library

1. Go to this page and download the library: Download nanicas/legacy-laravel-toolkit-library 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/ */

    

nanicas / legacy-laravel-toolkit-library example snippets




'providers' => [
    \Nanicas\LegacyLaravelToolkit\Providers\BootstrapServiceProvider::class,
]

php artisan vendor:publish --tag="legacy_laravel_toolkit:config"
json
"autoload": {
    "files": [
        "app/Functions/global.php"
    ]
}