PHPackages                             sukohi/back-then - 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. sukohi/back-then

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

sukohi/back-then
================

A Laravel package for managing reivision of database.

1.0.3(8y ago)014MITPHP

Since May 23Pushed 8y ago1 watchersCompare

[ Source](https://github.com/SUKOHI/BackThen)[ Packagist](https://packagist.org/packages/sukohi/back-then)[ RSS](/packages/sukohi-back-then/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

BackThen
========

[](#backthen)

A Laravel package for managing reivision of database. (This package is for Laravel 5+)

- Note: This package is inspired by [VentureCraft/revisionable](https://github.com/VentureCraft/revisionable). Thank you, VentureCraft!

Installation
============

[](#installation)

Execute the following composer command.

```
composer require sukohi/back-then:1.*

```

then set BackThenServiceProvider in your config/app.php.

```
Sukohi\BackThen\BackThenServiceProvider::class,

```

Preparation
===========

[](#preparation)

To make a table for this package, execute the following commands.

```
php artisan vendor:publish --provider="Sukohi\BackThen\BackThenServiceProvider"

```

and

```
php artisan migrate

```

Add `BackThenTrait` to your model like so.

```
