faysal0x1/larastart 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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 .env file will be automatically updated with your settings

💡 Tip: You can skip the interactive setup by pressing Ctrl+C and manually edit the .env file later.

Manual Installation

  1. Clone the repository:
git clone https://github.com/faysal0x1/larastart.git
cd larastart
  1. Install PHP dependencies:
composer install
  1. Install Node dependencies:
npm install
# or
bun install
  1. Copy environment file:
cp .env.example .env
  1. Generate application key:
php artisan key:generate
  1. Configure your .env file with database credentials and other settings.

  2. Run migrations:

php artisan migrate
  1. Seed the database (optional):
php artisan db:seed
  1. 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 adapter
  • nwidart/laravel-modules - Module management
  • spatie/laravel-permission - Role and permission management
  • spatie/laravel-medialibrary - Media file management
  • laravel/socialite - Social authentication
  • karim007/sslcommerz-laravel - Payment gateway
  • tightenco/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

  1. Create a GitHub repository for your package
  2. Update the repository URL in composer.json
  3. Tag your releases:
    git tag -a v1.0.0 -m "Initial release"
    git push origin v1.0.0
  4. 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 我们能提供哪些服务?
定制开发 / 二次开发

基于 faysal0x1/larastart 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 16
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 9
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-04-11