PHP code example of tiemsky / haskey
1. Go to this page and download the library: Download tiemsky/haskey 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/ */
tiemsky / haskey example snippets
bash
php artisan vendor:publish --tag=config --provider="Tiemsky\HasKey\HasKeyServiceProvider"
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Tiemsky\HasKey;
class YourModel extends Model
{
use HasKey;
// Additional model code