Search

Showing 7 of 1,216 result(s)

/blog/2017/11/30/laravel-string-pattern-matching-laravel-55-string-helper-method-is#content-example-use

The following examples will return true : The following example return false , and is just to demonstrate that the is method will not match traditional regular expressions: However, any of these would return true:

/blog/2016/11/21/laravel-url-helper-function-route

…per function. Assuming the following named route: We can generate a simple URL to it using the following example: The resulting URL would be look like this (the actual URL returned will change depending on the route name and the domain name):...

/blog/2016/11/21/laravel-url-helper-function-url

…: If arguments are supplied to the url helper function, it will internally make a call to the UrlGenerator instance method to , passing all the arguments along. The following lines are equivalent: both calls would result in the following URL:...

/blog/2018/04/14/laravel-5-generating-https-urls-with-secure_url

…of the secure_url function is:The following example demonstrates the usage of the secure_url helper function: The resulting URL would look similar to the following output. The exact URL will change depending on the $path and the domain name....

/blog/2018/04/14/laravel-5-generating-urls-to-named-routes-with-route

…e following named route: We can generate a simple URL to it using the following example: $url = route('profile'); The resulting URL would be look like this (the actual URL returned will change depending on the route name and the domain name):...

/blog/2014/07/28/laravel-paginator-pretty-urls#content-the-controller-function

…d be the current page's results, $totalUsers would be the total number of records, and $perPage would be how many records should be shown on each page. Phillip Brown has an excellent article on Culttt...