tomatophp/filament-users #32
Closed
Smdev4u
started this conversation in
Package Submission
Replies: 1 comment
-
Successfully added https://indxs.dev/package/filament-user |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Filament Users Manager
Manage your users with a highly customizable user resource for FilamentPHP with integration of filament-shield and filament-impersonate.
for filament v2 please use this repo
Features
Screenshots
Installation
finally register the plugin on
/app/Providers/Filament/AdminPanelProvider.php
Use Filament Shield
you can use the shield to protect your resource and allow user roles by install it first
Add the Spatie\Permission\Traits\HasRoles trait to your User model(s):
Publish the config file then setup your configuration:
Now run the following command to install shield:
Now we can publish the package assets.
php artisan vendor:publish --tag="filament-users-config"
now on your
filament-users.php
config allow shieldnow clear your config
for more information check the Filament Shield
Use Filament Impersonate
you can use the impersonate to impersonate the user by install it first
now on your
filament-users.php
config allow shieldnow clear your config
for more information check the Filament Impersonate
Use Laravel Jetstream Teams
you can use the Laravel Jetstream Teams by install it first
now you need to install the jetstream with livewire
go to
jetstream.php
and allow teams featurenow you need to publish teams migration from jetstream
now you need to migrate the teams migration
now on your
filament-users.php
config allow shieldnow clear your config
Publish Resource
you can publish the resource to your project
it will publish the resource to your project
than go to
filament-users.php
config file and change thepublish_resource
totrue
Register User Relation Manager
you can register the user relation manager to your project
User Users Resource Hooks
we have add a lot of hooks to make it easy to attach actions, columns, filters, etc
Table Columns
Table Actions
Table Filters
Table Bulk Actions
From Components
Page Actions
Infolist Entries
Custom Resource Classes
you can customize all resource classes to be any class you want with the same return from the config file
Use Simple User Resource
you can use the simple user resource by change on config, on your
filament-users.php
config allow simplePublish Assets
you can publish config file by use this command
php artisan vendor:publish --tag="filament-users-config"
you can publish languages file by use this command
php artisan vendor:publish --tag="filament-users-lang"
Testing
if you like to run
PEST
testing just use this commandcomposer test
Code Style
if you like to fix the code style just use this command
PHPStan
if you like to check the code by
PHPStan
just use this commandOther Filament Packages
Checkout our Awesome TomatoPHP
Beta Was this translation helpful? Give feedback.
All reactions