Download the PHP package devkokov/craft3-ticketsolve without Composer

On this page you can find all versions of the php package devkokov/craft3-ticketsolve. 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 craft3-ticketsolve

Ticketsolve plugin for Craft CMS 3.x and 4.x

This plugin will pull Venues, Shows and Events from a Ticketsolve XML feed and store them for easy access in your Craft website.

The AutoSync feature will keep your site in sync with Ticketsolve by updating every 15 minutes. There's also the option to sync manually with the click of a button.

A new field type called "Ticketsolve Shows" lets you relate Shows to your site's entries.

The Ticketsolve section in the Control Panel lets you browse all Venues, Shows and Events that have been imported into the site.

Twig extension allows for easy integration of Venues, Shows and Events in your templates.

NOTE: This is not an official Ticketsolve plugin.

Requirements

This plugin requires PHP 7.4 - 8.2 and supports Craft CMS 3.x and 4.x.

Craft Ticketsolve Craft 3 Craft 4
1.x :white_check_mark: :x:
2.x :x: :white_check_mark:

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

    cd /path/to/project

  2. Then tell Composer to load the plugin:

    composer require burnthebook/craft3-ticketsolve

  3. In the Control Panel, go to Settings → Plugins and click the "Install" button for Ticketsolve.

Configuring Ticketsolve

In the Control Panel, go to Settings → Ticketsolve and enter the URL of your Ticketsolve XML feed.

Enable AutoSync or, for advanced users, create a cron job on your server. See Syncing.

If using AutoSync, note that the initial sync will happen 15 minutes after enabling AutoSync.

To trigger the sync manually, go in Control Panel → Ticketsolve and click the "Sync Now" button.

In order to not hit the rate limit of Ticketsolve a limit of 250 API calls per import has been set. Shows will be imported in blocks of 250 until all have been imported. Then the cycle starts again.

Shows Field

The plugin adds a new relationship field type called "Ticketsolve Shows". It allows you to add Shows to your entries in Craft.

{% set shows = entry.showsFieldHandle.all() %}

{% for show in shows %}
    {{ show.name }}
{% endfor %}

See Shows for a full reference on what properties are exposed for each Show.

Venues

{% set venues = craft().ticketsolve.venues().all() %}

{% for venue in venues %}
    {{ venue.name }}
{% endfor %}

Parameters

craft().ticketsolve.venues() returns a query object that supports Craft's standard query parameters for ordering, sorting, limiting, as well as the following new parameters:

Properties

Venue elements have the following properties:

Shows

{% set shows = craft().ticketsolve.shows().all() %}

{% for show in shows %}
    {{ show.name }}
{% endfor %}

Parameters

craft().ticketsolve.shows() returns a query object that supports Craft's standard query parameters for ordering, sorting, limiting, as well as the following new parameters:

Properties

Show elements have the following properties:

Events

{% set events = craft().ticketsolve.events().all() %}

{% for event in events %}
    {{ event.name }}
{% endfor %}

Parameters

craft().ticketsolve.events() returns a query object that supports Craft's standard query parameters for ordering, sorting, limiting, as well as the following new parameters:

Properties

Event elements have the following properties:

Syncing

The plugin comes with an AutoSync option which will automatically sync from the XML feed every 15 minutes or so via a pseudo cron job.

For more robust syncing, you can disable Auto Sync in the plugin settings and trigger it from a proper server cron job using the following Craft console command:

craft ticketsolve/feed/sync

Local Development

Simply clone the repository into a directory above your CraftCMS website, then add the following to your composer.json:

Change the version in your require block to your new version, e.g.


Brought to you by Burnthebook


All versions of craft3-ticketsolve with dependencies

PHP Build Version
Package Version
Requires ext-simplexml Version *
craftcms/cms Version ^3.0.0-RC1
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 devkokov/craft3-ticketsolve contains the following files

Loading the files please wait ....