drago-ex/project

There is no license information available for the latest version (v2.0.0) of this package.

The basis for new projects on Drago Extension.

Installs: 75

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:project

pkg:composer/drago-ex/project

v2.0.0 2026-01-08 18:15 UTC

This package is auto-updated.

Last update: 2026-01-10 08:56:21 UTC


README

Basis for new modules projects on Drago Extension

PHP version Coding Style CodeFactor

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 the basis for Bootstrap, Vite, Docker, Naja is already prepared. You can find all commands in package.json like running Docker or Vite.

Basic Naja scripts

  • 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.

We can further expand the package with other basic settings

Running PHP scripts locally with Docker

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

Useful tools that come in handy during development