Showing 10 of 2,133 results.

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...

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...

Lambdas And Closures

When building our applications in Laravel, we often make use of the routing system. The most basic example of this is by using the Route facade, and then appending a HTTP verb, the URI and some weird function looking thing: 1 <?php 2 3 Route ::...

setCompileCoreComponents | Blade Compiler

Sets whether to compile core Laravel component tags. When set to false, the internal component tag compiler will not compile Laravel component tags (<x-, <x:, etc.). Argument Description $compileCoreComponents Whether to compile core Laravel...

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...

RecentlyPublishedTags | The Statamic Add-on Roundup

The RecentlyPublishedTags add-on is just another Collection filter. Let's consider a blog post that has a tag "Laravel" that was published in the year 2014. If this tag is executed within the context of that blog post, it would automatically find...

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...