Download the PHP package smsh/ticketing-bridge without Composer

On this page you can find all versions of the php package smsh/ticketing-bridge. 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 ticketing-bridge

SmartShanghai Ticketing Bridge

Private Symfony bundle for plugging SmartShanghai into the SolidSource ticketing external identity system.

Package name:

What It Provides

WeChat Scanner event QR codes

On first event publish, the bridge generates a Mini Program QR for the wechat_scanner sales channel.

WeChat campaign Mini Program QR codes

When a campaign is saved, the bridge generates a Mini Program QR for each targeted event and shows it on the campaign admin form (below the web share QR). Global and venue-only campaigns are skipped until an event (or price-category) target is added.

Generation failure is logged and does not block saving the campaign.

WeChat event-affiliate Mini Program QR codes

When an event affiliate is saved, the bridge generates a Mini Program QR and shows it on the affiliate admin form (below the web share QR).

Generation failure is logged and does not block saving the affiliate.

WeChat organization Mini Program QR codes

When an organization is opened in admin, the bridge generates a Mini Program QR and shows it on the organization form (below the details form). Scanning it opens the MiniProgram join page so a signed-in user can be added to that organization via POST /api/v1/me/organizations.

Generation failure is logged and does not hide the rest of the organization form.

SmartShanghai event listing sync

When an event is published, the bridge:

  1. Creates a promoter report access token (label: SmartShanghai listing sync).
  2. Calls PATCH {api_base_url}/api2/admin/smtk-event-bridge/{event_id}?key={api_token} with { "access_token": "<raw token>" } — {event_id} is the ticketing event id (same as smtk_id on SmartShanghai).
  3. Downloads data.thumbnail_path from the response and sets it as the event thumbnail (admin → Media).

Requires an enabled SmartShanghai integration with api_base_url and api_token. Optional setting Event bridge API path (default /api2/admin/smtk-event-bridge/{event_id}).

Join the signed-in user to an organization

SmartShanghai promoter and scanner clients can add the current JWT user to an organization:

Send one of organizationId / organization_id, slug, or code. The call is idempotent: a user who is already a member gets 200 with alreadyMember: true; a new membership returns 201. Inactive or unknown organizations return 404 with organization_not_found. API keys cannot call this endpoint — it requires a signed-in user (ROLE_USER).

The host app must import the bundle routes (once per installation):

Expected SmartShanghai Flow

  1. User clicks Continue with SmartShanghai.
  2. The ticketing app redirects to the configured SmartShanghai login_url.
  3. The bridge appends callback_url=<absolute /connect/smartshanghai/check URL>.
  4. SmartShanghai authenticates the user and redirects back with a short-lived JWT:

The callback also accepts token=<jwt> or an Authorization: Bearer <jwt> header.

The JWT payload should contain an external user id as either:

The bridge decodes the JWT only to read that user id for the verify API path. JWT validity is checked by SmartShanghai's API, not locally.

Integration Settings

Configure these under System -> API / Integrations -> SmartShanghai:

Verify User API Contract

The bridge calls:

Example default URL:

Expected successful response:

email is optional. The ticketing app can create a local user with only the linked external identity.

Any non-2xx response or "valid": false rejects login.


All versions of ticketing-bridge with dependencies

PHP Build Version
Package Version
Requires php Version >=8.4
symfony/config Version ^7.4 || ^8.0
symfony/dependency-injection Version ^7.4 || ^8.0
symfony/framework-bundle Version ^7.4 || ^8.0
symfony/http-client Version ^7.4 || ^8.0
symfony/http-client-contracts Version ^3.5
symfony/routing Version ^7.4 || ^8.0
symfony/yaml Version ^7.4 || ^8.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 smsh/ticketing-bridge contains the following files

Loading the files please wait ...