Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/975l/toolbarbundle

Bundle to add a common toolbar to products developed by 975L.com
https://github.com/975l/toolbarbundle

symfony symfony-bundle toolbar

Last synced: about 1 month ago
JSON representation

Bundle to add a common toolbar to products developed by 975L.com

Awesome Lists containing this project

README

        

# ToolbarBundle

ToolbarBundle does the following:

- Displays a toolbar,
- Includes generic tools,
- Integrates with your web design.

This Bundle relies on the use of [Bootstrap](http://getbootstrap.com/) and [Fontawesome](https://fontawesome.com).

[ToolbarBundle dedicated web page](https://975l.com/en/pages/toolbar-bundle).

[ToolbarBundle API documentation](https://975l.com/apidoc/c975L/ToolbarBundle.html).

## Bundle installation

### Step 1: Download the Bundle

Use [Composer](https://getcomposer.org) to install the library

```bash
composer require c975l/toolbar-bundle
```

### Step 2: Enable the Bundle

Then, enable the bundles by adding them to the list of registered bundles in the `app/AppKernel.php` file of your project:

```php
renderView('LOCATION_OF_YOUR_TEMPLATE_DEFINED_ABOVE', array(
'type' => 'YOUR_TYPE',
'object' => YOUR_OBJECT_IF_NEEDED,
));
$toolbar = $this->renderView('@c975LToolbar/toolbar.html.twig', array(
'tools' => $tools,
'size' => 'YOUR_SIZE',
'alignment' => 'YOUR_ALIGNMENT',
));
```

If this project **help you to reduce time to develop**, you can sponsor me via the "Sponsor" button at the top :)