Download the PHP package richan-fongdasen/database-converter-laravel without Composer
On this page you can find all versions of the php package richan-fongdasen/database-converter-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download richan-fongdasen/database-converter-laravel
More information about richan-fongdasen/database-converter-laravel
Files in richan-fongdasen/database-converter-laravel
Package database-converter-laravel
Short Description A database converter tool for Laravel Applications
License MIT
Homepage https://github.com/richan-fongdasen/database-converter-laravel
Informations about the package database-converter-laravel
Database Converter for Laravel Applications
This package provides a simple way to convert your database schema from one database management system to another. It is built on top of the Laravel framework.
Installation
You can install the package via composer:
Publishing Configuration
You can publish the configuration file using the following command:
The above command publishes the configuration file to config/database-converter-laravel.php
, and the content of the configuration file will look like this:
Usage
In this example, we will convert the database schema from MySQL to SQLite.
Configure the database connection as conversion target
First, you need to configure the database connection that you want to convert to. You can do this by adding a new database connection configuration in your config/database.php
file.
Run database migration on the conversion target
Before you can convert the database schema, you need to run the migration on the conversion target database. You can do this by running the following command:
Convert the database schema
Now, you can convert the database schema from MySQL to SQLite by running the following command:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Richan Fongdasen
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of database-converter-laravel with dependencies
illuminate/console Version ^11.0
illuminate/contracts Version ^11.0
illuminate/database Version ^11.0
illuminate/support Version ^11.0
spatie/laravel-package-tools Version ^1.16