承接 fabpl/laravel-blade-starter-kit 相关项目开发

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

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

fabpl/laravel-blade-starter-kit

最新稳定版本:0.1

Composer 安装命令:

composer create-project fabpl/laravel-blade-starter-kit

包简介

A strict Laravel + Blade Starter Kit

README 文档

README

A strict Laravel skeleton.

Introduction

This Blade starter kit uses Blade, Tailwind, and the DaisyUI component library.

Features

✅ Strict Models

Improves how Eloquent handles undefined attributes, lazy loading, and invalid assignments.

  • Accessing a missing attribute throws an error.
  • Lazy loading is blocked unless explicitly allowed.
  • Setting undefined attributes throws instead of failing silently.

Why: Avoids subtle bugs and makes model behavior easier to reason about.

🔓 Optional Unguarded Models

Disables Laravel's mass assignment protection globally (opt-in).

Why: Useful in trusted or local environments where you want to skip defining $fillable.

🕒 Immutable Dates

Uses CarbonImmutable instead of mutable date objects across your app.

Why: Prevents unexpected date mutations and improves predictability.

🔒 Force HTTPS

Forces all generated URLs to use https://.

Why: Ensures all traffic uses secure connections by default.

🛑 Safe Console

Blocks potentially destructive Artisan commands in production (e.g., migrate:fresh).

Why: Prevents accidental data loss and adds a safety net in sensitive environments.

License

The Laravel + Blade starter kit is open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-05-28