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 'GitRepository' not found #27

Closed
abdulazizalrawahi opened this issue Jul 27, 2018 · 2 comments
Closed

Class 'GitRepository' not found #27

abdulazizalrawahi opened this issue Jul 27, 2018 · 2 comments

Comments

@abdulazizalrawahi
Copy link

I am working on laravel framework. I installed this through composer.
$repo = GitRepository::init('/path/to/repo-directory', array(
'--bare', // creates bare repo
));
In this line I get error
"Class 'GitRepository' not found"

@janpecha
Copy link
Contributor

Hello, you must use FQN Cz\Git\GitRepository (or use statement in file header).

@abdulazizalrawahi
Copy link
Author

Thanx. This solved my issue

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

2 participants