riodwanto / superduper-filament-starter-kit
A Filamentπ‘ starting point to kickstart your next app. With Custom Theme, Mail Configuration, Filament Shield, Filament Exception, etc..
Installs: 4 053
Dependents: 0
Suggesters: 0
Security: 0
Stars: 119
Watchers: 5
Forks: 32
Open Issues: 7
Type:project
Requires
- php: ^8.2
- bezhansalleh/filament-exceptions: ^2.1
- bezhansalleh/filament-shield: ^3.2
- codeat3/blade-fluentui-system-icons: ^1.32
- datlechin/filament-menu-builder: ^0.5.2
- filament/filament: ^3.2
- filament/spatie-laravel-media-library-plugin: ^3.2
- filament/spatie-laravel-settings-plugin: ^3.2
- filament/spatie-laravel-tags-plugin: ^3.2
- guzzlehttp/guzzle: ^7.2
- jeffgreco13/filament-breezy: ^2.2
- josespinal/filament-record-navigation: ^2.0
- laravel/framework: ^11.9
- laravel/sanctum: ^4.0
- laravel/tinker: ^2.8
- league/commonmark: ^2.4
- opcodesio/log-viewer: ^3.11
- riodwanto/filament-ace-editor: ^1.0
- stichoza/google-translate-php: ^5.2
- tomatophp/filament-media-manager: ^1.1
- z3d0x/filament-logger: ^0.7.2
Requires (Dev)
- fakerphp/faker: ^1.9.1
- laravel/pint: ^1.0
- laravel/sail: ^1.18
- mockery/mockery: ^1.4.4
- nunomaduro/collision: ^8.1
- phpunit/phpunit: ^10.1
- spatie/laravel-ignition: ^2.0
README
A starting point to create your next Filament 3 π‘ app. With pre-installed plugins, pre-configured, and custom page. So you don't start all over again.
Features
- π‘ Filament Shield for managing role access
- π¨π»β𦱠customizable profile page from Filament Breezy
- π Managable media with Filament Spatie Media
- πΌ Theme settings for changing panel color
- π Setting mail on the fly in Mail settings
- π » Lang Generator
- Etc..
Latest update
Version: v1.15.xx
- Add opcodesio/log-viewer
- Add new plugins
- Bugs fix & Improvement
- Etc
Sadly, Filament Multi-Tenancy will not be included in this starter kit. This repository will focus on improvements for non-multi-tenants, since many rooms should be improved.
Getting Started
Create project with this composer command:
composer create-project riodwanto/superduper-filament-starter-kit
Setup your env:
cd superduper-filament-starter-kit
cp .env.example .env
Run migration & seeder:
php artisan migrate php artisan db:seed
or
php artisan migrate:fresh --seed
Generate key:
php artisan key:generate
Run :
npm run dev OR npm run build
php artisan serve
Now you can access with /admin
path, using:
email: superadmin@starter-kit.com password: superadmin
Performance
It's recommend to run below command as suggested in Filament Documentation for improving panel perfomance.
php artisan icons:cache
Please see this Improving Filament panel performance documentation for further improvement
Language Generator
This project include lang generator.
php artisan superduper:lang-translate [from] [to]
Generator will look up files inside folder [from]
. Get all variables inside the file; create a file and translate using translate.googleapis.com
.
This is what the translation process looks like.
β― php artisan superduper:lang-translate en fr es π Translate to 'fr' 3/3 [ββββββββββββββββββββββββββββ] 100% -- β π Translate to 'es' 1/3 [ββββββββββββββββββββββββββββ] 33% -- π Processing: page.php
Usage example
- Single output
php artisan superduper:lang-translate en fr
- Multiple output
php artisan superduper:lang-translate en es ar fr pt-PT pt-BR zh-CN zh-TW
If you are using json translation
php artisan superduper:lang-translate en fr --json
Plugins
These are Filament Plugins use for this project.
Plugins Recommendation
Other recommendations for your starter, in my personal opinion:
- Rupadana - API Resources : Generate API for your Resources.
- Bezhan Salleh - Language Switch : Zero config Language Switcher plugin for Filament Panels.
- Kenepa - Resource Lock : Resource locking when other user begins editing a resource.
- Ralph J. Smit - Components : A collection of handy components.
- Tapp Network - Laravel Auditing : Resource locking when other user begins editing a resource.
- Shuvro Roy - Spatie Laravel Health : Health monitoring for Filament.
License
Filament Starter is provided under the MIT License.
If you discover a bug, please open an issue.