Skip to content

Commit

Permalink
add scan feature
Browse files Browse the repository at this point in the history
  • Loading branch information
3x1io committed Apr 18, 2024
1 parent aa5adf3 commit 7dac48c
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,51 @@ php artisan filament-plugins:widget

it will generate the files for you and you can use it directly, please note that you need to generate the model first than use other commands

## List your package on the plugins list

you can list your package on the plugins list by adding this a json file in your package root folder with name `filament-plugin.json` with content like this:

```json
{
"name": "FilamentAccounts",
"alias": "filament-accounts",
"description": {
"ar": "full accounts manager with API\/Notifications\/Contacts to manage your contacts and accounts",
"en": "full accounts manager with API\/Notifications\/Contacts to manage your contacts and accounts",
"gr": "full accounts manager with API\/Notifications\/Contacts to manage your contacts and accounts",
"sp": "full accounts manager with API\/Notifications\/Contacts to manage your contacts and accounts"
},
"keywords": [],
"priority": 0,
"providers": [
"TomatoPHP\\FilamentAccounts\\FilamentAccountsServiceProvider"
],
"files": [],
"title": {
"ar": "Filament Accounts",
"en": "Filament Accounts",
"gr": "Filament Accounts",
"sp": "Filament Accounts"
},
"color": "#007dff",
"icon": "heroicon-c-user-circle",
"pages": [
],
"resources": [],
"widgets": [],
"placeholder": "placeholder.webp",
"type": "lib",
"version": "v1.0",
"github" : "https://github.com/tomatophp/filament-accounts",
"docs" : "https://github.com/tomatophp/filament-accounts"
}
```

make sure you allow packages scan on the `filament-plugins.php` config file

```php
'scan' => true
```

## Publish Assets

Expand Down

0 comments on commit 7dac48c

Please sign in to comment.