lara4

Simplify your Laravel development with Lara4! Build faster and smarter with tools like Inertia.js, Vue, multi-language support, SEO optimization, and Filament CMS - all ready to use.

Lara4

šŸš€ Lara4 - Laravel Inertia Vue Starter

A powerful Laravel starter kit designed for speed, simplicity, and modern development.

Lara4 is the perfect starting point for Laravel developers looking for an optimized, feature-rich foundation. It integrates Inertia.js with Vue 3, offers multi-language support, SEO-friendly features, SSR, and Filament Admin Panel for seamless content management. Pre-configured with essential packages, Lara4 saves you time and effort in setting up your next Laravel project.


šŸŒŸ Features

šŸ”§ Development Tools

  • Laravel 11 + Vue 3 + Inertia.js
  • Tailwind CSS for modern UI styling
  • Server-Side Rendering (SSR) for better performance
  • Filament Admin Panel with user management, settings, activity log, and translations
  • SEO Optimized with meta tags, sitemap, and structured data
  • Multi-language support (EN, FR, ES, AR) with Vue i18n
  • Docker & Laravel Sail for easy local development
  • Mailpit for email testing
  • MySQL + PhpMyAdmin for database management
  • Redis for caching
  • Ziggy for seamless frontend-backend routing

šŸ” Authentication & Security

  • Laravel Breeze authentication setup
  • Social login with Google & GitHub (Laravel Socialite)
  • Spatie Laravel Permission for role-based access control
  • Activity Log to track user actions

šŸ“¦ Pre-Installed Packages

  • Spatie Media Library for managing file uploads
  • Spatie Settings for application-wide settings
  • Spatie Laravel Tags for content tagging
  • Spatie Laravel Backup for automated backups
  • Spatie Laravel Sluggable for automatic URL slugs
  • Spatie Laravel Translatable for multi-language content
  • Laravel Debugbar & Telescope for debugging
  • Laravel Seo for enhanced search engine visibility
  • Laravel Enum support for better code structure
  • TestMonitor Vue i18n Generator for seamless frontend translation

šŸ› ļø Installation

Prerequisites

  • Docker (for Laravel Sail users)
  • PHP 8.2 or higher
  • Composer
  • Node.js & npm

Setup Guide

  1. Clone the repository:
    git clone https://github.com/abdessamadbettal/Lara4.git
    cd Lara4
    
  2. Copy environment file and configure it:
    cp .env.example .env
    
  3. Install dependencies:
    composer install
    npm install
    
  4. Generate application key:
    php artisan key:generate
    
  5. Start Docker containers (if using Sail):
    sail up -d
    
  6. Run migrations with seeders:
    php artisan migrate:fresh --seed
    
  7. Compile Vue i18n translations:
    php artisan vue:translations
    
  8. Run tests:
    php artisan test   # or sail test
    
  9. Dump autoload for optimized performance:
    composer dump-autoload
    
  10. Generate enums:
    php artisan make:spatie-enum StatusEnum
    
  11. Create services:
    php artisan make:service UserService
    
  12. Generate request validation classes:
    php artisan make:request User/UpdateUserRequest
    php artisan make:request User/StoreUserRequest
    

šŸ”— Usage

šŸ›”ļø Default Admin Credentials


šŸ’” Contributing

We welcome contributions! Feel free to submit issues or pull requests to improve Lara4.


šŸ“œ License

This project is open-sourced software licensed under the MIT license.


šŸ’» GitHub Repository: https://github.com/abdessamadbettal/Lara4
šŸŒ Official Website: https://lara4.com