PHP code example of rhyslees / enum-traits

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

    

rhyslees / enum-traits example snippets


return [
];

$enumTraits = new RhysLees\EnumTraits();
echo $enumTraits->echoPhrase('Hello, RhysLees!');
bash
php artisan vendor:publish --tag="enum-traits-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="enum-traits-config"
bash
php artisan vendor:publish --tag="enum-traits-views"