Search

Showing 7 of 1,975 result(s)

/blog/2016/11/20/laravel-application-helper-function-view

…is section will make use of the default welcome.blade.php example view file that ships with new Laravel installations. If no arguments are supplied to the view helper function, the Factory implementation will be returned and all available Factory...

/blog/2016/11/29/laravel-collection-public-api-merge

merge($items) The merge methods merges the given $items with the items in the collection. The merge method will replace any item in the original collection's items if a string key with the same value exists in the supplied $items . If the $items...

/blog/2016/11/30/laravel-implementing-a-crypt_ext_des-hasher#content-makevalue-array-options--

The make method is responsible for doing the actual hashing. It also accepts an $options array. We will allow a salt to be supplied to the options array. If no salt is supplied, we will generate one for the user. We will also accept a rounds...

/blog/2018/04/15/laravel-5-execute-a-callback-on-a-given-value-while-chaining-the-original-value-with-tap#content-using-tap-to-proxy-method-calls

If the $callback parameter is omitted when invoking the tap helper function, it will allow you to proxy method calls to the provided value. This is different from the with helper function; instead of returning the return value of the method call,...

/blog/2023/05/04/best-practices-for-securing-your-development-projects#content-implement-the-polp-principle-of-least-privilege

The PoLP is based on the idea of giving users, processes, or devices only the minimum level of access to resources that they need to perform authorized activities. It'll help you significantly reduce the risk of damage caused by unauthorized...

/meerkat/reply-forms#content-creating-the-reply-to-link

…g that matters is that you include the following markup on the "Reply To" link (Note: only the meerkat-* data attributes are required, apart from that, go wild!): <a href="#" data-meerkat-form="reply" data-meerkat-reply-to="{{ id }}">Reply</a>...

/blog/2013/11/02/laravel-4-getting-user-input#content-specifying-a-default-value

When we use the get() method, we pass the name of the field we want the value of as the first argument. We can optionally use a second argument to specify a default value if one has not been set: What the above code will do is first look to see if...