daedalus-web / database
Database connection module for the Daedalus web framework
Requires
- php: ^7.0
- daedalus-web/dotenv: ^2.0
Requires (Dev)
- phpunit/phpunit: ^6.0
This package is not auto-updated.
Last update: 2021-10-04 19:29:15 UTC
README
Database module for the Daedalus web application framework.
Installation
This is a database library, and should probably not be installed directly. To install the Daedalus framework into a new project:
composer create-project daedalus-web/daedalus your-project-name 0.*
If you know what you're doing and want to use this database library directly, you can add it to your composer.json file:
{ "require": { "daedalus-web/database": "^2.0" } }
Usage
Usage of this module is beyond the scope of this README. Please review the Database.php
wrapper class for in-line documentation on the database access calls:
create
read
update
delete
arbitrary
The Database.php
wrapper class wraps a provider class, which provides all of the Database connectivity logic. This module uses MySQL.php
as the default provider.
About
Requirements
Daedalus Database is fully tested to work with:
- PHP 7.0
- PHP 7.1
Strictly speaking, this module can be modified to support PHP 5.5+, however we use strict variable typing that is not available in PHP versions before 7.0. Because PHP 5.6 is no longer receiving active support (and will only be receiving security updates for another year), we strongly recommend starting any new project with PHP 7 or later.
Submitting bugs and feature requests
Bugs and feature request are tracked on GitHub
Author
Josh Grancell - josh@joshgrancell.com - https://github.com/jgrancell
License
Daedalus Database is licensed under the MIT License - see the LICENSE
file for details