承接 yuisalabs/selia-laravel 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

yuisalabs/selia-laravel

最新稳定版本:v1.4.0

Composer 安装命令:

composer create-project yuisalabs/selia-laravel

包简介

The skeleton application for the Laravel framework with Inertia.js and Selia UI Library.

README 文档

README

laravel new app --using=yuisalabs/selia-laravel

Make sure to update your APP_URL in the .env file before using the route function. Then, run npm run dev to generate and watch routes properly during development.

Warning

This project uses mcamara/laravel-localization. You MUST ensure APP_URL matches your local development URL exactly (e.g. http://selia-laravel.test or http://localhost:8000).

Additionally, whenever you modify routes, you MUST run:

php artisan route:trans:cache

Caution

This project enforces Conventional Commits using commitlint and husky. Ensure your commit messages follow the standard format (e.g., feat: add new login page).

For detailed setup and development instructions, please read HOW_TO_DEVELOP.md.

Laravel Inertia React with TypeScript

By default, packages like Laravel Breeze use regular JavaScript for React. However, this project is tailored for those who want an Inertia.js boilerplate with TypeScript, enhanced with the Selia UI Kit.

Default Account

Email: superadmin@yuisalabs.dev
Password: superadmin

Features

  • Authentication: Full auth scaffolding (Login, Register, Password Reset, Email Verification).
  • Access Control List (ACL): Full ACL scaffolding (Role, Permission, User Role, User Permission).
  • User Profile: Profile management with update and delete capabilities.
  • TypeScript: Fully typed codebase for better developer experience.
  • Selia UI: Custom UI components and design system.
  • Modern Architecture: Feature-based folder structure for scalability.

Folder Structure

This project adopts a feature-based architecture to keep the codebase scalable and maintainable. Instead of grouping files by type (controllers, views, etc.), we group them by feature where possible, especially in the frontend.

Frontend (resources/js/)

resources/js/
├── components/         # Shared UI components (Button, Input, etc.)
├── layouts/            # Layout wrappers (AuthenticatedLayout, GuestLayout, PublicLayout)
├── pages/              # Inertia Page components (entry points)
│   ├── auth/           # Auth pages (Login, Register, etc.) - specific layout/view logic
│   └── ...
├── features/           # Feature-specific logic and specialized components
│   ├── auth/           # Authentication feature
│   │   └── components/ # Forms and logical components (LoginForm, RegisterForm, etc.)
│   └── ...
└── ...

Key Concept:

  • Pages (resources/js/pages): Should focused on Layout and Routing. They act as the "Controller" of the frontend, receiving data from Inertia props and organizing the page structure.
  • Features (resources/js/features): Contain the Business Logic and Complex Components. For example, the LoginForm component handles the form state, validation, and submission, while the LoginPage simply places that form into the GuestLayout.

This separation allows for easier testing, reuse of feature logic, and a cleaner separation of concerns.

统计信息

  • 总下载量: 22
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 12
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 11
  • Watchers: 0
  • Forks: 0
  • 开发语言: TypeScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固