https://github.com/darya/framework
PHP Web Application Framework
https://github.com/darya/framework
php php-framework php-library php-orm
Last synced: 4 days ago
JSON representation
PHP Web Application Framework
- Host: GitHub
- URL: https://github.com/darya/framework
- Owner: darya
- License: mit
- Created: 2014-10-12T00:03:22.000Z (over 11 years ago)
- Default Branch: v0.6
- Last Pushed: 2021-02-28T17:19:55.000Z (almost 5 years ago)
- Last Synced: 2025-06-01T17:25:52.356Z (8 months ago)
- Topics: php, php-framework, php-library, php-orm
- Language: PHP
- Homepage: http://darya.io/
- Size: 1020 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Darya Framework
[](https://packagist.org/packages/darya/framework)
[](https://packagist.org/packages/darya/framework)
[](https://packagist.org/packages/darya/framework)
[](https://packagist.org/packages/darya/framework)
[](https://scrutinizer-ci.com/g/darya/framework)
Darya is a PHP framework for web application development.
Its components include:
- [ORM](/src/Darya/ORM)
- [CRUD storage abstractions](/src/Darya/Storage)
- [Database abstractions](/src/Darya/Database)
- [Service container](/src/Darya/Service)
- [HTTP abstractions](/src/Darya/Http)
- [Router](/src/Darya/Routing)
- [Event dispatcher](/src/Darya/Events)
- [Views](/src/Darya/View)
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](https://getcomposer.org) 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
```php
require_once 'vendor/autoload.php';
```
### Darya's autoloader
Darya's `autoloader.php` includes Composer's `autoload.php` if it can find it.
```php
require_once 'vendor/darya/framework/autoloader.php';
```