alfism1/ultimate-starter-kit

The Ultimate Starter Kit for Laravel Filament with Laravel Breeze and Inertia.js (Typescript)

This package is auto-updated.

Last update: 2024-09-07 00:57:55 UTC


README

Ultimate Starter Kit

Ultimate Starter Kit

This is the ultimate starter kit for Laravel projects, designed to help you quickly set up and get started with modern web development practices.

Features

Requirements

  • PHP >= 8.2

Installation

  1. Clone the repository:

    git clone https://github.com/alfism1/ultimate-starter-kit.git
    cd ultimate-starter-kit
  2. Copy and configure the environment file:

    cp .env.example .env
    # Edit the .env file to configure your environment
  3. Install dependencies:

    composer install
    npm install
  4. Generate the application key:

    php artisan key:generate
  5. Linking storage:

    php artisan storage:link
  6. Run database migrations and seeders:

    php artisan migrate
    php artisan db:seed
  7. Create a super admin:

    php artisan shield:super-admin

Usage

Development

To start the development server:

npm run dev

Production

To build the project for production:

npm run build

Run Jobs

php artisan queue:work

Adding New Policies

To create a new policy:

php artisan make:policy ResourceNamePolicy

Then configure the created policy in app/Policies/ResourceNamePolicy.php.

Contributing

Feel free to submit issues or pull requests. Contributions are welcome!

License

This project is licensed under the MIT License.

For more details, visit the repository.