<commit_before># An extensible library to manage menus

[![Latest Stable Version](https://poser.pugx.org/devitek/devitek/menu/v/stable)](https://packagist.org/packages/devitek/devitek/menu)
[![Total Downloads](https://poser.pugx.org/devitek/devitek/menu/downloads)](https://packagist.org/packages/devitek/devitek/menu)
[![Latest Unstable Version](https://poser.pugx.org/devitek/devitek/menu/v/unstable)](https://packagist.org/packages/devitek/devitek/menu)
[![License](https://poser.pugx.org/devitek/devitek/menu/license)](https://packagist.org/packages/devitek/devitek/menu)


## Installing

Add ```"devitek/menu": "^1.0.0"``` to your **composer.json** by running :

```
composer require devitek/menu
```

And select version : ```0.*```

## How to use

You can use it like this :

```php
<?php

$html = (new Devitek\Menu\Renderer\TwitterBootstrap\Navbar())
    ->translateWith(new Devitek\Menu\Translator\LaravelTranslator())
    ->resolveUrlWith(new Devitek\Menu\Resolver\LaravelResolver())
    ->isFluid()
    ->handleResponsive()
    ->isFixedTop()
    ->withBrand('My super project', '/')
    ->onTheLeft((new Menu())->with([
        (new IconLink('pages.home.link'))->withDestination('home')->withIcon('glyphicon glyphicon-home'),<commit_msg>Fix badges<commit_after># An extensible library to manage menus

[![Latest Stable Version](https://poser.pugx.org/devitek/menu/v/stable)](https://packagist.org/packages/devitek/menu)
[![Total Downloads](https://poser.pugx.org/devitek/menu/downloads)](https://packagist.org/packages/devitek/menu)
[![Latest Unstable Version](https://poser.pugx.org/devitek/menu/v/unstable)](https://packagist.org/packages/devitek/menu)
[![License](https://poser.pugx.org/devitek/menu/license)](https://packagist.org/packages/devitek/menu)


## Installing

Add ```"devitek/menu": "^1.0.0"``` to your **composer.json** by running :

```
composer require devitek/menu
```

And select version : ```0.*```

## How to use

You can use it like this :

```php
<?php

$html = (new Devitek\Menu\Renderer\TwitterBootstrap\Navbar())
    ->translateWith(new Devitek\Menu\Translator\LaravelTranslator())
    ->resolveUrlWith(new Devitek\Menu\Resolver\LaravelResolver())
    ->isFluid()
    ->handleResponsive()
    ->isFixedTop()
    ->withBrand('My super project', '/')
    ->onTheLeft((new Menu())->with([
        (new IconLink('pages.home.link'))->withDestination('home')->withIcon('glyphicon glyphicon-home'),
{'fraction_non_alphanumeric': 0.19431864965006176, 'fraction_numerical': 0.0032935364347468094, 'mean_word_length': 4.955882352941177, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 23, 'https://': 16, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1387919', 'n_tokens_mistral': 891, 'n_tokens_neox': 860, 'n_words': 122}