Showing 10 of 2,145 results.

Laravel 5.5 String Helper Function: after

The after method can be used to return a part of a string after the first occurrence of a $search character. This method can be used to help parse URL query strings, or to quickly find substrings based on a certain character.The signature of the...

Laravel 5.5 String Helper Function: before

The before method can be used to return a part of a string before the first occurrence of a $search character. This method can be used to help parse URL query strings, or to quickly find substrings based on a certain character; it is the logical...

Laravel Miscellaneous Helper Function: data_get

data_get($target, $key, $default = null) The data_get function is identical in behavior to both the array_get and object_get function. The difference is that the data_get function will accept both objects and arrays as its $target .

Date Grouped Comments | Responses and Replies

Meerkat supports grouping your comments by date out of the box. To utilize this feature, you just need to add the group_by_date parameter with the date format you'd like to use: 1 {{ meerkat : responses group_by_date = " Y m, d " }} 2 3 {{...

getLoader() | The Laravel Translator

The getLoader method is used to return the instance of the Illuminate\Translation\LoaderInterface implementation the translator is currently using. By default, this will be an instance of Illuminate\Translation\FileLoader , which is registered...

4. Conveying Verbatim Copies. | License

You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License...

Laravel 5: Getting the Current Date and Time With now

The now helper function will return a new Carbon instance initialized to the current date and time. The now function accepts an optional timezone parameter to adjust the timezone of the returned date.The signature of the now function is: 1...