tomatophp / filament-employees
Manage your employees with easy using Account builder and FilamentPHP
Fund package maintenance!
Requires
- php: ^8.2
- filament/filament: ^5.0
- filament/spatie-laravel-media-library-plugin: ^5.0
- tomatophp/console-helpers: ^1.1
- tomatophp/filament-accounts: ^5.0
- tomatophp/filament-meta: ^5.0
- tomatophp/filament-types: ^5.0
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.24
- nunomaduro/collision: ^8.6
- orchestra/testbench: ^10.0|^11.0
- pestphp/pest: ^4.0|^5.0
- pestphp/pest-plugin-arch: ^4.0|^5.0
- pestphp/pest-plugin-laravel: ^4.0|^5.0
- pestphp/pest-plugin-livewire: ^4.0|^5.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-15 06:34:40 UTC
README
Filament Employees
Manage your employees, shifts, attendance, payments, requests, payrolls and job applications on top of Filament Accounts for FilamentPHP
Screenshots
Features
- Employees resource (accounts with the
employeetype) with profile, national info, education, CV links, auth, attendance, salary, bank and insurance sections - Attendance, payments, requests and payrolls relation managers, with delay / overtime calculated from the employee shift and the payroll total from the employee salary
- Shifts resource
- Job applications resource with HR / tech approval
- Settings pages for departments, payment reasons, payment statuses, request statuses and application statuses (powered by Filament Types)
Compatibility
| Package version | Filament | Laravel | PHP |
|---|---|---|---|
| 5.x | 5.x | 12.x, 13.x | 8.2+ |
| 1.x | 3.x | 10.x, 11.x | 8.1+ |
Installation
composer require tomatophp/filament-employees:^5.0
after install your package please run this command
php artisan filament-employees:install
Account model
Employees are accounts from Filament Accounts, and the employee profile is stored with Filament Meta. Publish the account model and add the IsEmployee trait to it
php artisan vendor:publish --tag="filament-accounts-model" php artisan vendor:publish --tag="filament-accounts-config"
use TomatoPHP\FilamentEmployees\Traits\IsEmployee; class Account extends Authenticatable implements HasAvatar, HasMedia { use IsEmployee; // ... }
then point the accounts config to your model on config/filament-accounts.php
'model' => \App\Models\Account::class,
Register the plugin
finally register the plugin on /app/Providers/Filament/AdminPanelProvider.php
->plugin(\TomatoPHP\FilamentEmployees\FilamentEmployeesPlugin::make())
Publish Assets
you can publish config file by use this command
php artisan vendor:publish --tag="filament-employees-config"
you can publish views file by use this command
php artisan vendor:publish --tag="filament-employees-views"
you can publish languages file by use this command
php artisan vendor:publish --tag="filament-employees-lang"
you can publish migrations file by use this command
php artisan vendor:publish --tag="filament-employees-migrations"
Testing
if you like to run PEST testing just use this command
composer test
Code Style
if you like to fix the code style just use this command
composer format
PHPStan
if you like to check the code by PHPStan just use this command
composer analyse
Other Filament Packages
Checkout our Awesome TomatoPHP






