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
5866 times
Tags: Laravel
Laravel: Rendering view as file donwload
Related posts
PHP/Laravel Library for Tado API

I released on GitHub a PHP library for querying and editing data on the Tado Thermostat System. It is integrated in Laravel 5.x for quick setup in this excellent framework.

Vue component for Typing effect

A package for a vue plugin for rendering text-typing animation

Design patterns in PHP: Replace Constructors with Creation Methods

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

Shibboleth: Using Relational DBMS as authentication backend

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