Download the PHP package dravencms/application without Composer
On this page you can find all versions of the php package dravencms/application. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dravencms/application
More information about dravencms/application
Files in dravencms/application
Package application
Short Description DravenCMS Application
License LGPL-3.0
Informations about the package application
DravenCMS Application
Core Nette application integration shared by DravenCMS packages. It provides the base presenter and control classes, package route aggregation, common flash-message constants, template lookup conventions, and WebLoader defaults.
Features
Dravencms\BasePresenterandDravencms\Components\BaseControl\BaseControl.- A central router assembled from package
IRouterFactoryservices. - DravenCMS presenter mapping and frontend error-presenter defaults.
- SCSS and CSS URL processing for WebLoader.
- Shared template and layout lookup conventions.
Installation
The DravenCMS package loader reads the bundled dravencms.config.neon. Without the loader, include that file manually from the application configuration.
The default configuration expects public assets under %wwwDir%/assets and writes generated bundles to %wwwDir%/webtemp.
Adding Package Routes
Implement IRouterFactory in a package:
Register it with the shared router:
Route factories are evaluated in registration order, so package configuration order can affect matching priority.
Base Classes
Application presenters should extend Dravencms\BasePresenter, or a more specific frontend/admin presenter derived from it. Reusable UI controls can extend BaseControl; it shares DravenCMS template conventions and ACL attribute handling.
License
This package is licensed under the LGPL-3.0 license.
All versions of application with dependencies
nette/di Version ^3.0.9
scssphp/scssphp Version ^v1.6.0
dravencms/webloader Version >=0.0.1