faysal0x1 / larastart
A comprehensive Laravel starter kit with Inertia.js, React, module-based architecture, e-commerce features, admin panel, and more.
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
Type:project
pkg:composer/faysal0x1/larastart
Requires
- php: ^8.2
- ext-gd: *
- inertiajs/inertia-laravel: ^2.0
- intervention/image: ^3.11
- intervention/image-laravel: ^1.5
- joshbrw/laravel-module-installer: ^2.0
- karim007/sslcommerz-laravel: ^2.4
- laravel/framework: ^12.0
- laravel/reverb: ^1.0
- laravel/socialite: ^5.19
- laravel/tinker: ^2.10.1
- nwidart/laravel-modules: ^12.0
- predis/predis: ^3.2
- spatie/laravel-medialibrary: ^11.14
- spatie/laravel-permission: ^6.17
- tarunkorat/laravel-asset-cleaner: ^1.0
- tightenco/ziggy: ^2.4
Requires (Dev)
- barryvdh/laravel-debugbar: ^3.15
- fakerphp/faker: ^1.23
- laravel/pail: ^1.2.2
- laravel/pint: ^1.18
- laravel/sail: ^1.41
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.6
- phpunit/phpunit: ^11.5.3
- roave/security-advisories: dev-latest
README
A comprehensive Laravel 12 starter kit with Inertia.js, React, module-based architecture, e-commerce features, admin panel, and more.
Features
- ๐ Laravel 12 - Latest Laravel framework
- โก Inertia.js + React - Modern SPA experience without the complexity
- ๐ฆ Module-Based Architecture - Using nwidart/laravel-modules
- ๐ E-Commerce Ready - Products, cart, checkout, and payment integration
- ๐ฅ Role & Permission System - Spatie Laravel Permission
- ๐ธ Media Library - Spatie Media Library for file management
- ๐ Social Login - Laravel Socialite integration
- ๐ณ Payment Gateway - SSLCommerz integration
- ๐จ Modern UI - Tailwind CSS with Radix UI components
- ๐ Real-time - Laravel Reverb for WebSockets
- ๐ฑ SSR Support - Server-side rendering with Inertia
- ๐งช Testing - PHPUnit with Pest support
Requirements
- PHP >= 8.2
- Composer
- Node.js >= 18.x
- NPM or Bun
- MySQL/PostgreSQL/SQLite
- Redis (optional, for queues and caching)
Installation
Using Composer Create Project
composer create-project faysal0x1/larastart my-project
cd my-project
During installation, you'll be prompted to configure your database:
- Database Type: Choose between MySQL/MariaDB, PostgreSQL, or SQLite
- Database Credentials: Enter database name, host, port, username, and password
- The
.envfile will be automatically updated with your settings
๐ก Tip: You can skip the interactive setup by pressing
Ctrl+Cand manually edit the.envfile later.
Manual Installation
- Clone the repository:
git clone https://github.com/faysal0x1/larastart.git
cd larastart
- Install PHP dependencies:
composer install
- Install Node dependencies:
npm install
# or
bun install
- Copy environment file:
cp .env.example .env
- Generate application key:
php artisan key:generate
-
Configure your
.envfile with database credentials and other settings. -
Run migrations:
php artisan migrate
- Seed the database (optional):
php artisan db:seed
- Build assets:
npm run build
# or for development
npm run dev
Development
Start the development server:
composer run dev
This will start:
- Laravel development server
- Queue worker
- Vite dev server
For SSR development:
composer run dev:ssr
Default Credentials
After seeding, you can login with:
- Admin:
admin@gmail.com/password - Super Admin:
superadmin@gmail.com/password
Project Structure
larastart/
โโโ app/
โ โโโ Modules/ # Modular application structure
โ โโโ Helpers/ # Helper functions
โ โโโ Http/ # Controllers, Middleware, Requests
โ โโโ Models/ # Eloquent models
โ โโโ Services/ # Business logic services
โโโ resources/
โ โโโ js/ # React/Inertia frontend
โ โโโ views/ # Blade templates
โโโ routes/ # Application routes
โโโ database/ # Migrations and seeders
โโโ config/ # Configuration files
Key Packages
inertiajs/inertia-laravel- Inertia.js server-side adapternwidart/laravel-modules- Module managementspatie/laravel-permission- Role and permission managementspatie/laravel-medialibrary- Media file managementlaravel/socialite- Social authenticationkarim007/sslcommerz-laravel- Payment gatewaytightenco/ziggy- Route helper for JavaScript
Versioning
This package follows Semantic Versioning.
- Major (1.x.x): Breaking changes
- Minor (x.1.x): New features, backwards compatible
- Patch (x.x.1): Bug fixes, backwards compatible
Publishing to Packagist
- Create a GitHub repository for your package
- Update the repository URL in
composer.json - Tag your releases:
git tag -a v1.0.0 -m "Initial release" git push origin v1.0.0 - Submit your package to Packagist
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
The Larastart starter kit is open-sourced software licensed under the MIT license.
Support
For issues and questions:
Credits
Built with โค๏ธ using Laravel and React.