zanysoft / laravel-zip

MIT License
300 stars 96 forks source link

Non-static method ZanySoft\Zip\Zip::create() cannot be called statically #49

Closed philharmonie closed 1 year ago

philharmonie commented 1 year ago
use ZanySoft\Zip\Zip;

$zip = Zip::create('files/test.zip');

Am I missing something? The Readme tells me to call a static function, but there is none.

zanysoft commented 1 year ago

Kindly use Facade like this:

use Zip;

$zip = Zip::create('files/test.zip');