Skip to content

Commit

Permalink
update readme and config with example comment
Browse files Browse the repository at this point in the history
  • Loading branch information
awcodes committed Jul 21, 2022
1 parent 92a9885 commit 588e5ee
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,23 @@ Install the package via composer
composer require awcodes/filament-quick-create
```

## Excluding Resources

Publish the config file.

```bash
php artisan vendor:publish tag=filament-quick-create
```

Then just add the Resource Classes that you want to exclude.

```php
'exclude' => [
UserResource::class,
...
]
```

## Usage

That's it, after installing the create menu will show up in the filament header next to the global search input.
2 changes: 1 addition & 1 deletion config/filament-quick-create.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

return [
'exclude' => [
//
// UserResource::class
]
];

0 comments on commit 588e5ee

Please sign in to comment.