laravel-smart-ads icon indicating copy to clipboard operation
laravel-smart-ads copied to clipboard

Could not open input file: artisan

Open SomeDevWeb opened this issue 4 months ago • 0 comments

Hi See there are people in this world that are just beginning in Laravel and would like to install your great package, but it's soo annoying that some steps are not specified and of course the whole thing doesn't work!!! :( I'm one of them and I got this error when running "php artisan vendor:publish --provider="_5balloons\LaravelSmartAds\LaravelSmartAdsServiceProvider" --tag="smart-ads-migrations"" It's not enough I spent a few hours to realize why the project didn't install at all, now I finally managed to install it, but I got this error.

BTW, for the beginners like me, I have to say if it helps anyone, because the "composer require 5balloons/laravel-smart-ads" doesn't work by itself, you have to CLONE the git project first, then REMOVE the damn composer.json file, and only then do the "composer require" command.

So I did all that and now of course there's another issue now. Firstly, migrations are done in the DB right, but there's absolutely no info about how that's integrated or at least where is the DB connection info...

Anyway, when I did that command I got the "Could not open input file: artisan"

Anyone any help about this please? Thanks a lot!

SomeDevWeb avatar Feb 12 '24 16:02 SomeDevWeb