faysal0x1/larastart
最新稳定版本:1.0.9
Composer 安装命令:
composer create-project faysal0x1/larastart
包简介
A comprehensive Laravel starter kit with Inertia.js, React, module-based architecture, e-commerce features, admin panel, and more.
关键字:
README 文档
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.
faysal0x1/larastart 适用场景与选型建议
faysal0x1/larastart 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 16 次下载、GitHub Stars 达 1, 最近一次更新时间为 2025 年 04 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「laravel」 「e-commerce」 「react」 「admin-panel」 「laravel-modules」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 faysal0x1/larastart 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 faysal0x1/larastart 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 faysal0x1/larastart 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
Implementation of the Omnibus Directive for Sylius application.
Livewire starter kit for Lunar e-commerce.
Admin Hub for GetCandy. A modern headless e-commerce solution for Laravel PHP framework.
Automatically translate and review your content via Lokalise.
Symfony Shop bundle for EasyAdmin based on Sylius
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-04-11