Download the PHP package logikostech/core without Composer
On this page you can find all versions of the php package logikostech/core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download logikostech/core
More information about logikostech/core
Files in logikostech/core
Package core
Short Description LT Project Core
License MIT
Homepage https://github.com/logikostech/core
Informations about the package core
Core classes required for logikos applications
Core for LT projects.
Logikos\Application\Bootstrap
Basic usage
Logikos\Application\Bootstrap\Modules
If you pass module configuration information to Bootstrap(), either the module definitions or the defaultModule then bootstrap will automaticly try to initialize the modules Bootstrap::initModules()
Of course you can always initModules manualy yourself:
Note that by specifying modulesDir we really would not have needed to define the modules as the class automaticly finds and registers all modules within the modulesDir. Also the default modulesDir is APP_DIR.'/modules' and the default defaultModule is 'frontend' so really $boot->initModules() would work all by itself with no options if the defaults work for your application.
Module Routeing
By default the Modules class will automaticly register your modles with the router. It uses /controller/action/params for the default module and /modulename/controller/action/params for all non-default modules. You can override this per module however within your ModuleDefinition class
All versions of core with dependencies
ext-phalcon Version ^2.0
logikostech/common Version 1.*
vlucas/phpdotenv Version ^2.2