PHP code example of pentacore / laravel-utils
1. Go to this page and download the library: Download pentacore/laravel-utils 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/ */
pentacore / laravel-utils example snippets
use Pentacore\LaravelUtils\Concerns\EnumUtils;
enum Status: string
{
use EnumUtils;
case Active = 'active';
case Pending = 'pending';
case Archived = 'archived';
}