shivamdawer / phd

PHP Database library.

Home Page:https://github.com/marella/phd/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PhD

Coverage Status Build Status StyleCI Latest Stable Version Total Downloads Latest Unstable Version License

PHP Database library. Copied from Laravel framework.

Quick Usage

composer require marella/phd
<?php

require 'vendor/autoload.php';
$config = require 'config/database.php'; // load config array from a file

use PhD\DB;
DB::init($config);

$users = DB::select('select * from users where active = ?', [1]);

Documentation

See the wiki for more details and documentation.

Contributing

See contributing guidelines before creating issues or pull requests.

License

Open-source software released under the MIT license.

About

PHP Database library.

https://github.com/marella/phd/wiki

License:MIT License


Languages

Language:PHP 99.9%Language:Shell 0.1%