PHPackages                             initphp/barbarian - 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. [Database &amp; ORM](/categories/database)
4. /
5. initphp/barbarian

ActiveLibrary[Database &amp; ORM](/categories/database)

initphp/barbarian
=================

Small library that can be used for database migrations.

1.0.1(3y ago)010MITPHPPHP &gt;=7.4

Since Jul 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/InitPHP/Barbarian)[ Packagist](https://packagist.org/packages/initphp/barbarian)[ RSS](/packages/initphp-barbarian/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

Barbarian
=========

[](#barbarian)

Small library that can be used for database migrations.

***Warning :** This library has not yet been fully tested and is under development. Please consider this information when using.*

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

[](#requirements)

- PHP 7.4 or higher
- PHP PDO Extension
- PHP JSON Extension
- [InitPHP Console Library](https://github.com/InitPHP/Console)

Installation
------------

[](#installation)

```
composer require initphp/barbarian

```

Usage
-----

[](#usage)

Start by creating a directory for the Migrations classes.

Let your working directory be `/Migrations/` for example.

An example migration class would look like this;

```
