Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class 'Parser' not found #25

Closed
gpphong8th2 opened this issue Mar 19, 2016 · 2 comments
Closed

Class 'Parser' not found #25

gpphong8th2 opened this issue Mar 19, 2016 · 2 comments

Comments

@gpphong8th2
Copy link

Hi @nathanmac,
I have install nathanmac/parser in xxamp apche, it is working, but when I deploy my project. I have a problem Class 'Parser' not found. I am using laravel 5.1
you can give me any solution to this problem ?
Thank

@kossa
Copy link

kossa commented May 21, 2016

You should add
Nathanmac\Utilities\Parser\ParserServiceProvider::class, and 'Parser' => Nathanmac\Utilities\Parser\Facades\Parser::class, in app.php

@danhunsaker
Copy link
Contributor

Also make sure you're running composer install on your deployed instance. You could also commit/copy your vendor/ directory to the production instance, but that's generally considered a bad approach, and kinda defeats the purpose of Composer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants