Basis for new modules projects on Drago Extension
- PHP >= 8.3
- Nette Framework
- Composer
- Docker
- Node.js
- Bootstrap
- Naja
composer create-project drago-ex/projectBasic package for applications where the basis for Bootstrap, Vite, Docker, Naja is already prepared.
You can find all commands in package.json like running Docker or Vite.
-
ErrorsExtension – 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-disable attribute during Naja requests to prevent multiple clicks. Re-enables the links once the request is complete.
-
SpinnerExtension – 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.
- https://github.com/drago-ex/project-docker
- https://github.com/drago-ex/project-db
- https://github.com/drago-ex/project-user
- https://github.com/drago-ex/project-auth
If you are using Docker for local development, all PHP scripts should be executed inside the PHP container.
docker compose exec server php path/to/script