PHP code example of tommus / sprout

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

    

tommus / sprout example snippets


return [
  'list' => [
    \App\Sprouts\Example::class,
  ],
];
shell
php artisan vendor:publish --tag=sprout
shell
php artisan sprout:make Example
shell
php artisan sprout:run