Skip to content

pro100rost/pdo-connect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDO Connect

Easy connect to PDO object.

REQUIREMENTS

  • PHP version > 7.0
  • Nginx, Apache

INSTALLATION

The preferred way to install this extension is through composer. Check the composer.json for this extension's requirements and dependencies.

Install library:

Enter this command into Terminal:

composer require pro100rost/pdo-connect
Create configuration file:

Create file config.ini in the root directory of your project.

File input (for example):

[database]
dbms = pgsql
db_host = localhost
db_username = test
db_password = 12345678
db_name = test_db
Using:

Create object for class QueryCommand and use one of method.

About

Easy connect to PDO object in this library and make some sql-queries.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages