buzkall / finisterre
Helper package
Installs: 170
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/buzkall/finisterre
Requires
- php: ^8.2
- filament/filament: ^3.3
- filament/spatie-laravel-media-library-plugin: ^3.3
- filament/spatie-laravel-tags-plugin: ^3.2
- mokhosh/filament-kanban: ^2.10
- rawilk/filament-quill: ^1.0
- spatie/eloquent-sortable: ^4.4
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- larastan/larastan: ^2.9
- laravel/pint: ^1.14
- nunomaduro/collision: ^8.1.1|^7.10.0
- orchestra/testbench: ^9.14
- pestphp/pest: ^4.0
- pestphp/pest-plugin-arch: ^4.0
- pestphp/pest-plugin-laravel: ^4.0
- phpstan/extension-installer: ^1.3
- phpstan/phpstan-deprecation-rules: ^1.1
- phpstan/phpstan-phpunit: ^1.3
- spatie/laravel-ray: ^1.35
- dev-main
- 1.18.5
- 1.18.4
- 1.18.3
- 1.18.2
- 1.18.1
- 1.18.0
- 1.17.0
- 1.16.1
- 1.16.0
- 1.15.1
- 1.15.0
- 1.14.1
- 1.14
- 1.13.1
- 1.13.0
- 1.12.0
- 1.11.1
- 1.10.1
- 1.10.0
- 1.9.18
- 1.9.17
- 1.9.16
- 1.9.15
- 1.9.14
- 1.9.13
- 1.9.12
- 1.9.11
- 1.9.10
- 1.9.9
- 1.9.8
- 1.9.7
- 1.9.6
- 1.9.5
- 1.9.4
- 1.9.3
- 1.9.2
- 1.9.1
- 1.9.0
- 1.8.4
- 1.8.3
- 1.8.2
- 1.8.1
- 1.8.0
- 1.7.3
- 1.7.2
- 1.7.1
- 1.7.0
- 1.6.8
- 1.6.7
- 1.6.6
- 1.6.5
- 1.6.4
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.1
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.0
- 1.0.0
- 0.5.3
- 0.5.2
- 0.5.1
- 0.5.0
- 0.4.1
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1
This package is auto-updated.
Last update: 2025-10-08 16:09:03 UTC
README
My helper package
Installation
You can install the package via composer:
composer require buzkall/finisterre
You can publish the config file with:
php artisan vendor:publish --tag="finisterre-config"
By default, the package will not be active, this can be changed adding the following to your .env file
FINISTERRE_ACTIVE=true
You can change the name of the table in the config file You can publish and run the migrations with:
php artisan vendor:publish --tag="finisterre-migrations"
php artisan migrate
If you don't already have the spatie tags package, publish the migrations
php artisan vendor:publish --provider="Spatie\Tags\TagsServiceProvider" --tag="tags-migrations" php artisan migrate
Optionally, you can publish the views using
php artisan vendor:publish --tag="finisterre-views"
You can publish the assets (CSS) with:
php artisan filament:assets
The package comes with a default policy for the tasks, that can be overridden in the config file and set your own policy
'model_policy' => Buzkall\Finisterre\Policies\FinisterreTaskPolicy::class,
Usage
Add the plugin to your panel provider and specify the permissions
use Buzkall\Finisterre\FinisterrePlugin; public function panel(Panel $panel): Panel { return $panel ->plugins([ FinisterrePlugin::make() ->userCanViewAllTasks(fn() => auth()->user()?->hasRole(RoleEnum::Admin)) ->userCanViewOnlyTheirTasks(fn() => auth()->user()?->hasAnyRole([RoleEnum::Editor, RoleEnum::Manager])), ]) ]) }
SMS notifications
Using smsarena.es as provider. By default, only notifies tasks on creation with priority TaskPriorityEnum::Urgent That can be changed in the config file
Add to your .env file the following:
# Finisterre
FINISTERRE_SMS_ENABLED=false
FINISTERRE_SMS_AUTH_KEY=CHANGE
FINISTERRE_SMS_SENDER=CHANGE
FINISTERRE_SMS_NOTIFY_TO=CHANGE
Role restriction for Task Reports
TODO
Development
To build the CSS assets after making changes to Tailwind classes:
npm run build:styles
Testing
composer test