ratno / tallstarter
A comprehensive Laravel TALL stack starter kit combining mortenebak/tallstarter with Laravel's official Livewire starter (Fortify + 2FA + Roles & Permissions + Admin Panel + Localization)
Fund package maintenance!
mortenebak
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Language:Blade
Type:project
pkg:composer/ratno/tallstarter
Requires
- php: ^8.2|^8.3
- jantinnerezo/livewire-alert: ^3.0
- laravel/fortify: ^1.30
- laravel/framework: ^12.0
- laravel/pint: ^1.21
- laravel/tinker: ^2.10.1
- livewire/flux: ^2.0
- livewire/volt: ^1.6.7
- spatie/laravel-permission: ^6.15
- wire-elements/modal: ^2.0
Requires (Dev)
- barryvdh/laravel-debugbar: ^3.15
- barryvdh/laravel-ide-helper: ^3.5
- fakerphp/faker: ^1.23
- larastan/larastan: ^3.1
- laravel/pail: ^1.2.2
- laravel/sail: ^1.41
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.6
- pestphp/pest: ^3.0
- pestphp/pest-plugin-laravel: ^3.0
- rector/rector: ^2.0
README
A comprehensive Laravel 12 starter kit that combines the best of mortenebak/tallstarter with Laravel's Official Livewire Starter Kit, giving you a production-ready application with enterprise-level features.
β¨ Features
This starter kit includes everything you need to build modern Laravel applications:
π Authentication & Security
- Laravel Fortify - Robust authentication backend
- Two-Factor Authentication (2FA) - Enhanced security with TOTP
- Email Verification - Verify user email addresses
- Password Reset - Secure password recovery
- Session Management - Control active sessions
π₯ User Management & Permissions
- Roles & Permissions - Complete RBAC system using Spatie Laravel Permission
- User CRUD - Full user management interface
- User Impersonation - Admin can impersonate users for support
- Role Management - Create and manage roles
- Permission Management - Fine-grained permission control
π¨ Admin Panel
- Admin Dashboard - Comprehensive admin area (
/admin/*) - User Administration - Manage all users
- Role & Permission UI - Visual management of RBAC
- Analytics Dashboard - Key metrics at a glance
π Localization
- Multi-language Support - Built-in internationalization
- User Locale Preference - Each user can choose their language
- Locale Switching - Easy language switcher in UI
π οΈ Developer Tools
- Code Quality Tools:
- PHPStan (Larastan) - Static analysis
- Rector - Automated refactoring
- Laravel Pint - Code style fixer
- Pest - Modern testing framework
- IDE Support - Laravel IDE Helper included
- Debugbar - Development debugging (dev only)
π― TALL Stack
- Tailwind CSS 4 - Utility-first CSS framework
- Alpine.js - Minimal JavaScript framework
- Laravel 12 - The latest Laravel version
- Livewire 3 - Full-stack framework for Laravel
- Volt - Functional API for Livewire
- Flux UI - Beautiful UI components
π¦ Additional Features
- Livewire Alert - SweetAlert notifications
- Wire Elements Modal - Modal components
- Custom Artisan Commands - Helpful CLI tools
- Database Seeders - Pre-configured roles & permissions
- Automated Testing - Comprehensive test suite
π Quick Start
Using Laravel New (Recommended)
# Create new project using this starter laravel new my-project --using=ratno/tallstarter # Navigate to project cd my-project # Create super admin php artisan app:create-super-admin # Build assets and start development npm run build composer dev
Using Composer Create-Project
composer create-project ratno/tallstarter my-project cd my-project php artisan app:create-super-admin npm install && npm run build composer dev
Using Git Clone
# Clone this repository git clone https://github.com/ratno/tallstarter.git my-project cd my-project # Install dependencies composer install npm install # Setup environment cp .env.example .env php artisan key:generate # Create database touch database/database.sqlite # Run migrations and seeders php artisan migrate --seed # Create super admin php artisan app:create-super-admin # Build assets npm run build # Start development server composer dev
π Documentation
Detailed documentation is available in the docs/ directory:
- Installation Guide - Complete installation instructions
- Features Overview - Detailed feature documentation
- Update Guide - How to keep your starter up-to-date
- Merge Strategy - Understanding the merge approach
π Keeping Up-to-Date
This starter automatically tracks updates from both upstream sources:
Automatic Checks (GitHub Actions)
- Weekly automated checks for updates
- GitHub Issues created when updates are available
- Version tracking in
config/upstream-sources.json
Manual Checks
# Check for updates php artisan starter:check-updates # Run merge script ./bin/merge-starters.sh # Dry run (preview only) ./bin/merge-starters.sh --dry-run
ποΈ Project Structure
laravel-tall-merged/
βββ app/
β βββ Actions/Fortify/ # Fortify actions (2FA, auth)
β βββ Console/Commands/ # Custom Artisan commands
β βββ Http/
β β βββ Controllers/ # Controllers (incl. Impersonation)
β β βββ Middleware/ # Custom middleware (Localization)
β βββ Livewire/
β β βββ Admin/ # Admin panel components
β β βββ Auth/ # Authentication components
β β βββ Settings/ # User settings (incl. 2FA)
β βββ Models/ # Eloquent models
βββ bin/
β βββ merge-starters.sh # Update merge script
βββ config/
β βββ fortify.php # Fortify configuration
β βββ permission.php # Spatie permissions config
β βββ upstream-sources.json # Version tracking
βββ database/
β βββ migrations/ # Database migrations
β βββ seeders/ # Database seeders (roles, permissions)
βββ docs/ # Documentation
βββ resources/
β βββ views/livewire/ # Livewire views
βββ tests/ # Pest tests
π§ͺ Testing
# Run all tests composer test:pest # Run with parallel execution composer test:pest # Code style check composer test:pint # Static analysis composer test:static # Rector check composer test:rector # Run all quality checks composer review
π¨ Development
# Start development servers (Laravel + Vite + Queue + Logs) composer dev # This runs: # - php artisan serve (port 8000) # - php artisan queue:listen # - php artisan pail (log viewer) # - npm run dev (Vite HMR)
π Default Credentials
After running php artisan app:create-super-admin, you'll be prompted to create a super admin user.
π Security Features
- Two-Factor Authentication - TOTP-based 2FA
- Role-Based Access Control - Spatie permissions
- Password Hashing - Bcrypt by default
- CSRF Protection - Built-in Laravel protection
- XSS Protection - Blade automatic escaping
- SQL Injection Protection - Eloquent query builder
π€ Contributing
Contributions are welcome! Please read our contributing guidelines first.
π License
This project is open-sourced software licensed under the MIT license.
π Credits
This starter kit is built on top of:
- mortenebak/tallstarter - TALL stack starter with admin features
- Laravel Official Livewire Starter - Laravel's official starter kit
- Spatie Laravel Permission - Role and permission management
- Laravel Fortify - Authentication backend
π Support
- Issues: GitHub Issues
- Discussions: GitHub Discussions
πΊοΈ Roadmap
- Multi-tenancy support
- API authentication (Sanctum)
- Team management
- Subscription billing (Cashier)
- Advanced audit logging
- Real-time notifications
Built with β€οΈ using the TALL stack
Laravel β’ Livewire β’ Alpine.js β’ Tailwind CSS