Base project skeleton for Drago Extension applications.
- PHP >= 8.3
- Nette Framework
- Composer
- Docker
- Node.js
- Bootstrap
- Naja
composer create-project drago-ex/projectBasic 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.
-
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.
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.
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-setupCommand definitions and priorities are documented in the packages that provide them.