Download the PHP package kirbygo/ti-ext-square-catalog-sync without Composer

On this page you can find all versions of the php package kirbygo/ti-ext-square-catalog-sync. 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 ti-ext-square-catalog-sync

Square Catalog Sync for TastyIgniter

Keeps your TastyIgniter menu in sync with your Square Catalog. Square is the source of truth — changes you make in Square Dashboard flow into TastyIgniter automatically.

What it does

Requirements

Installation

Then go to Admin → Manage → Extensions, find Square Catalog Sync, and click Install.

Configuration

Navigate to Admin → Square Catalog Sync (or via the extension settings gear icon).

Field Where to find it
Access Token Square Developer Dashboard → your app → Production Access Token
Location ID Square Dashboard → Locations → click your location → the ID in the URL
Environment Start with Sandbox; switch to Production when verified
Webhook Signature Key Square Developer Dashboard → Webhooks → your subscription → Signature key

The access token and webhook signature key are stored encrypted in the database. They are never echoed back into the settings form.

Running a sync

Manual: Click Sync Now on the settings page. The job runs in the background — refresh after a few seconds to see results.

Automatic: The extension schedules an hourly sync. Make sure your queue worker is running:

Webhook-triggered: Configure a Square webhook subscription pointing to:

Subscribe to the catalog.version.updated event. Each time your Square catalog changes, Square notifies this endpoint and an incremental sync is queued automatically.

What gets synced

Square object TastyIgniter target
CATEGORY categories table
ITEM menus table + menu_categories pivot
ITEM VARIATION (>1 per item) menu_options + menu_option_values (as a "Size" option)
MODIFIER_LIST menu_options table
MODIFIER menu_option_values table
IMAGE logged only (not yet downloaded)
TAX logged only — TI uses a single global tax rate; configure manually in TI Settings

Known limitations

Taxes: Square supports multiple tax rates per item (e.g. a food tax and an alcohol tax). TastyIgniter applies a single global tax percentage to all items. The extension logs all Square taxes with their rates so you can configure TI's global tax setting manually. If you only have one tax rate, set it in Admin → Settings → Tax.

Images: Image URLs are logged but not downloaded into TI's media library. This is planned for a future release.

Multi-category items: TI supports assigning a menu item to multiple categories via the menu_categories pivot. The sync writes all Square category assignments. If your TI frontend theme only renders the first category, this is a theme limitation.

Sync direction: This is strictly one-way, Square → TastyIgniter. Changes made directly to TI's menu will be overwritten on the next sync.

Troubleshooting

Settings page shows no token field value — correct; secrets are never echoed back. If the "Access Token set" check passes, the token is stored.

"Sync job queued" but nothing happens — your queue worker isn't running. Run php artisan queue:work in a terminal or configure a supervisor process.

Items appear in TI but with no category — run the sync twice. On the first run, if a page returns items before their categories, the pivot is skipped. The second run corrects it. For production, the hourly scheduler handles this automatically.

Webhook returns 401 — the signature key in TI settings doesn't match the one in Square Dashboard → Webhooks. Re-copy it and save settings.

Webhook accepted without a key — if no signature key is configured, the endpoint accepts all requests and logs a warning. Set the key before going live.

License

MIT


All versions of ti-ext-square-catalog-sync with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
square/square Version ^42.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 kirbygo/ti-ext-square-catalog-sync contains the following files

Loading the files please wait ...