mirror of
https://github.com/filamentphp/filament.git
synced 2026-08-30 17:07:25 +08:00
Remove Laravel 10 docs refs
This commit is contained in:
@@ -31,7 +31,7 @@ php artisan make:filament-panel app
|
||||
|
||||
This command will create a new panel called "app". A configuration file will be created at `app/Providers/Filament/AppPanelProvider.php`. You can access this panel at `/app`, but you can [customize the path](#changing-the-path) if you don't want that.
|
||||
|
||||
Since this configuration file is also a [Laravel service provider](https://laravel.com/docs/providers), it needs to be registered in `bootstrap/providers.php` (Laravel 11 and above) or `config/app.php` (Laravel 10 and below). Filament will attempt to do this for you, but if you get an error while trying to access your panel then this process has probably failed.
|
||||
Since this configuration file is also a [Laravel service provider](https://laravel.com/docs/providers), it needs to be registered in `bootstrap/providers.php` (Laravel 11 app structure and above) or `config/app.php` (Laravel 10 app structure and below). Filament will attempt to do this for you, but if you get an error while trying to access your panel then this process has probably failed.
|
||||
|
||||
## Changing the path
|
||||
|
||||
|
||||
@@ -11,17 +11,8 @@ Filament includes an action that is able to import rows from a CSV. When the tri
|
||||
This feature uses [job batches](https://laravel.com/docs/queues#job-batching) and [database notifications](../../notifications/database-notifications), so you need to publish those migrations from Laravel. Also, you need to publish the migrations for tables that Filament uses to store information about imports:
|
||||
|
||||
```bash
|
||||
# Laravel 11 and higher
|
||||
php artisan make:queue-batches-table
|
||||
php artisan make:notifications-table
|
||||
|
||||
# Laravel 10
|
||||
php artisan queue:batches-table
|
||||
php artisan notifications:table
|
||||
```
|
||||
|
||||
```bash
|
||||
# All apps
|
||||
php artisan vendor:publish --tag=filament-actions-migrations
|
||||
php artisan migrate
|
||||
```
|
||||
|
||||
@@ -9,17 +9,8 @@ import UtilityInjection from "@components/UtilityInjection.astro"
|
||||
Filament includes an action that is able to export rows to a CSV or XLSX file. When the trigger button is clicked, a modal asks for the columns that they want to export, and what they should be labeled. This feature uses [job batches](https://laravel.com/docs/queues#job-batching) and [database notifications](../../notifications/database-notifications), so you need to publish those migrations from Laravel. Also, you need to publish the migrations for tables that Filament uses to store information about exports:
|
||||
|
||||
```bash
|
||||
# Laravel 11 and higher
|
||||
php artisan make:queue-batches-table
|
||||
php artisan make:notifications-table
|
||||
|
||||
# Laravel 10
|
||||
php artisan queue:batches-table
|
||||
php artisan notifications:table
|
||||
```
|
||||
|
||||
```bash
|
||||
# All apps
|
||||
php artisan vendor:publish --tag=filament-actions-migrations
|
||||
php artisan migrate
|
||||
```
|
||||
|
||||
@@ -11,11 +11,7 @@ import AutoScreenshot from "@components/AutoScreenshot.astro"
|
||||
Before we start, make sure that the [Laravel notifications table](https://laravel.com/docs/notifications#database-prerequisites) is added to your database:
|
||||
|
||||
```bash
|
||||
# Laravel 11 and higher
|
||||
php artisan make:notifications-table
|
||||
|
||||
# Laravel 10
|
||||
php artisan notifications:table
|
||||
```
|
||||
|
||||
> If you're using PostgreSQL, make sure that the `data` column in the migration is using `json()`: `$table->json('data')`.
|
||||
|
||||
Reference in New Issue
Block a user