title: Simple foreach key value laravel
body: <p>this is my array : </p>
  
  <pre><code>array(5) {
    ["item 1"]=&gt;
    int(1)
    ["item 2"]=&gt;
    int(1)
    ["item 3"]=&gt;
    int(2)
    ["item 14"]=&gt;
    int(2)
    ["item 5"]=&gt;
    int(3)
  }
  </code></pre>
  
  <p>And this is my laravel view :</p>
  
  <pre><code>@foreach($cardActivite as $key =&gt; $value)
        &lt;p&gt;{{$key}} &lt;b&gt;{{$value}}&lt;/b&gt;&lt;/p&gt;              
  @endforeach
  </code></pre>
  
  <p>But my loop return '1', '2', ... as key and not 'item 1', ... and i want 'item ...')
  But $value return the good element</p>
  
  <p>Thanks</p>