Download the PHP package gando/partner-symfony without Composer

On this page you can find all versions of the php package gando/partner-symfony. 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 partner-symfony

gando/partner-symfony

Symfony bundle for the Gando Partner PHP SDK (gando/partner). It registers the API client, optional Connect URL builder, a ready-to-wire webhook controller, and optional #[GandoWebhook] attribute verification.

Requirements

Recommended: symfony/http-client, symfony/framework-bundle, symfony/cache (webhook dedup).

Installation

Register the bundle (Symfony Flex does this automatically):

Configuration

Option Description
api_key Partner API key (gando_pk_…), required
base_url API base URL (default https://gando.app)
connect.secret Connect signing secret (gando_cs_…)
connect.partner_slug Slug in connect URLs
connect.base_url Dashboard base URL (default https://dashboard.gando.app)
webhooks.secret Webhook signing secret (whsec_… or gando_whsec_…)
webhooks.tolerance_seconds Max webhook age in seconds (default 300)
webhooks.path Route path for bundled webhook controller (default /webhooks/gando)
webhooks.dedup_ttl_seconds Dedup window when cache.app is present (default 86400)

connect and webhooks sections are optional. Configure webhooks.secret to enable the bundled webhook controller.

Usage

Inject the API client

Partner connect URLs

When connect is configured, inject Gando\Partner\Connect\UrlBuilder:

Webhook endpoint (recommended — 2 lines)

Route (config/routes/gando_partner.yaml):

The bundle also auto-imports config/routes/webhook.php with path %gando_partner.webhooks.path%.

Handler — subscribe to typed events:

Class Gando event (partner-webhook.service)
Gando\Partner\Symfony\Controller\GandoWebhookController HTTP ingress — verify, dedup, dispatch, 200
Gando\Partner\Symfony\Event\WebhookReceived All verified webhooks (always first)
Gando\Partner\Symfony\Event\RentalOperatorLinked rental_operator.linked
Gando\Partner\Symfony\Event\DepositStatusChanged deposit.status_changed
Gando\Partner\Symfony\Event\DepositActivated deposit.activated
Gando\Partner\Symfony\Event\DepositCaptured deposit.captured
Gando\Partner\Symfony\Event\DepositExpired deposit.expired
Gando\Partner\Symfony\Event\DepositCancelled deposit.cancelled

Full walkthrough: docs/recipes/webhook.md (async processing with Messenger, dedup, endpoint creation).

Webhook attribute (custom controllers)

Mark your own action with #[GandoWebhook] if you do not use the bundled controller. Verification runs on kernel.controller before your code.

Invalid signatures return 400 with an empty body.

HTTP client integration

When Symfony's http_client service exists and symfony/http-client is installed, the bundle wraps it with Symfony\Component\HttpClient\Psr18Client and passes it to Gando\Partner\Api\Client. Optional PSR services (logger, cache.app, event_dispatcher) are wired when present.

Further reading

License

MIT


All versions of partner-symfony with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
gando/partner Version ^0.1.11
symfony/config Version ^6.4 || ^7.0
symfony/dependency-injection Version ^6.4 || ^7.0
symfony/http-kernel Version ^6.4 || ^7.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 gando/partner-symfony contains the following files

Loading the files please wait ...