Search

Showing 7 of 1,975 result(s)

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

The parseCallback helper method is a fairly simple method, even though it serves a somewhat specialized purpose. The following syntax for class names and method names can be found utilized throughout the Laravel framework: ClassName@someMethodName...

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

bcrypt($value, $options = []) The bcrypt function will return a hashed representation of the given $value . The bcrypt function also accepts an array of $options which can be used to affect how the hash is computed. Each invocation of the bcrypt...

/blog/2016/11/30/laravel-collection-public-api-whereloose

whereLoose($key, $value) The whereLoose method operates similar to the where method. It filters the collection item's by checking that the given $key has some value equal to the provided $value . The whereLoose method does not check to make sure...

/blog/2016/12/07/laravel-artisan-tinker-the-ls-command

The ls command is a useful command that can be used to learn more any class or instantiated object. It is capable of listing any defined variables, constants, functions, classes, interfaces, traits, properties and methods that might be defined in...

/blog/2017/12/06/laravel-5-string-helpers-parse-callback

parseCallback is a fairly simple method, even though it serves a somewhat specialized purpose. The following syntax for class names and method names can be found utilized throughout the Laravel framework: ClassName@someMethodName The point is that...

/blog/2018/02/19/laravel-5-string-pluralization-syntax#content-creating-negative-ranges

We could also create a range for all numbers less than zero: The following table lists some sample input and output: Input Number Result -1 Less than zero 0 No items 2 Between one and three 3 Between one and three 4 Between four and six 6 Between...

/blog/2018/04/11/laravel-5-retrieving-nested-array-values-with-pluck#content-example-use

Let's use the following class to describe a person: We can create an array of people like so: At this point all we have is a simple Person class definition an array of person objects, called $people . However, it would be really useful if we had...