modus-digital/laravel-starter-kit

The official Laravel starter kit for Modus Digital applications.

v1.0.0 2025-05-16 11:17 UTC

This package is auto-updated.

Last update: 2025-05-16 14:55:48 UTC


README

A comprehensive Laravel starter kit by Modus Digital for quickly bootstrapping new Laravel applications with built-in features and best practices.

Features

This starter kit has a couple default useful functionalities to easily get started with a new project. The following features are included in this starter kit:

  • Build on Laravel 12 and Livewire
  • Filament Admin panel intergration
    • Managing Users
    • Translation manager
    • Backup manager
    • RBAC manager
    • Health statistics
    • Mail intergration
  • File-based routing using Laravel Folio
  • Livewire Volt intergration
  • Two factor authentication using any Authenticator app

Requirements

  • PHP 8.3 or higher
  • Composer
  • Node.js & (P}NPM (PNPM Prefered)

Installation

installing pnpm

npm install --global corepack@latest && corepack enable pnpm    # Using corepack
npm install --global pnpm@@latest-10                            # Using npm directly

Option 1: Create a new project using the laravel installer

Installing the laravel installer and create a new project

composer global require laravel/installer

laravel new  <project name> --using=modus-digital/laravel-starter-kit
cd <project name>

Option 2: Clone the repository

git clone https://github.com/modus-digital/laravel-starter-kit.git your-project-name
cd your-project-name
composer install
pnpm install

Option 3: Use the Laravel Herd installer UI

Setup Environment

# Copy environment file
cp .env.example .env

# Generate application key
php artisan key:generate

# Create SQLite database (or configure your preferred database in .env)
touch database/database.sqlite

# Run migrations
php artisan migrate --seed

Development

Start the development server with a single command:

Option 1: Using composer

composer dev

This command starts:

  • Laravel development server
  • Queue worker
  • Vite for front-end assets

Option 2: Using laravel herd

Add The site to Laravel Herd and run Vite

pnpm run dev

Testing

Run the test suite:

composer test

Code Quality Tools

The starter kit includes several code quality tools:

  • PHP CS Fixer for code style
  • Laravel Pint for Laravel-specific style
  • Larastan for static analysis
  • Rector for automated refactoring

License

MIT

Credits

Created and maintained by Modus Digital.