yhif/tdall
Composer 安装命令:
composer require yhif/tdall
包简介
TDALL preset for Laravel.
关键字:
README 文档
README
Using daisyUI, you can easily change the theme of your app. You can also use the theme switcher component to allow your users to change the theme of your app on the fly.
Laravel TDALL Preset
A front-end preset for Laravel to scaffold an application using the TDALL stack, jumpstarting your application's development.
If you're not familiar with the name, it's an acronym that describes the main technologies involved in the stack:
Some notable features of this package include:
- Views extending a default layout
- Front-end assets like daisyUI and Alpine.js compiled with Vite 3
- daisyUI-powered pagination views
- A theme switcher is provided as a blade component.
- By default all the daisyUI themes are enabled. You can disable them in the
tailwind.config.jsfile.
Installation
This preset is intended to be installed into a fresh Laravel application. Follow Laravel's installation instructions to ensure you have a working environment before continuing.
Installation (without auth)
Then simply run the following commands:
composer require livewire/livewire yhif/tdall php artisan ui tdall npm install npm run dev
Installation (with auth)
If you would like to install the preset and its auth scaffolding in a fresh Laravel application, make sure to use the --auth flag on the ui command:
composer require livewire/livewire yhif/tdall php artisan ui tdall --auth npm install npm run dev
Some notable features of the authentication scaffolding include:
- Powered by Livewire components and single action controllers
- Bundled with pre-written tests
All routes, components, controllers and tests are published to your application. The idea behind this is that you have full control over every aspect of the scaffolding in your own app, removing the need to dig around in the vendor folder to figure out how things are working.
Removing the package
If you don't want to keep this package installed once you've installed the preset, you can safely remove it. Unlike the default Laravel presets, this one publishes all the auth logic to your project's /app directory, so it's fully redundant.
A note on pagination
If you are using pagination, you set the default pagination views to the ones provided in the boot method of a service provider:
use Illuminate\Pagination\Paginator; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { public function boot() { Paginator::defaultView('pagination::default'); Paginator::defaultSimpleView('pagination::simple-default'); } }
Credits
The original better-futures-studio/dall package credits:
The original laravel-frontend-presets/tall package credits:
- Dan Harrin
- Liam Hammett
- Ryan Chandler
- Tailwind UI for the default authentication and pagination views
- All Contributors
yhif/tdall 适用场景与选型建议
yhif/tdall 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 6 次下载、GitHub Stars 达 1, 最近一次更新时间为 2024 年 03 月 31 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「alpine」 「preset」 「tailwind」 「tailwindcss」 「livewire」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 yhif/tdall 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 yhif/tdall 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 yhif/tdall 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Binary of wkhtmltopdf runnable in docker alpine container.
Bulma Frontend Preset For Laravel Framework 6.0 and Up
DCODE FrontEnd preset for Laravel.
Image cache
The lireincore/imgcache integration for the Yii2 framework
Convert html to pdf using webkit (qtwebkit). Static linked linux binary for amd64 systems.
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 20
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-03-31
