PHP code example of joselee214 / laravel

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

    

joselee214 / laravel example snippets


// ...
'providers' => [
    /*
     * Package Service Providers...
     */

    Joselee214\Ypc\Joselee214ServiceProvider::class,
],
// ...

public function register()
{
    if ($this->app->environment() == 'local') {
        $this->app->register(\Joselee214\Ypc\Joselee214ServiceProvider::class);
    }
}
shell
php artisan vendor:publish --tag=Joselee214-models
php artisan config:clear
shell
php artisan zz:models
shell
php artisan zz:models --table=users
shell
php artisan zz:models --connection=mysql
shell
php artisan zz:models --schema=shop