Skip to content

Commit a4be242

Browse files
committed
Added composer.json
1 parent 1201606 commit a4be242

3 files changed

Lines changed: 21 additions & 1 deletion

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.idea/**
2+
composer.lock
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
<?php
22

3+
namespace marcocesarato\sqlparser;
4+
35
/**
46
* Light SQL Parser Class
57
* @author Marco Cesarato <cesarato.developer@gmail.com>
68
* @copyright Copyright (c) 2018
79
* @license http://opensource.org/licenses/gpl-3.0.html GNU Public License
810
* @link https://github.com/marcocesarato/PHP-Light-SQL-Parser-Class
9-
* @version 0.1.91
11+
* @version 0.1.95
1012
*/
1113
class LightSQLParser
1214
{

composer.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "marcocesarato/sqlparser",
3+
"description": " This class can parse SQL to get query type, tables, field values, etc.. It takes an string with a SQL statements and parses it to extract its different components. Currently the class can extract the SQL query method, the names of the tables involved in the query and the field values that are passed as parameters. This parser is pretty light respect phpsqlparser or others php sql parser.",
4+
"type": "console",
5+
"license": "GPL-3.0-or-later",
6+
"minimum-stability": "dev",
7+
"authors": [
8+
{
9+
"name": "Marco Cesarato",
10+
"email": "cesarato.developer@gmail.com"
11+
}
12+
],
13+
"require": {
14+
"php": ">=4.0.0"
15+
}
16+
}

0 commit comments

Comments
 (0)