Skip to content

Instantly share code, notes, and snippets.

View devhoussam's full-sized avatar
😀
Working

Houssam Hammouda devhoussam

😀
Working
View GitHub Profile
<?php
namespace App\Http\Livewire;
use App\Models\User;
use Livewire\Component;
class ExampleForm extends Component
{
public $name = '';
// app\Http\Controllers\Auth\RegisteredUserController.php
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Models\User;
use Spatie\Permission\Models\Role;
use Spatie\Permission\Models\Permission;