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

ReporticoServiceProvider not found error while installing Reportico Laravel #20

Open
kashifau opened this issue Apr 6, 2020 · 4 comments

Comments

@kashifau
Copy link

kashifau commented Apr 6, 2020

I am running Laravel 5.4 and trying to install Reportico. I followed all the installation steps provided at http://www.reportico.org/laravel/public/index.php/installation but when I use php artisan vendor:publish I get the following error: [Symfony\Component\Debug\Exception\FatalThrowableError] Class 'Reportico\Reportico\ReporticoServiceProvider' not found

@reportico-web
Copy link
Owner

Hi there i just did a fresh install of laravel 5.4 and reportico and am able to do publish with following commands

composer create-project --prefer-dist laravel/laravel laravel54 "5.4.*"
composer require reportico/laravel-reportico "~5.2"
Added Reportico\Reportico\ReporticoServiceProvider::class, to provders section in config/app.php and ran
php artisan vendor:publish

everything seems ok.... i would assume that if the composer require worked you should have a vendor/reportico/laravel-reportico folder .. can you fonfirm you have that?

@kashifau
Copy link
Author

kashifau commented Apr 9, 2020

I did not do a fresh install, I have a working project. composer require reportico/laravel-reportico "~5.2" doesn't create a folder but doesn't return any error either. I manually copied the laravel-reportico folder under vendor.

@reportico-web
Copy link
Owner

ok but if you just copy the laravel reportico folder under vendor folder you wont be also copying the composer autoload rules in vendor composer which allows vendor files to be loaded... you would need I believe to use composer require to download reportico into your develop environment vendor folders and then you would also need to copy at minimum the vendor/composer folder too.

@kashifau
Copy link
Author

kashifau commented Apr 9, 2020

Okay. Will give that a try tomorrow. Thanks!

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