Download the PHP package digicademy/dlight without Composer
On this page you can find all versions of the php package digicademy/dlight. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download digicademy/dlight
More information about digicademy/dlight
Files in digicademy/dlight
Package dlight
Short Description DLight - Domain Driven Design Microframework
License MIT
Homepage https://github.com/digicademy/dlight
Informations about the package dlight
DLight
About
DLight (»Delight«) is a PHP microframework on top of Slim with a focus on a clean, object oriented software architecure and related design patterns.
DLights architecture adheres to the principles of Domain Driven Design. The main purpose of the the framework is to study software design patterns and web technologies in the master programme 'Digital Methods in the Humanities and Cultural Sciences'.
At the same time, DLight and its Slim framework base make it possible to write clean and efficient APIs and HTTP-based web apps.
DLight is in an early beta stadium at the moment - fully usable and already used in production but not feature complete. Most notably at this stage are DLights domain, factory and mapper classes that make coupling and transforming XML content (e.g. from an eXist XML database) a breeze.
DLight still expects you to write your own PHP code ;-) It simply provides you with a clean architectural base for the task.
Requirements
- Webserver with URL rewriting
- PHP 5.5 or newer
- Composer
Installation
DLight can be installed with Composer. Create a project directory and execute the following command:
This installs DLight in the vendor directory of your project directory. Next, create a subdirectory (public for example) cd into the directory, create an index.php file and add the following:
Finally, point your webserver to your public directory and add webserver specific rewrite rules so that all HTTP requests are routed through the index.php file. Example for the Apache webserver:
Rewrite rules for other webservers can be looked up in the Slim documentation
Point your browser to the public directory and you should be greeted with the DLight welcome page.
Documentation
The following diagram gives an overview over DLights DDD architecture.
A more detailed documentation is currently in the making.
License
This software is published under the terms of the MIT license.
Research Software Engineering and Development
Copyright 2018-2019, Torsten Schrade
Copyright 2018-2019, Academy of Sciences and Literature | Mainz
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
All versions of dlight with dependencies
ext-xsl Version *
ext-simplexml Version *
ext-libxml Version *
slim/slim Version ^3.12
slim/twig-view Version ^2.4
guzzlehttp/guzzle Version ^6.3
phpdocumentor/reflection-docblock Version ^4.3