PHP code example of cerbero / laravel-enum

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

    

cerbero / laravel-enum example snippets

 bash
$ php artisan make:enum Status 'NAMES={"in_progress":"In progress","complete":"Complete"}'
 bash
$ php artisan make:enum JSON 'HEX_TAG=Hex Tag|HEX_AMP=Hex Amp|HEX_APOS=Hex Apos|HEX_QUOT=Hex Quot' --keys=bitwise