Search

Showing 7 of 1,216 result(s)

/blog/2014/12/13/semantic-ui-paginator-for-laravel-4

…plans for more stuff on Semantic UI, however). You can learn more about it at the website http://semantic-ui.com/ (opens in new window/tab). I will say however, that it is pretty cool. In the past I've written a number of posts about pagination...

/blog/2016/11/19/laravel-array-helper-function-array_pluck#content-returning-an-array-with-a-keyvalue-pair

We can also instruct the pluck method to return an array that contains both a key and a value. We do this by passing in a third argument to the pluck function: the $key . Let's reuse the people array: We can get an array with everyone's firstName...

/blog/2016/11/19/laravel-array-helper-function-array_pluck#content-working-with-nested-arrays-and-objects

The $key supports dot notation, which implies that we can search for keys at arbitrary depths when constructing the final array. Let's add a new Job class, which will just be a very simple representation of a job: Now we will modify our Person...

/blog/2016/11/19/laravel-array-helper-function-array_pluck#content-arraypluckarray-value-key--null

The array_pluck function is a shortcut to calling Arr::pluck . This function is declared in the global namespace.

/blog/2016/11/20/laravel-application-helper-function-back#content-returning-a-redirect-response-using-the-response-helper-function

Like the Redirect facade, the redirect helper function will resolve an instance of Illuminate\Routing\Redirector from the service container and then all the back method that is defined there: