https://github.com/devtical/filament-sanctum
Filament Sanctum
https://github.com/devtical/filament-sanctum
Last synced: 7 months ago
JSON representation
Filament Sanctum
- Host: GitHub
- URL: https://github.com/devtical/filament-sanctum
- Owner: devtical
- License: mit
- Created: 2022-11-20T16:28:04.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-07T18:28:24.000Z (9 months ago)
- Last Synced: 2025-03-29T13:07:43.712Z (7 months ago)
- Language: PHP
- Homepage:
- Size: 165 KB
- Stars: 50
- Watchers: 1
- Forks: 18
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Filament Sanctum
## Installation
You can install the package via composer:
```bash
composer require devtical/filament-sanctum
```
Config:
```bash
php artisan vendor:publish --tag=filament-sanctum-config
```
```php
return [
'abilities' => [
'users:read' => 'Read User',
'users:create' => 'Create User',
'users:update' => 'Update User',
'users:delete' => 'Delete User',
'blog:read' => 'Read Blog',
'blog:create' => 'Create Blog',
'blog:update' => 'Update Blog',
'blog:delete' => 'Delete Blog',
],
'columns' => 4,
'navigation_menu' => true,
'user_menu' => false,
'label' => 'Sanctum',
'slug' => 'sanctum',
];
```
Translations:
```bash
php artisan vendor:publish --tag=filament-sanctum-translations
```
## Testing
```bash
composer test
```
## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
## Security
If you discover any security related issues, please email `w.kristories@gmail.com` instead of using the issue tracker.
## Credits
- [Wahyu Kristianto](https://github.com/kristories)
- [All Contributors](https://github.com/devtical/sanctum/graphs/contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.