Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tina4stack/tina4php-pdo
PDO Database drivers for Tina4
https://github.com/tina4stack/tina4php-pdo
Last synced: 18 days ago
JSON representation
PDO Database drivers for Tina4
- Host: GitHub
- URL: https://github.com/tina4stack/tina4php-pdo
- Owner: tina4stack
- Created: 2023-01-24T08:32:42.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-25T16:17:17.000Z (almost 2 years ago)
- Last Synced: 2024-11-08T06:49:30.560Z (about 2 months ago)
- Language: PHP
- Size: 43 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#PDO
##Installing```
composer install tina4stack/tina4php-pdo
```for development version as we test
```
composer install tina4stack/tina4php-pdo:dev-main
```Example of using the PDO driver
```
global $DBA;
$DBA = new \Tina4\DataPDO("sqlite:test.db");global $DBA;
$DBA = \Tina4\DataPDO("dblib:host=".$_ENV["DB_HOST"].":".$_ENV["DB_PORT"].";dbname=".$_ENV["DB_NAME"],$_ENV["DB_USER"],$_ENV["DB_PASSWORD"]);```