tmarois / laravel-ads-sdk

PHP SDK for Google Ads, Bing Ads, and Facebook Ads API for Laravel
MIT License
110 stars 42 forks source link

Can't install and configure laravel-ads-sdk in my laravel project #9

Closed cissecedric closed 4 years ago

cissecedric commented 4 years ago

Hi,

In my laravel project I successfully ad laravel ads with this cmd line : composer require tmarois/laravel-ads-sdk:^1.2

My laravel project version is : Laravel Framework Lumen (5.4.7) (Laravel Components 5.4.*)

But then I m stuck, I can't configure anything related to laravel-ads

When I run this : php artisan vendor:publish I get this error message ; There are no commands defined in the "vendor" namespace.

And then I also get an error when running: php artisan laravelads:token:generate --service=BingAds I get : There are no commands defined in the "laravelads:token" namespace.

I successfully run composer dump-autoload -o but it didn't change nothing.

Any help would be very apreciated, Thank you in advance ! Regards

timothymarois commented 4 years ago

Hey @cissecedric

I’ll have to test with Lumen, at the moment it’s only been confirmed to work on Laravel 5.5+, I’m currently in Amsterdam and heading back home end of week, which I’ll be able to run some tests for you then. If you want to quickly get going, make sure to have the newest version of lumen or laravel.

On Tue, Feb 25, 2020 at 1:41 AM cissecedric notifications@github.com wrote:

Hi,

In my laravel project I successfully ad laravel ads with this cmd line : composer require tmarois/laravel-ads-sdk:^1.2

My laravel project version is : Laravel Framework Lumen (5.4.7) (Laravel Components 5.4.*)

But then I m stuck, I can't configure anything related to laravel-ads

When I run this : php artisan vendor:publish I get this error message ; There are no commands defined in the "vendor" namespace.

And then I also get an error when running: php artisan laravelads:token:generate --service=BingAds I get : There are no commands defined in the "laravelads:token" namespace.

I successfully run composer dump-autoload -o but it didn't change nothing.

Any help would be very apreciated, Thank you in advance ! Regards

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tmarois/laravel-ads-sdk/issues/9?email_source=notifications&email_token=AAS7X5PA57K4SXFCVS2UIMDRERSKDA5CNFSM4K2XIXJ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IP5DMXQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAS7X5K7W2GHL3PQLWS65F3RERSKDANCNFSM4K2XIXJQ .

timothymarois commented 4 years ago

HI, @cissecedric Checking in to see if you were able to get your project working. Feel free to jump into Slack if you need any help troubleshooting. (link on the readme)

yashanandan commented 2 years ago

Hi, I am having this issue in Lumen 8.3.1. Is it resolved or still open ?