Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/webeweb/jquery-querybuilder-bundle
Integrate jQuery QueryBuilder with Symfony 2 and more
https://github.com/webeweb/jquery-querybuilder-bundle
bundle jquery querybuilder symfony webeweb
Last synced: about 2 months ago
JSON representation
Integrate jQuery QueryBuilder with Symfony 2 and more
- Host: GitHub
- URL: https://github.com/webeweb/jquery-querybuilder-bundle
- Owner: webeweb
- License: mit
- Created: 2017-10-17T16:49:10.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-01-15T09:38:55.000Z (12 months ago)
- Last Synced: 2024-01-15T13:03:06.391Z (12 months ago)
- Topics: bundle, jquery, querybuilder, symfony, webeweb
- Language: PHP
- Homepage:
- Size: 1.13 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
jquery-querybuilder-bundle
==========================[![Build Status](https://img.shields.io/github/actions/workflow/status/webeweb/jquery-querybuilder-bundle/build.yml?style=flat-square)](https://github.com/webeweb/jquery-querybuilder-bundle/actions)
[![Coverage Status](https://img.shields.io/coveralls/webeweb/jquery-querybuilder-bundle/master.svg?style=flat-square)](https://coveralls.io/github/webeweb/jquery-querybuilder-bundle?branch=master)
[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/quality/g/webeweb/jquery-querybuilder-bundle/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/webeweb/jquery-querybuilder-bundle/?branch=master)
[![Latest Stable Version](https://img.shields.io/packagist/v/webeweb/jquery-querybuilder-bundle.svg?style=flat-square)](https://packagist.org/packages/webeweb/jquery-querybuilder-bundle)
[![License](https://img.shields.io/packagist/l/webeweb/jquery-querybuilder-bundle.svg?style=flat-square)](https://packagist.org/packages/webeweb/jquery-querybuilder-bundle)
[![composer.lock](https://img.shields.io/badge/.lock-uncommited-important.svg?style=flat-square)](https://packagist.org/packages/webeweb/jquery-querybuilder-bundle)Integrate jQuery QueryBuilder with Symfony 4 and more.
`jquery-querybuilder-bundle` eases the use of jQuery QueryBuilder in your
Symfony application by providing Twig extensions and PHP objects to do the
heavy lifting. The bundle include the excellent JS library
[jQuery QueryBuilder](https://querybuilder.js.org/).Dry out your jQuery QueryBuilder code by writing it all in PHP !
> IMPORTANT NOTICE: This package is still under development. Any changes will be
> done without prior notice to consumers of this package. Of course this code
> will become stable at a certain point, but for now, use at your own risk.Includes:
- [interactjs 1.3.3](https://github.com/taye/interact.js) (jQuery QueryBuilder dependency)
- [jQuery QueryBuilder 2.6.2](https://github.com/mistic100/jQuery-QueryBuilder)If you like this package, pay me a beer (or a coffee)
[![paypal.me](https://img.shields.io/badge/paypal.me-webeweb-0070ba.svg?style=flat-square&logo=paypal)](https://www.paypal.me/webeweb)## Compatibility
[![PHP](https://img.shields.io/packagist/php-v/webeweb/jquery-querybuilder-bundle.svg?style=flat-square)](http://php.net)
[![Symfony](https://img.shields.io/badge/symfony-%5E4.4%7C%5E5.0%7C%5E6.0-brightness.svg?style=flat-square)](https://symfony.com)## Installation
Open a command console, enter your project directory and execute the following
command to download the latest stable version of this package:```bash
$ composer require webeweb/jquery-querybuilder
```This command requires you to have Composer installed globally, as explained in
the [installation chapter](https://getcomposer.org/doc/00-intro.md) of the
Composer documentation.Then, enable the bundle by adding it to the list of registered bundles
in the `app/AppKernel.php` file of your project:```php
public function registerBundles() {
$bundles = [
// ...
new WBW\Bundle\CoreBundle\WBWCoreBundle(),
new WBW\Bundle\JQuery\QueryBuilderBundle\WBWJQueryQueryBuilderBundle(),
];// ...
return $bundles;
}
```Once the bundle is added then do:
```bash
$ php bin/console assets:install
$ php bin/console wbw:core:unzip-assets
```## Usage
Read the [documentation](Resources/doc/index.md).
## Testing
To test the package, is better to clone this repository on your computer.
Open a command console and execute the following commands to download the latest
stable version of this package:```bash
$ git clone https://github.com/webeweb/jquery-querybuilder-bundle.git
$ cd jquery-querybuilder-bundle
$ composer install
```Once all required libraries are installed then do:
```bash
$ vendor/bin/phpunit
```## License
`jquery-querybuilder-bundle` is released under the MIT License. See the bundled
[LICENSE](LICENSE) file for details.## Donate
If you like this work, please consider donating at
[![paypal.me](https://img.shields.io/badge/paypal.me-webeweb-0070ba.svg?style=flat-square&logo=paypal)](https://www.paypal.me/webeweb)