Darya is a PHP framework for web application development.
Its components include:
- ORM
- CRUD storage abstractions
- Database abstractions
- Service container
- HTTP abstractions
- Router
- Event dispatcher
- Views
The framework is currently under development and the API is liable to change until v1.0.0.
Each component will eventually be split into its own repository.
Use Composer to install the darya/framework
package.
Otherwise just clone this repository into a directory such as
/vendor/darya/framework
.
After this, you'll want to make use of a class autoloader to save you from manually including classes.
You can use Composer's autoloader or the autoloader that Darya provides.
require_once 'vendor/autoload.php';
Darya's autoloader.php
includes Composer's autoload.php
if it can find it.
require_once 'vendor/darya/framework/autoloader.php';