PHP code example of phpjuice / blueprint

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

    

phpjuice / blueprint example snippets


'providers' => [
    // ...
    PHPJuice\Blueprint\BlueprintServiceProvider::class,
];



return [
    'custom_template' => false,
    /*
    |--------------------------------------------------------------------------
    | Blueprint Template Stubs Storage Path
    |--------------------------------------------------------------------------
    |
    | Here you can specify your custom template path for the generator.
    |
     */
    'path' => base_path('resources/vendor/blueprint/'),
];
bash
php artisan vendor:publish --tag=blueprint.templates
bash
php artisan vendor:publish --tag=blueprint.config
bash
php artisan blueprint:make CRUD_NAME
bash
php artisan blueprint:make Post
bash
php artisan blueprint:generate CRUD_NAME
bash
php artisan blueprint:generate Post
bash
php artisan migrate