I use the package https://github.com/Chumper/Zipper

There are .xsd files in the archive, perhaps it does not relate specifically to this file, or maybe problems with them.

Trying to unpack the archive:

$this->zipper->make(resource_path('/templates/ScormDriver_scorm2004_4th.zip')) ->extractTo($this->sourcePath()); 

Gives an error message:

 file_put_contents(//ScormEnginePackageProperties.xsd): failed to open stream: Permission denied 

I tried to set the rights via chmod 777 but nothing.

    1 answer 1

    The thing is that the sourcePath() method returns. And it returns '/' and therefore it goes to the root of the system and therefore has no rights.