Skip to content

Commit

Permalink
Release version 3.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
hungnguyenhp committed Mar 31, 2024
1 parent 864f79e commit d0de9b3
Show file tree
Hide file tree
Showing 6 changed files with 2,515 additions and 2,514 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -22,4 +23,4 @@ If any question & request, please contact following information
|-------------|----------------------|------------------|---------------|
| Hung Nguyen | dev@nguyenanhung.com | nguyenanhung5891 | @nguyenanhung |

From Vietnam with Love <3
From Vietnam with Love <3
96 changes: 48 additions & 48 deletions composer.json
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": "dev@nguyenanhung.com",
"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": "dev@nguyenanhung.com",
"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"
}
}
82 changes: 41 additions & 41 deletions src/Environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = 'dev@nguyenanhung.com';
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 = 'dev@nguyenanhung.com';
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 <dev@nguyenanhung.com>
* @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 <dev@nguyenanhung.com>
* @time : 10/13/18 15:12
*/
public function getVersion(): string;
}
Loading

0 comments on commit d0de9b3

Please sign in to comment.