PHP code example of markwalet / laravel-hashed-route
1. Go to this page and download the library: Download markwalet/laravel-hashed-route 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/ */
markwalet / laravel-hashed-route example snippets
MarkWalet\LaravelHashedRoute\HashedRouteServiceProvider::class
use MarkWalet\LaravelHashedRoute\Concerns\HasHashedRouteKey;
class TestModel extends Model
{
use HasHashedRouteKey;
//...
}
shell
php artisan vendor:publish --provider="MarkWalet\LaravelHashedRoute\HashedRouteServiceProvider"