承接 nelsondiego/dn-laravel 相关项目开发

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

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

nelsondiego/dn-laravel

最新稳定版本:v0.1.4

Composer 安装命令:

composer create-project nelsondiego/dn-laravel

包简介

Laravel Starter Kit

README 文档

README

Laravel Version License Install with Herd

DN Laravel Starter Kit

DN Laravel Starter Kit is a Laravel application template designed to streamline the development process for new projects. It includes a pre-configured authentication system, Inertia.js/React frontend integration, Tailwind CSS with a modern design system, shadcn UI components library, optimized development environment setup, predefined testing configuration, and essential Laravel packages.

🚀 Features

  • Authentication system ready out-of-the-box
  • Inertia.js/React frontend integration
  • Tailwind CSS with modern design system
  • shadcn UI components library
  • Optimized development environment setup
  • Predefined testing configuration
  • Actions pattern for better code organization and testability
  • Laravel Dump Server for improved debugging (documentation)
  • Laravel Wayfinder for simplified routing (documentation)
  • Includes essential Laravel packages

📐 Actions Pattern

This starter kit implements the Actions pattern, which helps organize business logic into single-purpose, reusable classes. Each Action class is responsible for executing a specific task, making the code more maintainable, testable, and following the Single Responsibility Principle.

Actions are located in the app/Http/Actions directory and are organized by domain (e.g., Account, Auth). Controllers delegate business logic to these Action classes, keeping controllers thin and focused on HTTP concerns.

Example usage in a controller:

public function index(Request $request) {
    return Inertia::render("account/account",[
        'currentUser' => new UserResource(
            $this->getAccountAction->execute(Auth::id())
        )
    ]);
}

🛠️ Installation

  1. Create project and navigate:
laravel new --using=nelsondiego/dn-laravel
cd your-project-name

Important: This application requires running with SSL (using Herd or Valet) due to history encryption. See the Inertia.js documentation for more details.

  1. Start development server:
php artisan serve

👨💻 Contribuciones bienvenidas | 📄 Licencia MIT | 🐛 Reportar issues

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-03-12