dotzone/dotzonestarters
Composer 安装命令:
composer require dotzone/dotzonestarters
包简介
DotZone Starters is a package that contains all the basic files and folders that are needed to start a new project.
README 文档
README
Get started |
Available Themes |
Generator |
Features |
Dotzone Group
Package that contains all the basic files and folders that are needed to start a new project.
Works only with the latest Laravel 9 for now.
The package suggests to install Laravel UI (Bootstrap) starter kit, and adds the chosen design theme on top, in addition to some features and generators.
❗ Important
This package must be used in a NEW Laravel project. Existing project functionalities, such as routes or controllers, may be overridden by Dotzonestarters.
Features
Along with the Design Themes, Dotzonestarters adds a few features that are typical for almost any project:
- Main Page
- Login/Register Pages
- A generator command
Get Started
Dotzonestarters requires PHP 8+ and Laravel 9+.
-
Create a new Laravel project.
-
Require Dotzonestarters as a dev dependency, run:
composer require dotzone/dotzonestarters --dev
-
Configure Dotzonestarters, run the command below:
php artisan dotzone-starter:install
Choose your preferred starter kit and Design Theme.
-
For Role Permission integration, choose yes once you see the question.
-
That's it! You have Laravel Auth starter, just visit the home page and click Log in / Register.
Developing within a container
Internally, this package runs several php artisan commands during the installation process.
If you are developing with a container, like Laravel Sail or Docker, you can pass the --php_version flag to change this behaviour and avoid problems in the installation process:
php artisan dotzone-starter:install --php_version=./vendor/bin/sail`.
Generator
To generate a new entity just run
php artisan dotzone-starter:generate {name}
where the name is the model name. This command will excute the following actions:
- Create the model and migration
- Create Controller with ready made functions
- Create Store and Update Request
- Create views like index, table and modal
- Create custom Javascript file with ready made functions
- Add translation keys inside lang/en/messages.php
- Add custom menu to the sidebar menu list
- Add permission keys to the default permission seeder
All previews actions are generated for the management part of the webapp (Control Panel).
Available Themes
In the current version, there is 1 theme supported.
Bootstrap Themes with Laravel UI
Role Permissions
In the current version, there is 1 role-based access control package supported.
Credit
dotzone/dotzonestarters 适用场景与选型建议
dotzone/dotzonestarters 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 57 次下载、GitHub Stars 达 3, 最近一次更新时间为 2023 年 02 月 02 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 dotzone/dotzonestarters 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 dotzone/dotzonestarters 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 57
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-02-02