Skip to content

Commit

Permalink
Merge pull request #1 from anant-svc/feature/initial-code-release
Browse files Browse the repository at this point in the history
Initial code release
  • Loading branch information
anant-svc authored Aug 23, 2024
2 parents 4373538 + 5caa1f3 commit f3a03a2
Show file tree
Hide file tree
Showing 12 changed files with 1,932 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/vendor/
/.lh
/.vscode
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
language: php

php:
- 7.4
- 7.3
- 7.2
- 7.1
- 7.0

before_script:
- composer install

script:
- vendor/bin/phpunit
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
# any-data-to-lazer-database
Convert your any data tables to Lazer database dynamically
# Mysql to lazer database
Convert your MySQL tables/Array to Lazer database dynamically

It will convert the key/value paired array to lazer database table

Features:
* Dynamically create columns with the data type based on the value
* Add records after the table is created
* Adds callback for the objects like classes etc.

Hope you are doing well.

Regards
33 changes: 33 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "anant-svc/any-data-to-lazer-database",
"description": "PHP library to transfer MYSQL data to Lazer-Database",
"keywords": ["lazer", "simple", "json", "flat", "file", "database", "db", "mysql", "converter"],
"license": "MIT",
"authors": [
{
"name": "Ananth Iyer",
"email": "ananthiyerit@gmail.com",
"role": "Owner"
}
],
"require": {
"php": ">=7.0",
"greg0/lazer-database": "^2.0"
},
"require-dev": {
"phpunit/phpunit": "6.2.0",
"mikey179/vfsstream": "~1.6"
},
"autoload": {
"psr-4": {
"Lazer\\AnyDataToLazerDatabase\\": "src/",
"Lazer\\AnyDataToLazerDatabase\\Test\\": "tests/src/"
}
},
"scripts": {
"test": "./vendor/bin/phpunit --testdox"
},
"config": {
"github-protocols": ["https"]
}
}
Loading

0 comments on commit f3a03a2

Please sign in to comment.