PHP code example of corazzi / laravel-development-pack

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

    

corazzi / laravel-development-pack example snippets


// AppServiceProvider.php

public function register()
{
    if ($this->app->environment() !== 'production') {
        $this->app->register(Corazzi\LaravelDevelopmentPack\ServiceProvider::class);
    }
}
bash
php artisan vendor:publish --provider="Corazzi\LaravelDevelopmentPack\ServiceProvider"