PHPackages                             daniacademy/filament-skeleton - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. daniacademy/filament-skeleton

ActiveProject[Framework](/categories/framework)

daniacademy/filament-skeleton
=============================

A starter template for Filament V3 and Laravel, preconfigured with authentication, roles, permissions, and much more.

1.0.5(1y ago)0171MITPHPPHP ^8.2

Since Dec 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/daniacademy/filament-skeleton)[ Packagist](https://packagist.org/packages/daniacademy/filament-skeleton)[ RSS](/packages/daniacademy-filament-skeleton/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (21)Versions (7)Used By (0)

[![Adminify Logo](https://github.com/daniacademy/filament-skeleton/raw/c21d336b05e91e2ddc0914611d3fbe74555f9f88/public/images/adminify.png)](https://github.com/daniacademy/filament-skeleton/blob/c21d336b05e91e2ddc0914611d3fbe74555f9f88/public/images/adminify.png)

Filament Skeleton Template
==========================

[](#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
--------

[](#features)

- [**Filament Shield**](https://github.com/bezhanSalleh/filament-shield): Role and permission management made simple.
- [**Spatie Health**](https://github.com/spatie/laravel-health): Monitor and ensure the health of your application.
- [**Laravel Audit**: Track model changes and activity.](https://laravel-auditing.com/)
- [**Task Scheduler Configuration**](https://laravel.com/docs/11.x/scheduling): Pre-configured tasks to handle essential maintenance: ```
    Schedule::command('queue:work --stop-when-empty')->everyMinute()
        ->withoutOverlapping();
    Schedule::command('health:queue-check-heartbeat')->everyMinute();
    Schedule::command('logs:clean')->daily()->at('00:00');
    Schedule::command('audit:clean')->daily()->at('00:30');
    Schedule::command('backup:clean')->daily()->at('01:00');
    Schedule::command('backup:run')->daily()->at('01:30');
    Schedule::command('db:optimize')->daily()->at('03:00');
    ```
- [**Security Headers and Content Security Policy (CSP)**](https://github.com/spatie/laravel-csp): Middleware is included to enhance security using Spatie CSP.
- [**Customized Login Throttling**](https://laravel.com/docs/11.x/authentication): 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**](https://github.com/owenvoke/blade-fontawesome): Easily integrate Font Awesome icons.
- [**Spatie Media Library Integration**](https://filamentphp.com/plugins/filament-spatie-media-library): Seamless file and media management through Filament.
- [**Filament Notifications**](https://filamentphp.com/docs/3.x/notifications/installation): Customize elegant and dynamic notifications with icons, colors, and interactive actions.
- [**Edit Profile**](https://filamentphp.com/plugins/joaopaulolndev-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**](https://laravel.com/docs/11.x/eloquent-relationships#preventing-lazy-loading): 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**](https://github.com/nunomaduro/phpinsights): 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**](https://www.laravel-enlightn.com): 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
----------

[](#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

[](#option-1-using-composer)

1. Create your project with Composer: ```
    composer create-project daniacademy/filament-skeleton projectName
    ```
2. Then, proceed to the steps in the **"How to deploy"** section.

### Option 2: Using GitHub Template

[](#option-2-using-github-template)

1. Create a new repository using this skeleton as a template.
2. Clone your new repository locally.
3. Install dependencies: ```
    composer install
    ```
4. Copy the `.env.example` file and rename it to `.env`: ```
    cp .env.example .env
    ```
5. Finally, continue with the steps in the **"How to deploy"** section.

How to deploy
-------------

[](#how-to-deploy)

1. Ensure that you are located in the root directory of the application before proceeding with the deployment steps.
2. Configure your database and other environment variables in the `.env` file.
3. Generate the application key: ```
    php artisan key:generate
    ```
4. Run migrations: ```
    php artisan migrate
    ```
5. Seed the database: ```
    php artisan db:seed
    ```
6. Create a super-admin user: ```
    php artisan shield:super-admin
    ```

Running on production environment
---------------------------------

[](#running-on-production-environment)

1. **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:

    ```
    composer production
    ```

    Remember to execute this command after making any changes or deploying a new release to production.
2. **Review `canAccessPanel()` Method for Production**

    For enhanced security in a production environment, it's recommended to review and customize the `canAccessPanel()` method within the `User` 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 the `User` model returns `true`, allowing all users to access the admin panel.

    **Default Implementation:**

    ```
    public function canAccessPanel(): bool
    {
        return true;
    }
    ```

    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()`**

    ```
    public function canAccessPanel(): bool
    {
        return $this->hasRole('Admin') || $this->is_super_admin;
    }
    ```

    Taking this step ensures that only authorized users can access the admin panel, reducing potential vulnerabilities in your application.

Default Super-Admin Credentials
-------------------------------

[](#default-super-admin-credentials)

The default credentials for accessing the application as a super-admin are:

- **Email**: `admin@example.com`
- **Password**: `123456`

By default, you can access the admin panel at . Ensure your local server is running, and the necessary configurations in your `.env` file are correctly set up to avoid access issues.

Notes
-----

[](#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
---------------

[](#acknowledgments)

I would like to express my gratitude to [**Laravel**](https://laravel.com) and [**Filament**](https://filamentphp.com) 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!

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance43

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~12 days

Total

6

Last Release

456d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d3b064188eccadd9bd62a655531dbe85447c695a84e4400d827f54ee0d9ba5f8?d=identicon)[dafernandez](/maintainers/dafernandez)

---

Top Contributors

[![daniacademy](https://avatars.githubusercontent.com/u/179234471?v=4)](https://github.com/daniacademy "daniacademy (71 commits)")

---

Tags

frameworklaraveltemplateSkeletonfilament

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/daniacademy-filament-skeleton/health.svg)

```
[![Health](https://phpackages.com/badges/daniacademy-filament-skeleton/health.svg)](https://phpackages.com/packages/daniacademy-filament-skeleton)
```

###  Alternatives

[raugadh/fila-starter

Laravel Filament Starter.

614.9k](/packages/raugadh-fila-starter)[siubie/kaido-kit

Filament Admin Panel Starter Kit with pre-configured packages and settings

3824.9k](/packages/siubie-kaido-kit)[ercogx/laravel-filament-starter-kit

This is a Filament v3 Starter Kit for Laravel 12, designed to accelerate the development of Filament-powered applications.

401.5k](/packages/ercogx-laravel-filament-starter-kit)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
