PHPackages                             lcs13761/migration - 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. lcs13761/migration

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

lcs13761/migration
==================

Migration to mysql database

2.0(3y ago)011MITPHPPHP ^8.0

Since Dec 30Pushed 3y ago1 watchersCompare

[ Source](https://github.com/lcs13761/migration)[ Packagist](https://packagist.org/packages/lcs13761/migration)[ RSS](/packages/lcs13761-migration/feed)WikiDiscussions master Synced today

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

Migration Mysql
===============

[](#migration-mysql)

[![Source Code](https://camo.githubusercontent.com/b3138caab3aab63af5415974b3d0311b9c400580b5374e602cad90beff30e236/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d6c637331333736312f6d6967726174696f6e2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/lcs13761/migration)[![PHP from Packagist](https://camo.githubusercontent.com/a50d49bf6e62d2d6fd808efbb8ec499910d823ed14b138fd97e581e6ca5c98be/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6c637331333736312f6d6967726174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lcs13761/migration)[![Latest Version](https://camo.githubusercontent.com/55b0226a794ab7f1041c825dfd2f1b946afb0fa16aab65596ec6257c017178fb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6c637331333736312f6d6967726174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/lcs13761/migration/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build](https://camo.githubusercontent.com/2ea0571fba7b6ed10b9f3c4f3f081cc97f432f0fc8a0456f0e6406e954a73e26/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f6c637331333736312f6d6967726174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/lcs13761/migration)[![Quality Score](https://camo.githubusercontent.com/c534776d261bf17dcd0ed163cd4b240c465bf152d18df8badf941d7c90b3d8ef/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c637331333736312f6d6967726174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/lcs13761/migration)[![Total Downloads](https://camo.githubusercontent.com/36efc997392cbbae4ea98b1a64a13e8423a606c1702c388b6fbbf579df0a4c0e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c637331333736312f6d6967726174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lcs13761/migration)

### Highlights

[](#highlights)

- Simple installation (Instalação simples)

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

[](#installation)

Uploader is available via Composer:

```
"lcs13761/migration": "^2.0"
```

or run

```
composer require lcs13761/migration
```

Documentation
-------------

[](#documentation)

###### Antes de inicar é necessario configurar os dados de conexao do banco de dados.

[](#antes-de-inicar-é-necessario-configurar-os-dados-de-conexao-do-banco-de-dados)

Before starting it is necessary to configure the database connection data.

The file that needs to be configured is in( O arquivo que precisa ser configurado fica em)

```
vendor/lcs13761/migration/src/Config/Database/Config.php
```

configuraçao padrao do projeto

```
define("DB_HOST","127.0.0.1");
define("DB_USER","root");
define("DB_NAME","project");
define("DB_PASSWD","root");
```

to add the migration file (Para adicionar o arquivo de migração)

```
php ./vendor/lcs13761/migration/migration.php --migration=fileName
```

#### User endpoint:

[](#user-endpoint)

```
