PHP code example of mrlaozhou / laravel-package

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

    

mrlaozhou / laravel-package example snippets


[
    /*
    |--------------------------------------------------------------------------
    | 开发包目录
    |--------------------------------------------------------------------------
    |   建议所有的开发包放到统一目录 便于管理
    |   注:相对于base
    |
    */

    'package_path'              =>  'laravel-packages',

    /*
    |--------------------------------------------------------------------------
    | Author
    |--------------------------------------------------------------------------
    */

    'author'                    =>  'mrlaozhou',

    'email'                     =>  '[email protected]',


    /*
    |--------------------------------------------------------------------------
    | 扩展目录
    |--------------------------------------------------------------------------
    |
    */

    'directories'               =>  [

//        'database/migrations'
    ],

    /*
    |--------------------------------------------------------------------------
    | git 支持
    |--------------------------------------------------------------------------
    |
    */

    'git'                       =>  true,

    /*
    |--------------------------------------------------------------------------
    | README 支持
    |--------------------------------------------------------------------------
    |
    */

    'readme'                    =>  true,
]
shell
php artisan package-builder:publish