Tag : Zip


Laravel 5 - multiple files download with response example

If you need to give to download multiple files response from out application. If you require to give download only on file then you can do it easily like this way: <pre class="prettyprint lang-php"> return response()->download(public_path('myimage.jpg')); </pre> But if you need to give multiple images files or docs etc then you can't do it this way: <pre class="prettyprint lang-php"> return response()->download([public_path('myimage.jpg'),public_path('myimage2.jpg')]); </pre> But you must have to create single zip file or something. So first you need to use zipper package, i added zipp.....

By Hardik Savani | May 14, 2016 | | 4727 Viewer | Category : Laravel
READ MORE

Laravel 5 create and download zip file example using chumper/zipper composer package

Sometimes, we need to create file of our project directory and give to download that zip file to users. we are always prefer zip file because it is very safe and secure from virus. If you want to generate zip file and donwload that file in your laravel 5 application then you do it easily using chumper/zipper composer package. In this post i give you example to create zip file and donwload from scratch. So first we have to follow bellow step for install package. First fire following command on your terminal. <strong>Installation Package</strong> <pre>composer require chumper/zipper</pre> After.....

By Hardik Savani | May 10, 2016 | | 24651 Viewer | Category : Laravel
READ MORE

    Simple Add remove input fields dynamically using jquery with Bootstrap

    Simple Add remove input fields dynamically using jquery with Bootstrap

    Open Post

    Laravel 5 - user prevent common passwords using laravel-password package

    Laravel 5 - user prevent common passwords using laravel-password package

    Open Post

    How to install laravel framework on windows xampp server from scratch?

    How to install laravel framework on windows xampp server from scratch?

    Open Post

    How to create authentication(login and registration) in Laravel 5.2?

    How to create authentication(login and registration) in Laravel 5.2?

    Open Post

    Simple PHP Jquery Ajax CRUD(insert update delete) tutorial example with source code

    Simple PHP Jquery Ajax CRUD(insert update delete) tutorial example with source code

    Open Post

    How to make simple dependent dropdown using jquery ajax in Laravel 5?

    How to make simple dependent dropdown using jquery ajax in Laravel 5?

    Open Post