Download the PHP package setono/sylius-google-ads-plugin without Composer

On this page you can find all versions of the php package setono/sylius-google-ads-plugin. 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 sylius-google-ads-plugin

Sylius plugin for Google Ads

Latest Version Build Status

This plugin tracks conversions in your Sylius store. It's done with the Google Ads API instead of the default javascript tracking. It has a few benefits to do this:

Installation

Step 1: Install gRPC

Internally this plugin uses the google-ads-php. To use that library properly it's advised to install the gRPC PHP extension. It should work by just running pecl install grpc and enabling the extension in your php.ini by adding extension=grpc.so.

Step 2: Install and enable plugin

Add the bundle to your config/bundles.php before the SyliusGridBundle:

Step 3: Add configuration

Step 4: Create migration file

Step 5: Set up cronjobs

The first cronjob will process Google Ads conversions. Run this cronjob regularly, e.g. every 5 minutes:

The next cronjob will prune the conversions table. Run this job as often as you'd like, maybe daily:

Step 6: Map the Messenger command to an async transport (optional, but recommended)

The plugin uses the Symfony Messenger to dispatch a message (ProcessConversion) which will trigger the processing of a conversion. If you want to do this asynchronously, you can do something like the following in your messenger config:

This maps all messages implementing that interface to the async transport.

Now the plugin is installed. Please read the next section to learn how to use it in your store.

Usage

To start using the plugin, go to https://your-domain.com/admin/google-ads and follow the instructions.


All versions of sylius-google-ads-plugin with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
brick/phonenumber Version ^0.5.0
doctrine/collections Version ^1.6
doctrine/dbal Version ^2.13 || ^3.8
doctrine/orm Version ^2.7
doctrine/persistence Version ^1.3 || ^2.2 || ^3.2
google/auth Version ^1.26
google/gax Version ^1.19
googleads/google-ads-php Version ^27.2
knplabs/knp-menu Version ^3.1
ocramius/doctrine-batch-utils Version ^2.4
psr/event-dispatcher Version ^1.0
psr/log Version ^1.0 || ^2.0 || ^3.0
setono/composite-compiler-pass Version ^1.1
setono/doctrine-orm-trait Version ^1.0
sylius/channel Version ^1.0
sylius/channel-bundle Version ^1.0
sylius/core Version ^1.0
sylius/core-bundle Version ^1.0
sylius/order Version ^1.0
sylius/resource-bundle Version ^1.6
sylius/ui-bundle Version ^1.0
symfony/config Version ^6.4 || ^7.0
symfony/console Version ^6.4 || ^7.0
symfony/dependency-injection Version ^6.4 || ^7.0
symfony/event-dispatcher Version ^6.4 || ^7.0
symfony/event-dispatcher-contracts Version ^2.5 || ^3.3
symfony/form Version ^6.4 || ^7.0
symfony/http-foundation Version ^6.4 || ^7.0
symfony/http-kernel Version ^6.4 || ^7.0
symfony/messenger Version ^6.4 || ^7.0
symfony/options-resolver Version ^6.4 || ^7.0
symfony/routing Version ^6.4 || ^7.0
symfony/string Version ^6.4 || ^7.0
symfony/validator Version ^6.4 || ^7.0
symfony/workflow Version ^6.4 || ^7.0
twig/twig Version ^2.15 || ^3.4
webmozart/assert Version ^1.11
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 setono/sylius-google-ads-plugin contains the following files

Loading the files please wait ....