Laravel Framework | PHP & MySQL | Tutorials

David Carr

Add items into a request object

To add additional items into the request use ->merge and pass in an array of attributes.

request()->merge($array);

The request object will now contain the new array items as part of its body.

Domains are often purchased from multiple providers, keeping track of where a domain is and its DNS settings can be tricky. Domain Mapper solves this by listing all your domains in one place. View your DNS settings and receive reminders to renew your domains. Try it today.

Support my work by donating with PayPal.

Subscribe to my newsletter

Subscribe and get my books and product announcements.

© 2009 - 2021 DC Blog. All code MIT license. All rights reserved.