Download the PHP package tuxboy/sdam without Composer
On this page you can find all versions of the php package tuxboy/sdam. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package sdam
SDAM (Simple Database Auto Migration)
Manage the database migrations for your PHP app, this library was made for your migration to be launched automatically in your application
There is a demo of use here
Installation
`
OR with packagist
How to use it
``
Middleware are constructed with these parameters
- Entities list, string[]
- $config, string[]
Usage
Create your Entity class, Post entity for example :
(You can see the list of possible annotations in the class AnnotationsName)
Just start the migration, either by a simple F5 if you have it enabled in your application (middleware) or other. The table will be created in your database.
Todo
- [X] Manage relationship belongsToMany
- [ ] Better manage the tables that already exist when creating (Delete php warning)
- [ ] Completed the factory system.
All versions of sdam with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1.0
php-di/phpdoc-reader Version ^2.1
icanboogie/inflector Version ^1.4
doctrine/dbal Version ^2.7
psr/http-message Version ^1.0
vlucas/phpdotenv Version ^2.4
fzaninotto/faker Version ^1.8
php-di/phpdoc-reader Version ^2.1
icanboogie/inflector Version ^1.4
doctrine/dbal Version ^2.7
psr/http-message Version ^1.0
vlucas/phpdotenv Version ^2.4
fzaninotto/faker Version ^1.8
The package tuxboy/sdam contains the following files
Loading the files please wait ....