Download the PHP package vanquyet94/laravel-ads-sdk without Composer

On this page you can find all versions of the php package vanquyet94/laravel-ads-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-ads-sdk

Laravel Ads SDK

Join the Discord – For support, updates and collaboration.

For Google Ads, Bing Ads and Facebook Ads API.

This is a wrapper for connecting each ad source into your Laravel application. This SDK provides a cleaner and a more consistent integration across many ad platforms than the official SDKs, and ultimately making it a lot easier to implement in your projects. You shouldn't have to learn how to communicate and understand the responses to every API.

Installation

Use Composer to install package.

Run composer require tmarois/laravel-ads-sdk

Config

1) Run php artisan vendor:publish --tag=laravel-ads-sdk

2) Copy this to your .env and update with your credentials (if you dont have credentials, continue to the next step).

Authentication

:point_right: For GoogleAds

You will need your developer token, client id and client secret to continue. Learn More

Follow the steps in the command line to generate a refresh token.

Run php artisan laravelads:token:generate --service=GoogleAds

Having Trouble? Learn More

:point_right: For BingAds

You will need your developer token, client id and client secret to continue. Learn More

Follow the steps in the command line to generate a refresh token.

Run php artisan laravelads:token:generate --service=BingAds

Having Trouble? Learn More

:point_right: For FacebookAds

You will need your app id, app secret and access token. Learn More

NOTE: It appears for facebook, you do not need to generate refresh token, once you have your access token, the api should connect as long as you've given yourself the correct access, permissions, scopes to marketing api and ads account.

:rocket: Usage

Accessing GoogleAds, BingAds or FacebookAds use the following:

Google Ads

This uses the googleads-php-lib SDK for the Google Ads API

NOTICE – You will need to Request Google Ads API Access.

Need help with authentication?

Management

Reports

Bing Ads

This uses the BingAds-PHP-SDK for the Bing Ads API

NOTICE – You will need to Request Bing Ads API Access.

Need help with authentication or sandbox mode?

Management

Reports

Facebook Ads

This uses the facebook-php-business-sdk for Facebook Marketing API

Management

Reports

Customization

We realize that we can't add every endpoint so in order to help improve your developer experience, we have made the Service classes Macroable. Macros are a way to add a new custom method to the classes. This way you are able to utilize the existing auth and all of the other goodies that come with this package.

Typically, you should call this method from the boot method of one of your application's service providers, such as the App\Providers\AppServiceProvider service provider:

Then in your controller or job you would call:

Contributions

We are actively looking for new contributors.

If you want to contribute, Join the Discord channel and/or submit pull requests.

License

Laravel Ads SDK (This Package) is open-sourced software licensed under the MIT license. USE AT YOUR OWN RISK. Laravel Ads SDK is a tool to help you manage your accounts, it does not guarantee features listed here will work as described. If you do find a bug, please feel free to submit an issue. This package is not affiliated with Laravel LLC or the Laravel Framework team.


All versions of laravel-ads-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=7
googleads/googleads-php-lib Version ^49.0
microsoft/bingads Version ^13.0.13
facebook/php-business-sdk Version ^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package vanquyet94/laravel-ads-sdk contains the following files

Loading the files please wait ....