Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/helios-ag/fmlessqlbundle
Symfony bundle for LessQL ORM mapper
https://github.com/helios-ag/fmlessqlbundle
composer lessql orm symfony-bundle
Last synced: 2 days ago
JSON representation
Symfony bundle for LessQL ORM mapper
- Host: GitHub
- URL: https://github.com/helios-ag/fmlessqlbundle
- Owner: helios-ag
- License: mit
- Created: 2015-05-31T09:47:19.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-10-28T13:58:02.000Z (about 5 years ago)
- Last Synced: 2024-10-11T13:12:29.118Z (26 days ago)
- Topics: composer, lessql, orm, symfony-bundle
- Language: PHP
- Homepage:
- Size: 11.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
FMLessQLBundle
==============[LessQL](https://github.com/morris/lessql) integration in Symfony2
LessQL is a lightweight and powerful alternative to Object-Relational Mapping for PHP.
## Installation
### Step 1: Installation
Using Composer, just add the following configuration to your `composer.json`:
Or you can use composer to install this bundle:
Add FMBbcodeBundle in your composer.json:```sh
composer require helios-ag/fm-lessql-bundle
```Now tell composer to download the bundle by running the command:
```sh
composer update helios-ag/fm-lessql-bundle
```### Step 2: Enable the bundle
Finally, enable the bundle in the kernel:
``` php
get('fm_lessql.manager')->getDB('default');
$posts = array();
$result = $db->table_name();
$result = $db->table( 'post' );
$row = $result->fetch(); // fetch next row in result
$rows = $result->fetchAll(); // fetch all rows
}
}
```
More information can be found at http://lessql.net/