Download the PHP package daniacademy/filament-skeleton without Composer
On this page you can find all versions of the php package daniacademy/filament-skeleton. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package filament-skeleton
Filament Skeleton Template
This repository is a ready-to-use skeleton for building Laravel applications with Filament Admin. It includes several pre-configured packages and functionalities to streamline your development process.
Features
- Filament Shield: Role and permission management made simple.
- Spatie Health: Monitor and ensure the health of your application.
- Laravel Audit: Track model changes and activity.
-
Task Scheduler Configuration: Pre-configured tasks to handle essential maintenance:
- Security Headers and Content Security Policy (CSP): Middleware is included to enhance security using Spatie CSP.
- Customized Login Throttling: Throttling behavior is adjusted to focus on individual users rather than their IP address, ensuring multiple users from the same IP are not blocked due to one user's failed attempts.
- Blade Font Awesome: Easily integrate Font Awesome icons.
- Spatie Media Library Integration: Seamless file and media management through Filament.
- Filament Notifications: Customize elegant and dynamic notifications with icons, colors, and interactive actions.
- Edit Profile: Allow users to easily update their profile information and securely change their password directly from the Filament panel.
- Disable lazy loading in Laravel with
preventLazyLoading()
method: Taylor Otwell tweeted about this new feature available in Laravel 8.43.0 that disables lazy loading your Eloquent models, avoiding the N+1 problem. This way every time you use lazy loading, an exception will be thrown, but only on non-production environment, so no need to worry about crashing your production if you miss something. - Production Script in Composer: This script optimizes a Laravel and Filament application for a production environment. It performs the following actions: runs composer dump-autoload -o, caches configuration, routes, and views, caches Filament components, and executes Laravel's optimization commands.
- PHP Insights: This project comes with PHP Insights pre-configured and ready to use, providing real-time code quality analysis, including maintainability, complexity, and security insights. Easily ensure your codebase adheres to modern best practices without additional setup.
- Laravel Enlightn: This project comes with Laravel Enlightn seamlessly integrated, providing actionable insights to optimize performance, enhance security, and ensure code maintainability. With Enlightn pre-configured, you can instantly identify and address potential issues, delivering a more robust and efficient Laravel application from the start.
How to Use
This project can be deployed in two ways: as a Composer project or as a GitHub template. Regardless of the chosen method, make sure to continue with the "How to deploy" section to complete the installation and configuration.
Option 1: Using Composer
-
Create your project with Composer:
- Then, proceed to the steps in the "How to deploy" section.
Option 2: Using GitHub Template
- Create a new repository using this skeleton as a template.
- Clone your new repository locally.
-
Install dependencies:
-
Copy the
.env.example
file and rename it to.env
: - Finally, continue with the steps in the "How to deploy" section.
How to deploy
- Ensure that you are located in the root directory of the application before proceeding with the deployment steps.
- Configure your database and other environment variables in the
.env
file. -
Generate the application key:
-
Run migrations:
-
Seed the database:
- Create a super-admin user:
Running on production environment
-
Optimize the Laravel and Filament Application It is highly recommended to optimize Laravel and Filament to enhance the application's performance. To do so, run the following command:
Remember to execute this command after making any changes or deploying a new release to production.
-
Review
canAccessPanel()
Method for ProductionFor enhanced security in a production environment, it's recommended to review and customize the
canAccessPanel()
method within theUser
model. This method controls access to the admin panel and can be tailored to enforce specific conditions, such as restricting access based on user roles, permissions, or other business logic.By default, the
canAccessPanel()
method in theUser
model returnstrue
, allowing all users to access the admin panel.Default Implementation:
To adapt the method for your production environment, you can define specific conditions based on your application's requirements. Below is an example of how to customize the
canAccessPanel()
method:Example: Customizing
canAccessPanel()
Taking this step ensures that only authorized users can access the admin panel, reducing potential vulnerabilities in your application.
Default Super-Admin Credentials
The default credentials for accessing the application as a super-admin are:
- Email:
[email protected]
- Password:
123456
By default, you can access the admin panel at http://localhost/admin. Ensure your local server is running, and the necessary configurations in your .env
file are correctly set up to avoid access issues.
Notes
This template is designed with love ❤️ to provide a robust starting point for Laravel applications built with Filament Admin. It includes pre-installed packages and essential configurations to reduce setup time and enhance productivity.
Feel free to customize and extend it as needed for your projects.
Acknowledgments
I would like to express my gratitude to Laravel and Filament for their invaluable contributions to the community and their continuous effort in advancing the ecosystem. Their work has made web development more efficient and enjoyable.
I would also like to thank my family for their patience and understanding during the many hours I spend working on development. Their support means the world to me.
Thank you all!
All versions of filament-skeleton with dependencies
bezhansalleh/filament-shield Version ^3.3
enlightn/enlightn Version ^2.10
filament/filament Version ^3.2
filament/spatie-laravel-media-library-plugin Version ^3.2
joaopaulolndev/filament-edit-profile Version ^1.0
laravel/framework Version ^11.31
laravel/tinker Version ^2.9
owen-it/laravel-auditing Version ^13.6
owenvoke/blade-fontawesome Version ^2.8
spatie/laravel-backup Version ^9.1
spatie/laravel-csp Version ^2.10
spatie/laravel-health Version ^1.30