Download the PHP package dataworkstr/revisionable without Composer
On this page you can find all versions of the php package dataworkstr/revisionable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download dataworkstr/revisionable
More information about dataworkstr/revisionable
Files in dataworkstr/revisionable
Download dataworkstr/revisionable
More information about dataworkstr/revisionable
Files in dataworkstr/revisionable
Vendor dataworkstr
Package revisionable
Short Description Nice and easy way to handle revisions of your MongoDB.
License MIT
Package revisionable
Short Description Nice and easy way to handle revisions of your MongoDB.
License MIT
Please rate this library. Is it a good library?
Informations about the package revisionable
dataworkstr/Revisionable
Nice and easy way to handle revisions of your MongoDB.
Lumen5 + MongoDB revisions Support Document Model
Requirements
- This package requires PHP 5.4+
- MongoDB 3.0+
- Currently it works out of the box with Laravel5 + generic Illuminate Guard, tymon/jwt-auth OR cartalyst/sentry 2/sentinel 2
Usage (Laravel5 basic example - see Customization below as well)
1. Download the package or require in your composer.json
:
2. Add the service provider to your app/config/app.php
:
3. Publish the package config file:
this will create config/sofa_revisionable.php
file, where you can adjust a few settings:
4. Run the migration in order to create the revisions table:
You can provide additional --database
param if you want the migration to be run using non-default db connection.
5. Add revisionable trait and contract to the models you wish to keep track of:
All versions of revisionable with dependencies
PHP Build Version
Package Version
The package dataworkstr/revisionable contains the following files
Loading the files please wait ....