Search

Showing 7 of 1,216 result(s)

/blog/2018/04/14/laravel-5-accessing-and-sending-http-responses-with-response#content-supplying-additional-headers

In order to supply extra headers we must also provide an argument for $status and then supply an argument for $headers :

/blog/2018/04/14/laravel-5-generating-public-urls-to-mix-compiled-assets-with-mix#content-example-use

If we had had the following Mix configuration file: We could create the following Blade template: In resources/views/test.blade.php : The final results would be similar to the following HTML:

/blog/2018/04/14/laravel-5-generating-secure-urls-to-assets-with-secure_asset#content-notes-on-asset-and-secureasset

If the supplied $path to asset and secure_asset contains a protocol, that protocol is used regardless of what function or flags are set. For example, if a URI with the http:// protocol is supplied to the secure_asset function, the resulting URI...

Some absolutely amazing
people

The following amazing people help support this site and my open source projects ♥️
If you're interesting in supporting my work and want to show up on this list, check out my GitHub Sponsors Profile.