PHPackages                             chai/framework - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. chai/framework

AbandonedArchivedLibrary[Framework](/categories/framework)

chai/framework
==============

Chai is a framework of useful tools

v0.0.1(12y ago)017PHPPHP &gt;=5.3.0

Since Jul 10Pushed 11y ago1 watchersCompare

[ Source](https://github.com/mloberg/Chai)[ Packagist](https://packagist.org/packages/chai/framework)[ RSS](/packages/chai-framework/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

Chai
====

[](#chai)

Chai is a collection of tools to aid in the development of PHP applications. It aims to be easy to use and completely framework agnostic. It utilizes components from other frameworks and libraries, so as not to re-invent the wheel.

Requirements
------------

[](#requirements)

- PHP 5.3 or greater
- Composer

Components
----------

[](#components)

### Migrations

[](#migrations)

Migrations allow you to "version control" your database. You can create tables, update tables, or perform other actions. Most migration systems have an up and down method. The up method does the desired action such as creating or updating a table. The down method does the opposite allowing you to run migrations multiple times without any issues. In addition, Chai has an update method that is ran if the migration has already been applied.

#### Getting Started

[](#getting-started)

To get started using migrations, you will need to create a console script (`bin/console`).

```
