Search by

lingmyat / filament-starter-kit

Ling Myat Aung

Filament starter kit include ready make Multi-Tenant, Filament Shield, Filament Exception, Customize Login Page

Package info

github.com/LingMyat/Filament-Starter-Kit

Type:project

pkg:composer/lingmyat/filament-starter-kit

Statistics

Installs: 811

Dependents: 0

Suggesters: 0

Stars: 39

V1.0.4 2024-03-07 07:13 UTC

This package is auto-updated.

Last update: 2026-12-04 16:16:10 UTC


README

A Laravel 10 and Filament 3 starter for team-based admin panels. It includes an /admin panel with team tenancy, a custom sign-in page, roles and permissions through Filament Shield, and an exception viewer through Filament Exceptions.

Requirements

  • PHP 8.3 with the project’s required extensions, including pdo_mysql for MySQL
  • Composer 2
  • A running MySQL server and an empty database

Local setup

Create an application from the Composer package.

composer create-project lingmyat/filament-starter-kit my-admin-panel
cd my-admin-panel

Composer creates .env, generates the application key, and publishes the Filament assets. Set APP_URL=http://127.0.0.1:8000 and configure the DB_* values in .env for your empty database. Example environment

Run the migrations, then create the first panel user. The user command prompts for a name, email, and password.

php artisan migrate
php artisan make:filament-user

Generate the panel permissions, assign the super_admin role to the first user, and create that user’s initial team.

php artisan shield:generate --all --option=permissions
php artisan shield:super-admin --panel=admin --user=1
php artisan db:seed
php artisan serve

Open http://127.0.0.1:8000/admin and sign in with the email or account name and password you chose.

First team

The seeder creates Min Shin Saw with the slug min-shin-saw and attaches user ID 1. Run it once after creating the first user in a fresh database. Edit the team name and slug before seeding if you want to start with a different team. For an existing database, use the intended user’s actual ID in both the role assignment and the seeder. FirstTenantSeeder.php

Install from a Git checkout

git clone https://github.com/LingMyat/Filament-Starter-Kit.git
cd Filament-Starter-Kit
cp .env.example .env
composer install
php artisan key:generate

Configure .env, then continue with the database and panel setup above.

Customize the panel

Change File
Panel path, branding, tenant model, and enabled plugins AdminPanelProvider.php
Sign-in page Login.php
Which teams a user can access User.php
Role and permission settings filament-shield.php
Exception viewer settings filament-exceptions.php

Production

Laravel 10 has reached the end of security support. Upgrade to supported dependencies before deploying. Set APP_DEBUG=false and review who can access the admin panel, each team, and the exception viewer. Laravel support policy · Filament deployment guide

Credits and license

This project is a fork of zymhmss/Filament-Starter-Kit and is available under the MIT License.