forked from filamentphp/demo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
64 changed files
with
270 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
APP_NAME=Laravel | ||
APP_NAME="Filament Demo" | ||
APP_ENV=local | ||
APP_KEY= | ||
APP_DEBUG=true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
namespace App\Filament\Pages\Auth; | ||
|
||
use Filament\Http\Livewire\Auth\Login as BasePage; | ||
|
||
class Login extends BasePage | ||
{ | ||
public function mount(): void | ||
{ | ||
parent::mount(); | ||
|
||
$this->form->fill([ | ||
'email' => '[email protected]', | ||
'password' => 'password', | ||
'remember' => true, | ||
]); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
app/Filament/Resources/Blog/AuthorResource/Pages/CreateAuthor.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace App\Filament\Resources\Blog\AuthorResource\Pages; | ||
|
||
use App\Filament\Resources\Blog\AuthorResource; | ||
use Filament\Resources\Pages\CreateRecord; | ||
|
||
final class CreateAuthor extends CreateRecord | ||
class CreateAuthor extends CreateRecord | ||
{ | ||
protected static string $resource = AuthorResource::class; | ||
} |
4 changes: 1 addition & 3 deletions
4
app/Filament/Resources/Blog/AuthorResource/Pages/EditAuthor.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace App\Filament\Resources\Blog\AuthorResource\Pages; | ||
|
||
use App\Filament\Resources\Blog\AuthorResource; | ||
use Filament\Resources\Pages\EditRecord; | ||
|
||
final class EditAuthor extends EditRecord | ||
class EditAuthor extends EditRecord | ||
{ | ||
protected static string $resource = AuthorResource::class; | ||
} |
4 changes: 1 addition & 3 deletions
4
app/Filament/Resources/Blog/AuthorResource/Pages/ListAuthors.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
app/Filament/Resources/Blog/CategoryResource/Pages/CreateCategory.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace App\Filament\Resources\Blog\CategoryResource\Pages; | ||
|
||
use App\Filament\Resources\Blog\CategoryResource; | ||
use Filament\Resources\Pages\CreateRecord; | ||
|
||
final class CreateCategory extends CreateRecord | ||
class CreateCategory extends CreateRecord | ||
{ | ||
protected static string $resource = CategoryResource::class; | ||
} |
4 changes: 1 addition & 3 deletions
4
app/Filament/Resources/Blog/CategoryResource/Pages/EditCategory.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace App\Filament\Resources\Blog\CategoryResource\Pages; | ||
|
||
use App\Filament\Resources\Blog\CategoryResource; | ||
use Filament\Resources\Pages\EditRecord; | ||
|
||
final class EditCategory extends EditRecord | ||
class EditCategory extends EditRecord | ||
{ | ||
protected static string $resource = CategoryResource::class; | ||
} |
4 changes: 1 addition & 3 deletions
4
app/Filament/Resources/Blog/CategoryResource/Pages/ListCategories.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace App\Filament\Resources\Blog\PostResource\Pages; | ||
|
||
use App\Filament\Resources\Blog\PostResource; | ||
use Filament\Resources\Pages\CreateRecord; | ||
|
||
final class CreatePost extends CreateRecord | ||
class CreatePost extends CreateRecord | ||
{ | ||
protected static string $resource = PostResource::class; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace App\Filament\Resources\Blog\PostResource\Pages; | ||
|
||
use App\Filament\Resources\Blog\PostResource; | ||
use Filament\Resources\Pages\EditRecord; | ||
|
||
final class EditPost extends EditRecord | ||
class EditPost extends EditRecord | ||
{ | ||
protected static string $resource = PostResource::class; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
app/Filament/Resources/Shop/BrandResource/Pages/CreateBrand.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace App\Filament\Resources\Shop\BrandResource\Pages; | ||
|
||
use App\Filament\Resources\Shop\BrandResource; | ||
use Filament\Resources\Pages\CreateRecord; | ||
|
||
final class CreateBrand extends CreateRecord | ||
class CreateBrand extends CreateRecord | ||
{ | ||
protected static string $resource = BrandResource::class; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace App\Filament\Resources\Shop\BrandResource\Pages; | ||
|
||
use App\Filament\Resources\Shop\BrandResource; | ||
use Filament\Resources\Pages\EditRecord; | ||
|
||
final class EditBrand extends EditRecord | ||
class EditBrand extends EditRecord | ||
{ | ||
protected static string $resource = BrandResource::class; | ||
} |
4 changes: 1 addition & 3 deletions
4
app/Filament/Resources/Shop/BrandResource/Pages/ListBrands.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
app/Filament/Resources/Shop/CategoryResource/Pages/CreateCategory.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace App\Filament\Resources\Shop\CategoryResource\Pages; | ||
|
||
use App\Filament\Resources\Shop\CategoryResource; | ||
use Filament\Resources\Pages\CreateRecord; | ||
|
||
final class CreateCategory extends CreateRecord | ||
class CreateCategory extends CreateRecord | ||
{ | ||
protected static string $resource = CategoryResource::class; | ||
} |
4 changes: 1 addition & 3 deletions
4
app/Filament/Resources/Shop/CategoryResource/Pages/EditCategory.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace App\Filament\Resources\Shop\CategoryResource\Pages; | ||
|
||
use App\Filament\Resources\Shop\CategoryResource; | ||
use Filament\Resources\Pages\EditRecord; | ||
|
||
final class EditCategory extends EditRecord | ||
class EditCategory extends EditRecord | ||
{ | ||
protected static string $resource = CategoryResource::class; | ||
} |
4 changes: 1 addition & 3 deletions
4
app/Filament/Resources/Shop/CategoryResource/Pages/ListCategories.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
app/Filament/Resources/Shop/CustomerResource/Pages/CreateCustomer.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace App\Filament\Resources\Shop\CustomerResource\Pages; | ||
|
||
use App\Filament\Resources\Shop\CustomerResource; | ||
use Filament\Resources\Pages\CreateRecord; | ||
|
||
final class CreateCustomer extends CreateRecord | ||
class CreateCustomer extends CreateRecord | ||
{ | ||
protected static string $resource = CustomerResource::class; | ||
} |
4 changes: 1 addition & 3 deletions
4
app/Filament/Resources/Shop/CustomerResource/Pages/EditCustomer.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace App\Filament\Resources\Shop\CustomerResource\Pages; | ||
|
||
use App\Filament\Resources\Shop\CustomerResource; | ||
use Filament\Resources\Pages\EditRecord; | ||
|
||
final class EditCustomer extends EditRecord | ||
class EditCustomer extends EditRecord | ||
{ | ||
protected static string $resource = CustomerResource::class; | ||
} |
Oops, something went wrong.