PHP code example of yumaitau / laravel-random-token
1. Go to this page and download the library: Download yumaitau/laravel-random-token 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/ */
yumaitau / laravel-random-token example snippets
$token = \YumaIt\RandomToken\RandomToken::generate(); // ABCD12
$token = \YumaIt\RandomToken\RandomToken::generate(8); // ABCD1234
bash
php artisan vendor:publish --tag="random-token-translations"