danherbert-io/elide-simple-starter-kit
Composer 安装命令:
composer create-project danherbert-io/elide-simple-starter-kit
包简介
The skeleton application for the Laravel framework, setup to use Elide for Laravel.
关键字:
README 文档
README
Getting started
laravel new --using=danherbert-io/elide-simple-starter-kit
Quick rundown
This starter kit is a fresh Laravel 12 project + Elide, with some initial templates and routes to get things moving quickly.
It is configured to use Elide/HTMX, Tailwind, and TypeScript.
With regard to HTMX, it also loads the Idiomorph extension in the root application view to support DOM morphing, should you desire.
Pages/routes/controllers include:
- Home page
- Guest pages:
- Log in
- Register
- Reset password
- Profile settings page:
- Profile form
- Reset password form
- Delete account form
Models
This kit includes the default User model and migrations of a fresh Laravel project.
It also includes an abstract App\Models\Model class which can automatically provide a ->uuid property for new models if a model implements the App\Contracts\HasModelUuid interface.
There is also a App\Contracts\HasCommonModelProperties interface which declares common model properties (id+timestamps) via the DocBlock. Useful for IDEs.
Views/Components
The kit contains a number of components with corresponding Blade template files.
App\View\Components\Page\**- All the pages of the kitApp\View\Components\Form\**- All the forms of the kitApp\View\Components\Ui\**- Various UI components making up the kit, eg:LoadingIndicatorSiteFooterandSiteHeaderToastNotification- A small set of controls under
App\View\Components\Ui\Control
App\View\Components\Todo- A simple "@TODO" style component for use when building out UIs.
Email notifications
It includes a "welcome" email notification for new accounts, and a "profile deleted" email notification for when users delete their accounts.
Toast notifications
The AppServiceProvider and root application view also boots support for sending toast notifications to the frontend.
This can be done like this:
Route::get('make-success-notification', function() { return redirect(...) ->with('toast-success', 'This was a success!'); });
Supported toast types are:
toast-notificationtoast-infotoast-successtoast-warningtoast-danger
PS - in the spirit of "no build", these toast notifications are self-contained DOM components. You can learn more about them and customise them by looking at:
App\View\Components\Ui\ToastNotificationresources/views/components/ui/toast-notification.blade.php
Composer
There is a composer reset-db command defined, which will wipe the database, run migrations, and run the seeder.
Tests
This kit includes a range of baseline tests similar to the Laravel React Starter Kit.
danherbert-io/elide-simple-starter-kit 适用场景与选型建议
danherbert-io/elide-simple-starter-kit 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 09 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「laravel」 「htmx」 「elide」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 danherbert-io/elide-simple-starter-kit 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 danherbert-io/elide-simple-starter-kit 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 danherbert-io/elide-simple-starter-kit 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
PHP PSR-7 proxy classes with convenience methods for htmx requests and responses
Laravel Tachyon is a package designed to optimize the performance of your Laravel applications by optimizing and minifying HTML output on demand.
Alfabank REST API integration
Laravel Tachyon is a package designed to optimize the performance of your Laravel applications by optimizing and minifying HTML output on demand.
Bibliothèque d'aide HTMX pour le framework BlitzPHP
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 12
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-09-08