PHP code example of visiarch / laravel-action

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

    

visiarch / laravel-action example snippets




namespace App\Actions;

/**
 * Class CreateUser
 * @package App\Actions
 */
class CreateUser
{
    /**
     * @return true
     */
    public function execute(){
        // write your code here
        return true;
    }
}
bash
$ php artisan make:action CreateUser