Laravel: Rendering view as file donwload

More than once I needed to render a laravel view as a downlodable file. This task could be easily accomplished

Category: Development
03/04/2018
12465 times
Tags: Laravel
Laravel: Rendering view as file donwload
Related posts
Shibboleth: Using Relational DBMS as authentication backend

Learn how to use a relational DBMS as authentication provider for Shibboleth IDP instead of default LDAP

Design patterns in PHP: Strategy

This tutorial describes a TDD approach to refactor code to Strategy pattern. Starting from working code and some test, refactoring steps are applied to obtain cleaner code

What's behind Laravel Encryption/Decryption

My system is safe, it uses encryption. You heard/said this from time to time. Sure, but why and how is it safe? Do you really know this?

Learning PHP 8.1 Fibers using Tests

PHP 8.1 introduced the new Fiber class (see the proposed RFC here https://wiki.php.net/rfc/fiber), which allows running coroutines inside your script, i.e. two functions executing simultaneously