cart laravel
snippet in php

cart laravel

user8590

For the alternative https://github.com/bumbummen99/LaravelShoppingcart 
which is the forked project of https://github.com/Crinsane/LaravelShoppingcart 
and also support the latest Laravel versions.

There is a method called `Cart::totalFloat()` which will return you float value 
for the cart total.