Download the PHP package elzekool/fluent_dbal without Composer
On this page you can find all versions of the php package elzekool/fluent_dbal. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package fluent_dbal
FluentDbal
FluentDbal is an easy to use and framework independant fluent database abstraction layer on top of PDO. It helps you to structure database queries easly without creating overhead.
Key features
- Allows reusing prepared statements
- Lightweight
- Promotes use of prepared statements, preventing SQL injection hacks
Starting with FluentDbal
- Make sure PHP 5.3.* is installed
- Install FluentDbal using Composer or manually
- Create a PDO instance
- Create instance of FluentDbal
- Use FluentDbal to create queries (sharing PDO connection)
Example
Changelog
11-09-2013: Allow usage of named parameters while building query For the functions custom, set, where it is now posible to directly add named parameters, to use this add just one parameter of the type array, with the key as parameter name. If you need to set multiple parameters add this in the same array. It is NOT posible to mix numbered and named parameters.
Example:
License
(MIT License)
Copyright (c) 2013 Elze Kool [email protected]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
All versions of fluent_dbal with dependencies
ext-pdo Version *