Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 5 days 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 (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-11T20:06:15.000Z (over 1 year ago)
- Last Synced: 2024-10-13T08:41:30.053Z (about 1 month 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-DatabaseIt 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+
- ComposerTo 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