2017 © Pedro Peláez
 

library laravel-archive

A Laravel archive example.

image

yk/laravel-archive

A Laravel archive example.

  • Tuesday, January 24, 2017
  • by yassine-khachlek
  • Repository
  • 1 Watchers
  • 1 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

laravel-archive

This laravel package simplify the archives creation to make it done in one line of code. Compress any folder recursively in a .tar.gz file., (*1)

Add the use statement in top of your script:, (*2)

use Yk\LaravelArchive\Archive;

To compress any folder just do:, (*3)

Archive::create($filename, $source);

Note

The package will select the compression type based on the destination file extension, and for the moment it support only .tar.gz compression. So the destination filename parameter should include .tar.gz extension., (*4)

You may miss some folders inside the created archive, you should know that empty folders are not included., (*5)

TODO

  1. add support for multiple compression types
  2. include Hidden files

License

GPLv2

Copyright (c) 2016 Yassine Khachlek yassine.khachlek@gmail.com, (*6)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version., (*7)

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details., (*8)

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA., (*9)

The Versions

24/01 2017

dev-master

9999999-dev https://github.com/yassine-khachlek/laravel-archive

A Laravel archive example.

  Sources   Download

GPLv2

The Requires

  • php >=5.6.4

 

by Yassine Khachlek

laravel archive example

24/01 2017

1.0.1

1.0.1.0 https://github.com/yassine-khachlek/laravel-archive

A Laravel archive example.

  Sources   Download

GPLv2

The Requires

  • php >=5.6.4

 

by Yassine Khachlek

laravel archive example

24/01 2017

1.0

1.0.0.0 https://github.com/yassine-khachlek/laravel-archive

A Laravel archive example.

  Sources   Download

GPLv2

The Requires

  • php >=5.6.4

 

by Yassine Khachlek

laravel archive example

24/01 2017

0.0.0

0.0.0.0 https://github.com/yassine-khachlek/laravel-archive

A Laravel archive example.

  Sources   Download

GPLv2

The Requires

  • php >=5.6.4

 

by Yassine Khachlek

laravel archive example