PHP code example of narcisonunez / laravel-scripts
1. Go to this page and download the library: Download narcisonunez/laravel-scripts 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/ */
narcisonunez / laravel-scripts example snippets
/**
* @var int
*/
public int $allowedRuns = 1;
/**
* @var bool
*/
public bool $runAsTransaction = true;
/**
* @var array
*/
public array $dependenciesValues = [
'email : The email for the notification',
'name? : Name of the person running the script',
'role?'
];