Search

Showing 7 of 1,216 result(s)

/blog/2016/12/07/command-interoperability-and-laravel-artisan-applications#content-executing-commands-from-other-artisan-commands

Laravel's Illuminate\Console\Command base class provides useful methods for interoping with other Artisan commands: the call($command, array $arguments = []) and callSilent($command, array $arguments = []) methods. Both methods accept the name of...

/blade-parser/v1/formatting-configuration#content-configuring-laravel-pint

The Blade formatter is capable of using Laravel Pint to format PHP code inside your Blade directives, as well as in raw PHP blocks. You will need to have Laravel Pint available globally, or available within your project's vendor folder. In...

/blog/2017/11/30/checking-if-a-string-ends-with-a-particular-value-in-laravel-laravel-55-string-helper-method-endswith

The endsWith is used to check if a given $haystack ends with any of the supplied $needles . The $haystack is any value that can be cast into a string, and $needles is any value that can be cast into an array. If the $haystack ends with any of the...

/blog/2017/11/30/checking-if-a-string-starts-with-a-particular-value-in-laravel-laravel-55-string-helper-method-startswith#content-example-use

The starts_with function is a shortcut to calling Str::startsWith . This function is declared in the global namespace.