Download the PHP package archangeldesign/archangeldb2 without Composer
On this page you can find all versions of the php package archangeldesign/archangeldb2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download archangeldesign/archangeldb2
More information about archangeldesign/archangeldb2
Files in archangeldesign/archangeldb2
Package archangeldb2
Short Description PHP database engine wrapper
License BSD-3-Clause
Homepage http://archangel-design.com
Informations about the package archangeldb2
ArchangelDB module for PHP 5.5 application
copyright (c) https://archangeldesign.github.io
Simple but powerful PHP Database Engine
Another version of Archangel DB introduces much more than the previous one. This time not only allowing transaction and prepared statements but also compatible with Postgres, Oracle, Sqlite, SQLServer and IBM DB2. Built-in cache system and error log, easy error handling and deployment.
Designed for Zend Framework 2 (using Zend\DB module) but can be implemented in every PHP 5.5 project.
Advantages
- lightweight
- very simple to use, 2 lines of code to initialize
- flexible configuration
- ability to add common table prefix
- easy access to profiler (execution time, full query, query count...)
- no external dependencies
- runs queries stored in filesystem (useful for reports)
- cache system
- ability to run queries stored in files
- XML deployment files
- database structure history
- automatic database structure updater
- utilizing Zend\Db : stable and efficient module
- fully compatible with ArchangelDB 1.2
So far tested on Mysql and PostgreSQL only.
Installation via composer
Install composer (linux):
Create "composer.json" file in your project root. Within a "require" section mention ADB2 as follows
run composer update/install
Include "autoload.php" from vendor directory and you're done. Please note that if you are using composer you do not need to use "autoload_register.php" file and in further version it will be removed. It is recommended that you always use composer to manage your dependencies.
Examples of how easy it is to start using Archangel DB 2
============================================================================
============================================================================
==============================================================================