PHP code example of gesirdek / app-creator

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

    

gesirdek / app-creator example snippets


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

    Gesirdek\Coders\CodersServiceProvider::class,
],
// ...

public function register()
{
    if ($this->app->environment() == 'local') {
        $this->app->register(Gesirdek\Coders\CodersServiceProvider::class);
    }
}

Route::get('admin/{name?}', function ($name='') {
    return view('admin');
})->where('name','.*');
shell
php artisan vendor:publish --tag=gesirdek-models --force
php artisan config:clear
shell
php artisan code:models
shell
php artisan code:models --connection=pgsql