https://github.com/lazer-database/migrate-to-lazer-database
Easiest way to Migrate tables to Lazer Database
https://github.com/lazer-database/migrate-to-lazer-database
Last synced: 11 months ago
JSON representation
Easiest way to Migrate tables to Lazer Database
- Host: GitHub
- URL: https://github.com/lazer-database/migrate-to-lazer-database
- Owner: Lazer-Database
- License: mit
- Created: 2022-08-19T11:06:02.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-08-11T20:06:15.000Z (almost 3 years ago)
- Last Synced: 2025-07-09T14:58:38.733Z (12 months ago)
- Language: PHP
- Size: 42 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Migrate-to-Lazer-Database
Easiest way to Migrate tables to Lazer-Database
It will convert the key/value paired array to Lazer-Database table
Features:
* Dynamically create table and columns with the data type based on the value
* Add records after the table is created
* Adds callback for the objects like classes etc.
Requirements
------------
- PHP 7.0+
- Composer
To add library to your dependencies, execute:
```
composer require lazer-database/migrate-to-lazer-database
```
Tests
-----
Easiest way to run unit tests is to use composer script
```
composer run-script test
```
Hope you are doing well.
Regards