drago-ex / project-preset
Overlay preset that turns an installed Drago Project into a backend-ready stack.
Package info
github.com/drago-ex/project-preset
Language:Latte
Type:drago-tools-resource
pkg:composer/drago-ex/project-preset
Requires
- php: >=8.3 <9
- drago-ex/permission: ^2.3
- drago-ex/project-backend: ^2.0
- drago-ex/project-backend-ui: ^2.0
- drago-ex/project-docker: ^2.0
- drago-ex/project-docker-db: ^2.0
- drago-ex/project-front: ^2.0
- drago-ex/project-permission: ^1.0
- drago-ex/project-settings: ^1.0
Requires (Dev)
- phpstan/phpstan-nette: ^2.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
English | Čeština
Overlay preset that turns an installed Drago Project into a complete backend-ready stack.
Requirements
- PHP >= 8.3, < 9
- Nette Framework
- Composer
- Docker
- Node.js
- Bootstrap
- Naja
Installation
composer require drago-ex/project-preset
Included packages
- Docker Setup
- Database Layer
- Authentication
- Permissions (ACL)
- Backend Admin
- Backend UI
- Application Settings
- Blog
- Static Pages
Front
The preset replaces the plain front layout of project-front with a Bootstrap one: a navbar with the blog and the static pages marked "Show in the menu" (the logo leads to the home page), and the signed-in user's menu (account, administration when the user may open it, theme, sign out) or a sign-in button. The home page shows the latest articles of the blog.
Permission providers
The access rules of the included packages are generated into the project by:
php vendor/bin/create-permission --packages