Showing 7 of 1,216 result(s)

/blog/2018/04/21/laravel-5-facades#content-using-facades

Laravel's facades are used just like any other static class, with the exception that facades are redirecting method calls to an actual class instance. Facades are typically imported at the top of the source file, along with any other classes that...

/blog/2014/03/25/laravel-4-default-events

Laravel 4 provides a few events that are fired throughout your applications life cycle. This should just serve as a quick reference if you need to find where an event is called or what events are available. Event File auth.attempt...

/blog/2014/04/04/laravel-4-be-careful-with-your-after-filters

Laravel 4 provides a convenient after filter. This filter will run after your routes and controllers have run. There are many awesome things you can do in the filter, such as logging, or checking various things. A basic usage of this filter might...

/blog/2016/11/16/laravel-helper-function-ascii

…oding into its ASCII equivalent. This function is useful when communicating with other software platforms that require ASCII, or when complying with protocols (such as HTTP) about how headers, or some values, need to be formatted. Example use: As...

/blog/2016/11/16/laravel-string-helper-function-str_plural

…ot attempt some very specific strings. The change in a word, such as to show tense, or the number of items, is called an inflection . The signature for the plural helper function is: plural($value, $count = 2) doctrine/inflector Previous versions...

/blog/2016/11/20/laravel-application-helper-abort_if

abort_if($boolean, $code, $message = '', array $headers) The abort_if helper function performs the same basic function as the abort helper function (discussed in the Laravel Application Helper: abort article). The only difference is that the...

/blog/2016/11/21/laravel-miscellaneous-helper-function-tap

…od chaining. Another way to think of this functions behavior is that it allows you to specify and fix the return value of a series of method calls, regardless of what methods are called within the internal block. The tap helper function was added...

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.