darya / framework
Web application framework
v0.5.0
2018-06-24 11:52 UTC
Requires
- php: >=5.5
- ext-date: *
- ext-json: *
Requires (Dev)
- phpunit/phpunit: 4.3.*
Suggests
- ext-Reflection: Required to use Darya's service package
- ext-mysqli: Required to use Darya's MySQL database connection
- ext-mysqlnd: Recommended when using Darya's MySQL database connection
- ext-pdo_sqlite: Required to use Darya's SQLite database connection
- ext-session: Required to use Darya's native PHP session handler
- ext-sqlsrv: Required to use Darya's SQL Server database connection
This package is auto-updated.
Last update: 2024-11-29 01:06:36 UTC
README
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.
Installation
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.
Composer's autoloader
require_once 'vendor/autoload.php';
Darya's autoloader
Darya's autoloader.php
includes Composer's autoload.php
if it can find it.
require_once 'vendor/darya/framework/autoloader.php';