drago-ex/project
Composer 安装命令:
composer create-project drago-ex/project
包简介
The basis for new projects on Drago Extension.
README 文档
README
Base project skeleton for Drago Extension applications.
Requirements
- PHP >= 8.3
- Nette Framework
- Composer
- Docker
- Node.js
- Bootstrap
- Naja
Installation
composer create-project drago-ex/project
Basic information
Basic package for applications where Bootstrap, Vite, Docker and Naja are already prepared.
You can find all commands in package.json like running Docker or Vite.
Application structure
app/Corecontains shared infrastructure and application services.app/Presentationcontains presenters, templates and feature modules.app/Presentation/Accessorycontains reusable presentation helpers and Latte widgets.
Basic Naja scripts
-
ErrorsHandler - Handles Naja AJAX errors by displaying user-friendly alert messages based on HTTP status codes. Shows a dismissible Bootstrap alert in the page element with ID
snippet--message. -
HyperlinkDisable - Temporarily disables links with the
data-link-disableattribute during Naja requests to prevent multiple clicks. Re-enables the links once the request is complete. -
Spinner - Displays a full-page spinner during active Naja AJAX requests. Shows the spinner when a request starts and hides it once all requests are complete.
Available Extensions
Expand the base package with these ready-to-use modules:
- Docker Setup
- Database Layer
- User Management
- Authentication
- Permissions (ACL)
- Backend Admin
- Backend UI
- Application Settings
Each extension documents its required project configuration and post-installation steps in its own README. When installing the complete project stack, you can use Project Preset to apply the required setup automatically.
Package Setup
Project setup commands are handled by Project Tools.
After installing extensions, run vendor/bin/drago-setup to execute package-defined setup tasks such as database migrations or generated permission classes.
Inside Docker, run it as the web user:
docker compose exec -u www-data server php vendor/bin/drago-setup
Command definitions and priorities are documented in the packages that provide them.
Useful Development Tools
drago-ex/project 适用场景与选型建议
drago-ex/project 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 115 次下载、GitHub Stars 达 1, 最近一次更新时间为 2017 年 10 月 10 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 drago-ex/project 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 drago-ex/project 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 115
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2017-10-10