Skip to content
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.

Multiple Errors with Laravel 4 #11

Closed
dbhurley opened this issue May 2, 2014 · 3 comments
Closed

Multiple Errors with Laravel 4 #11

dbhurley opened this issue May 2, 2014 · 3 comments

Comments

@dbhurley
Copy link

dbhurley commented May 2, 2014

Not sure what might be going wrong. I added the service provider to my config and yet

$zipper = new Zipper;

Yields an error on "undefined method make"

If I use

$zipper = new \Chumper\Zipper\Zipper

I receive an error on "fatal error cannot call each() on undefined"

If I copy and paste the "sample" code I get a failure on ->close() in the deconstructor

Any ideas what I'm doing wrong?

@Chumper
Copy link
Owner

Chumper commented May 3, 2014

With laravel you should access the Zipper with the alias:

   Zipper::make('test.zip')->...

@Chumper
Copy link
Owner

Chumper commented Jun 10, 2014

Did that work out?

@ctf0
Copy link
Contributor

ctf0 commented Jan 8, 2015

@dbhurley try to add 'Zipper' => 'Chumper\Zipper\Zipper' or 'Chumper\Zipper\Facades\Zipper' to aliases and it should work.

@Chumper Chumper closed this as completed Jan 16, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants