Example Use | Laravel 5 String Helpers: Pluralization and Strings
The method takes the $value that should be pluralized, and the $count of the items. If the $count is equal to 1 , the original $value is returned. 1 use Illuminate \ Support \ Str ; 2 3 // cow 4 echo Str :: plural ( ' cow ' , 1 ) ; 5 6 // cows 7...