appertly / labrys
A library that helps you write web applications in Hack
Installs: 285
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:Hack
Requires
- hhvm: >=3.12.0
- appertly/axe: ~0.1
- appertly/ducts: ~0.1
- aura/router: ^3.0
- caridea/acl: ^2.1.2
- caridea/auth: ^2.0.0
- caridea/container: ^2.2.0
- caridea/dao: ^2.0.0
- caridea/http: ^2.0.0
- caridea/validate: ^2.0.0
- psr/http-message: ^1.0
- psr/log: ^1.0
Requires (Dev)
- hack-psr/psr7-http-message-hhi: ^0.2
- hackpack/hackunit: ^1.0
- libreworks/ext-mongodb-hhi: ^1.2.0
- libreworks/psr3-log-hhi: ^1.0.0
- mockery/mockery: ^0.9
- mongodb/mongodb: ^1.1
- zendframework/zend-diactoros: ^1.0
Suggests
- ext-mongodb: Allows use of Labrys\Db MongoDB classes
- mongodb/mongodb: Version 1.1.x allows use of Labrys\Db\MongoFileService
README
This is a library that helps you write web applications in Hack.
Installation
You can install this library using Composer:
$ composer require appertly/labrys
- The master branch (version 0.x) of this project requires HHVM 3.12 and has a few dependencies.
Compliance
Releases of this library will conform to Semantic Versioning.
Our code is intended to comply with PSR-1, PSR-2, and PSR-4. If you find any issues related to standards compliance, please send a pull request!
The Big Idea
Really, Labrys is the glue between several micro libraries.
In addition to several helper classes, the Big Deal here is a mechanism to declare modules.
The Labrys\System
class has three dependency containers: one for configuration properties, one for back-end objects and one for front-end objects. Modules can register objects in these containers.
More details coming soon! In the meantime, please browse the code or check out the API documentation.