Search

Showing 7 of 1,216 result(s)

/blog/2018/04/14/laravel-5-generating-paths-relative-to-the-application-installation-directory-with-base_path

The base_path function can be used to retrieve the path to the directory the Laravel application is installed in. It can also be used to construct paths relative to the base path by supplying a $path .The signature of the base_path function is:The...

/blog/2018/02/19/laravel-5-string-pluralization-syntax#content-examples-of-specific-numbers

…three books. It would seem that passing a $number of 5 would result in the message The number of books you have is uncountable! to be returned. Instead, we get the same message as if we had passed in a count of 1 , 2 , or 3 . In previous versions...

/blog/2018/04/21/laravel-5-macros

Macros are a way to reduce the lines of code a developer has to write, and can be traditionally thought of as "shortcuts". Laravel generally uses macros to add, or inject, functionality into various classes at runtime. Developers familiar with C#...

/blog/2016/11/20/laravel-helper-function-cookie

…e. The names of cookies must be unique. $value : The value to be stored in the cookie. Cookie values can be a numeric value or a string and not more than 4KB in length. $minutes : The number of minutes until the cookie expires. A "forever" cookie...

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

…Ls to a given $path . You can also supply additional data that will be added as a query string by supplying an argument for the $parameters parameter. The secure_url helper function internally returns the value of a call to the url (discussed in...

/blog/2018/04/14/laravel-5-managing-http-cookies-with-cookie

…e. The names of cookies must be unique. $value : The value to be stored in the cookie. Cookie values can be a numeric value or a string and not more than 4KB in length. $minutes : The number of minutes until the cookie expires. A "forever" cookie...

/blog/2016/12/03/custom-command-styles-with-laravel-artisan

Since Laravel's console application and commands are built on top of the Symfony console component, we can use Symfony's console style system within our Laravel commands. Styles are used to control the background and foreground colors of text that...

Some absolutely amazing
people

The following amazing people help support this site and my open source projects ♥️
If you're interesting in supporting my work and want to show up on this list, check out my GitHub Sponsors Profile.