Showing 10 of 1,278 results.

Laravel Artisan Command Input Syntax Reference

The following table serves as a quick reference for the common command signature definitions. The Syntax column demonstrates the syntax required, the Description column provides a description or quick explanation of the syntax and the Required...

Laravel 5.5 String Helper Method: contains

The contains helper method will check if any of the $needles are in the given $haystack . If any of the given $needles are found in the $haystack , the method will return true , otherwise it returns false . $needles can be any value that can be...

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

Laravel Artisan Generator Command: The make:mail Command

The make:mail command is used to generate a new mail class. A name must be supplied to the make:mail command; this value will be the name of the newly generated class. The following would generate a new mail class named UserSubscribedMail mail...

Laravel String Helper Function: title

This method will convert the given $value to look like a traditional print title. This method essentially will transform the entire $value to its lower cased equivalent and then uppercase the first character of each word it finds. This method may...

Filter Search