GithubHelp home page GithubHelp logo

christmex / filament-starter-kit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lingmyat/filament-starter-kit

0.0 0.0 0.0 942 KB

Starter Kit with Multi-Tenant, Role, Permission, Exception

License: MIT License

JavaScript 16.57% PHP 67.88% Blade 15.55%

filament-starter-kit's Introduction

Filament Starter Kit

Filament Starter Kit is a distribution of Filament with a variety of pre-installed components. And remember, simple things are the best for your starting point.

New Installation

To install Filament Starter Kit, use the following composer command:

composer create-project lingmyat/filament-starter-kit

After installation, run migrations:

php artisan migrate

Create the first/admin user:

php artisan make:filament-user

Initialize Filament Shield:

php artisan shield:install

During the Filament Shield installation, respond with "yes" to all the questions.

Seed First Tenant

Customize your tenant team name in database\Seeders\FirstTenantSeeder. The default team name is 'Min Shin Saw'.

Team::create([
    'name' => 'Min Shin Saw',
    'slug' => 'min-shin-saw',
])->users()->attach(User::find(1));

Then run the following command:

php artisan db:seed

Visit /admin on your site, and you should see the Filament login screen. Log in with the user created in step #4.

This Starter Kit incorporates the Filament Shield plugin for roles and permissions. For additional usage and commands, refer to the Filament Shield repository.

All relevant migrations, views, and config files have been published to the main Laravel directory tree in the expected locations. If a package, such as the Spatie packages, is based on another package, the base package migrations and config files are also published.

License

The MIT License. Please see the license file for more information.

filament-starter-kit's People

Contributors

lingmyat avatar minnshinsawlingmyat avatar zymhmss avatar christmex avatar kgsint avatar saade avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.