-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
864f79e
commit d0de9b3
Showing
6 changed files
with
2,515 additions
and
2,514 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ Database Wrapper - Base Model | |
|
||
- [x] V1.x, V2.x support all PHP version `>=5.6` | ||
- [x] V3.x support all PHP version `>=7.1` | ||
- [x] V4.x support all PHP version `>=8.0` | ||
|
||
## Support | ||
|
||
|
@@ -22,4 +23,4 @@ If any question & request, please contact following information | |
|-------------|----------------------|------------------|---------------| | ||
| Hung Nguyen | [email protected] | nguyenanhung5891 | @nguyenanhung | | ||
|
||
From Vietnam with Love <3 | ||
From Vietnam with Love <3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,50 @@ | ||
{ | ||
"name": "nguyenanhung/database", | ||
"type": "library", | ||
"description": "Database Wrapper - Base Model", | ||
"keywords": [ | ||
"database", | ||
"sql", | ||
"mysql", | ||
"mysqli", | ||
"pdo", | ||
"active record", | ||
"query buillder" | ||
], | ||
"homepage": "https://github.com/nguyenanhung/database", | ||
"license": "GPL-3.0", | ||
"authors": [ | ||
{ | ||
"name": "Nguyen An Hung", | ||
"email": "[email protected]", | ||
"homepage": "https://nguyenanhung.com", | ||
"role": "Developer" | ||
} | ||
], | ||
"require": { | ||
"php": "^7.1 || ^8.0", | ||
"ext-json": "*", | ||
"ext-pdo": "*", | ||
"ext-mysqli": "*", | ||
"nguyenanhung/my-debug": "^3.0", | ||
"nguyenanhung/pdo": "^3.0", | ||
"nguyenanhung/mysqli": "^3.0", | ||
"nguyenanhung/database-helper": "^2.0", | ||
"illuminate/events": "^10.0 || ^9.0 || ^8.61 || ^7.30 || ^6.20", | ||
"illuminate/database": "^10.0 || ^9.0 || ^8.61 || ^7.30 || ^6.20" | ||
}, | ||
"require-dev": { | ||
"kint-php/kint": "^3.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"nguyenanhung\\MyDatabase\\": "src/" | ||
} | ||
}, | ||
"suggest": { | ||
"ext-json": "Needed to support JSON", | ||
"ext-pdo": "Needed to support PDO", | ||
"ext-mysqli": "Needed to support MySQLi", | ||
"sentry/sdk": "Need support for Logging with Sentry" | ||
} | ||
"name": "nguyenanhung/database", | ||
"type": "library", | ||
"description": "Database Wrapper - Base Model", | ||
"keywords": [ | ||
"database", | ||
"sql", | ||
"mysql", | ||
"mysqli", | ||
"pdo", | ||
"active record", | ||
"query buillder" | ||
], | ||
"homepage": "https://github.com/nguyenanhung/database", | ||
"license": "GPL-3.0", | ||
"authors": [ | ||
{ | ||
"name": "Nguyen An Hung", | ||
"email": "[email protected]", | ||
"homepage": "https://nguyenanhung.com", | ||
"role": "Developer" | ||
} | ||
], | ||
"require": { | ||
"php": "^7.1 || ^8.0", | ||
"ext-json": "*", | ||
"ext-pdo": "*", | ||
"ext-mysqli": "*", | ||
"nguyenanhung/my-debug": "^3.0", | ||
"nguyenanhung/pdo": "^3.0", | ||
"nguyenanhung/mysqli": "^3.0", | ||
"nguyenanhung/database-helper": "^2.0", | ||
"illuminate/events": "^11.0 || ^10.0 || ^9.0 || ^8.61 || ^7.30 || ^6.20", | ||
"illuminate/database": "^11.0 || ^10.0 || ^9.0 || ^8.61 || ^7.30 || ^6.20" | ||
}, | ||
"require-dev": { | ||
"kint-php/kint": ">=3.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"nguyenanhung\\MyDatabase\\": "src/" | ||
} | ||
}, | ||
"suggest": { | ||
"ext-json": "Needed to support JSON", | ||
"ext-pdo": "Needed to support PDO", | ||
"ext-mysqli": "Needed to support MySQLi", | ||
"sentry/sdk": "Need support for Logging with Sentry" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,46 +18,46 @@ | |
*/ | ||
interface Environment | ||
{ | ||
public const PROJECT_NAME = 'My Database Packages by HungNG'; | ||
public const VERSION = '3.1.5'; | ||
public const LAST_MODIFIED = '2023-09-26'; | ||
public const AUTHOR_NAME = 'Hung Nguyen'; | ||
public const AUTHOR_EMAIL = '[email protected]'; | ||
public const AUTHOR_URL = 'https://nguyenanhung.com'; | ||
public const GITHUB_URL = 'https://github.com/nguyenanhung/database'; | ||
public const PACKAGES_URL = 'https://packagist.org/packages/nguyenanhung/database'; | ||
public const TIMEZONE = 'Asia/Ho_Chi_Minh'; | ||
public const OPERATOR_EQUAL_TO = '='; | ||
public const OP_EQ = '='; | ||
public const OPERATOR_NOT_EQUAL_TO = '!='; | ||
public const OP_NE = '!='; | ||
public const OPERATOR_LESS_THAN = '<'; | ||
public const OP_LT = '<'; | ||
public const OPERATOR_LESS_THAN_OR_EQUAL_TO = '<='; | ||
public const OP_LTE = '<='; | ||
public const OPERATOR_GREATER_THAN = '>'; | ||
public const OP_GT = '>'; | ||
public const OPERATOR_GREATER_THAN_OR_EQUAL_TO = '>='; | ||
public const OP_GTE = '>='; | ||
public const OPERATOR_IS_SPACESHIP = '<=>'; | ||
public const OPERATOR_IS_IN = 'IN'; | ||
public const OPERATOR_IS_LIKE = 'LIKE'; | ||
public const OPERATOR_IS_LIKE_BINARY = 'LIKE BINARY'; | ||
public const OPERATOR_IS_ILIKE = 'ilike'; | ||
public const OPERATOR_IS_NOT_LIKE = 'NOT LIKE'; | ||
public const OPERATOR_IS_NULL = 'IS NULL'; | ||
public const OPERATOR_IS_NOT_NULL = 'IS NOT NULL'; | ||
public const ORDER_ASCENDING = 'ASC'; | ||
public const ORDER_DESCENDING = 'DESC'; | ||
public const TABLE_OPERATOR_IS_ACTIVE = 1; | ||
public const PROJECT_NAME = 'My Database Packages by HungNG'; | ||
public const VERSION = '3.1.6'; | ||
public const LAST_MODIFIED = '2024-03-31'; | ||
public const AUTHOR_NAME = 'Hung Nguyen'; | ||
public const AUTHOR_EMAIL = '[email protected]'; | ||
public const AUTHOR_URL = 'https://nguyenanhung.com'; | ||
public const GITHUB_URL = 'https://github.com/nguyenanhung/database'; | ||
public const PACKAGES_URL = 'https://packagist.org/packages/nguyenanhung/database'; | ||
public const TIMEZONE = 'Asia/Ho_Chi_Minh'; | ||
public const OPERATOR_EQUAL_TO = '='; | ||
public const OP_EQ = '='; | ||
public const OPERATOR_NOT_EQUAL_TO = '!='; | ||
public const OP_NE = '!='; | ||
public const OPERATOR_LESS_THAN = '<'; | ||
public const OP_LT = '<'; | ||
public const OPERATOR_LESS_THAN_OR_EQUAL_TO = '<='; | ||
public const OP_LTE = '<='; | ||
public const OPERATOR_GREATER_THAN = '>'; | ||
public const OP_GT = '>'; | ||
public const OPERATOR_GREATER_THAN_OR_EQUAL_TO = '>='; | ||
public const OP_GTE = '>='; | ||
public const OPERATOR_IS_SPACESHIP = '<=>'; | ||
public const OPERATOR_IS_IN = 'IN'; | ||
public const OPERATOR_IS_LIKE = 'LIKE'; | ||
public const OPERATOR_IS_LIKE_BINARY = 'LIKE BINARY'; | ||
public const OPERATOR_IS_ILIKE = 'ilike'; | ||
public const OPERATOR_IS_NOT_LIKE = 'NOT LIKE'; | ||
public const OPERATOR_IS_NULL = 'IS NULL'; | ||
public const OPERATOR_IS_NOT_NULL = 'IS NOT NULL'; | ||
public const ORDER_ASCENDING = 'ASC'; | ||
public const ORDER_DESCENDING = 'DESC'; | ||
public const TABLE_OPERATOR_IS_ACTIVE = 1; | ||
|
||
/** | ||
* Hàm lấy thông tin phiên bản Package | ||
* | ||
* @return string Current Project Version, VD: 0.1.0 | ||
* | ||
* @author : 713uk13m <[email protected]> | ||
* @time : 10/13/18 15:12 | ||
*/ | ||
public function getVersion(): string; | ||
/** | ||
* Hàm lấy thông tin phiên bản Package | ||
* | ||
* @return string Current Project Version, VD: 0.1.0 | ||
* | ||
* @author : 713uk13m <[email protected]> | ||
* @time : 10/13/18 15:12 | ||
*/ | ||
public function getVersion(): string; | ||
} |
Oops, something went wrong.