1. Go to this page and download the library: Download norman-huth/muetze-site 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/ */
norman-huth / muetze-site example snippets
bash
php artisan make:migration:pivot User Role
bash
php artisan make:migration:pivot User Role --id1=uui --id2=foo_bar
php
namespace App\Models;
use NormanHuth\Muetze\Traits\EncryptsAttributes;
use Illuminate\Database\Eloquent\Model;
class UserData extends Model
{
use EncryptsAttributes;
/**
* The attributes that are encrypted.
*
* @var array
*/
protected array $encrypts = [
'access_token',
'address',
];
}