Skip to content

mackr2015/laravel-filament

Repository files navigation

Laravel with Filament and ReactJS

Change for quick deployment +++++++++++++

Build Structure

  • Laravel
  • Filament
  • Tailwind CSS
  • Sass compiler Webpack or Gulp, come in later
  • ReactJS
  • Docker setup will come in later

Installation

  • Install Laravel
  • Install Filament: Read their Docs
    • composer require filament/filament:"^3.0-stable" -W
    • Install the panel with command php artisan filament:install --panels
    • connect to DB and run php artisan migrate
    • create a user for Filament admin login php artisan make:filament-user , fill in the details
    • generate storage link php artisan storage:link
    • create Model Post with migration php artisan make:model Post -m
    • create Model Category with migration php artisan make:model Category -m
    • create Model CategoryPost with migration php artisan make:model CategoryPost -m
    • create admin dashboard resources/panels Doc link here
    • using package Doctrine/dbal so we can install complex dashboard panels based on the DB schema ( used for dedicated create,edit,update) composer require doctrine/dbal --dev
    • create admin dashboard panel php artisan make:filament-resource Category --simple --generate. Simple flag is used if the record is simple. Read docs about this. Doc link here
    • create admin dashboard for Post with view. php artisan make:filament-resource Post --view --generate

About Laravel

Laravel is accessible, powerful, and provides tools required for large, robust applications.

Tutorial Source

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.

You may also try the Laravel Bootcamp, where you will be guided through building a modern Laravel application from scratch.

If you don't feel like reading, Laracasts can help. Laracasts contains over 2000 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.

License

The Laravel framework is open-sourced software licensed under the MIT license.