PHP code example of boynii / lumetor

1. Go to this page and download the library: Download boynii/lumetor 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/ */

    

boynii / lumetor example snippets


composer 

$app->register(Lumetor\Providers\LumetorProvider::class);


if ( ! function_exists('config_path'))
{
    /**
     * Get the configuration path.
     *
     * @param  string $path
     * @return string
     */
    function config_path($path = '')
    {
        return app()->basePath() . '/config' . ($path ? '/' . $path : $path);
    }
}

"autoload": {
    "psr-4": {
        "App\\": "app/"
    },
    "files": [
        "app/helpers/helpers.php"
    ]
},

$ php artisan boynii:genfile

$ php boynii:copy-env  

$ php boynii:copy-migration 

composer dump-autoload