PHP code example of jhasheng / purple

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

    

jhasheng / purple example snippets

 php
Purple\ServiceProvider\PurpleServiceProvider::class,
 php
\Purple\Middleware\Purple::class,
 bash
php artisan vendor:publish --provider='Purple\ServiceProvider\PurpleServiceProvider' [--force] [--tag="purple.config|purple.assets|purple.sql"]
 bash
composer dump-autoload
php artisan migration