Merhabalar. Laravel Filament admin paneli kurulumu yaptım. FTP'den web sunucumu import ettim. Anasayfa başarılı bir şekilde yükleniyor fakat "/admin" url'sine girince 404 not found hatası alıyorum.
app/models/user.php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;
use Filament\Models\Contracts\FilamentUser;
class User extends Authenticatable implements FilamentUser
{
use HasApiTokens, HasFactory, Notifiable, IsFilamentUser;
/**
* The attributes that are mass assignable.
*
* @var array<int, string>
*/
protected $fillable = [
'name',
'email',
'password',
];
/**
* The attributes that should be hidden for serialization.
*
* @var array<int, string>
*/
protected $hidden = [
'password',
'remember_token',
];
/**
* The attributes that should be cast.
*
* @var array<string, string>
*/
protected $casts = [
'email_verified_at' => 'datetime',
];
}
route:list =>
POST _ignition/execute-solution ignition.executeSolution › Spatie\Lar…
GET|HEAD _ignition/health-check ignition.healthCheck › Spatie\LaravelIgni…
POST _ignition/update-config ignition.updateConfig › Spatie\LaravelIg…
GET|HEAD admin ..... filament.pages.dashboard › Filament\Pages › Dashboard
GET|HEAD admin/customers filament.resources.customers.index › App\Filamen…
GET|HEAD admin/customers/create filament.resources.customers.create › App…
GET|HEAD admin/customers/{record}/edit filament.resources.customers.edit …
GET|HEAD admin/login ......... filament.auth.login › Filament\Http › Login
GET|HEAD admin/posts filament.resources.posts.index › App\Filament\Resour…
GET|HEAD admin/posts/create filament.resources.posts.create › App\Filamen…
GET|HEAD admin/posts/{record}/edit filament.resources.posts.edit › App\Fi…
GET|HEAD api/user ........................................................
GET|HEAD filament/assets/{file} filament.asset › Filament\Http › AssetCon…
POST filament/logout ............................ filament.auth.logout
GET|HEAD livewire/livewire.js Livewire\Controllers › LivewireJavaScriptAs…
GET|HEAD livewire/livewire.js.map Livewire\Controllers › LivewireJavaScri…
POST livewire/message/{name} livewire.message › Livewire\Controllers …
GET|HEAD livewire/preview-file/{filename} livewire.preview-file › Livewir…
POST livewire/upload-file livewire.upload-file › Livewire\Controllers…
GET|HEAD sanctum/csrf-cookie . Laravel\Sanctum › CsrfCookieController@show```