Download the PHP package pathlyhq/sdk without Composer

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

Pathly PHP SDK

English · Español

Powered by Pathly Website API docs Start free

To use this SDK, you need an API key. Get your free API key by signing up here: https://pathlyhq.com/en/login?mode=signup&utm_source=github&utm_medium=readme&utm_campaign=signup_cta.

Get started in one click. Create a free account on Pathly (sign up), create an API key in the console, then export PATHLY_API_TOKEN. This project is the official bridge to Pathly monitoring — real-browser and HTTP checks for checkout, login and availability, with data hosted in the EU. Full API reference: pathlyhq.com/en/developers.

Official PHP client for the Pathly public /v1 API. Automate Pathly monitoring from Laravel, Symfony or plain PHP: HTTP scenarios, maintenance windows, signed webhooks and SLA targets.

Why Pathly monitoring

Pathly is EU-hosted synthetic monitoring. This Composer package (pathlyhq/sdk) is the PHP twin of the TypeScript, Python and Go SDKs documented on pathlyhq.com/en/developers and pathlyhq.com/fr/developers.

Need Link
Product overview pathlyhq.com
API & SDK docs (EN) pathlyhq.com/en/developers
API & SDK docs (FR) pathlyhq.com/fr/developers
Pathly monitoring pathlyhq.com

Authentication

Variable Purpose
PATHLY_API_TOKEN Organization API key (sp_ prefix). Required.
PATHLY_API_URL API base. Defaults to https://api.pathlyhq.com.

Never hard-code the token. Prefer the environment or a secret store.

Client::ping() calls GET /v1/usage and accepts HTTP 403: the key is valid but lacks org:read. Scopes: scenarios:*, alerting:*, maintenance:*, sla:* — see pathlyhq.com/en/developers.

Resources

Resource Methods
Scenario (HTTP) createScenario, getScenario, updateScenario, deleteScenario, listScenarios, muteScenario
Maintenance window createMaintenanceWindow, getMaintenanceWindow, deleteMaintenanceWindow, listMaintenanceWindows
Webhook createWebhook, getWebhook, deleteWebhook, listWebhooks
SLA target upsertSlaTarget (PUT), getSlaTarget, deleteSlaTarget, listSlaTargets

Browser journeys are created in the Pathly console. This SDK manages HTTP Pathly monitoring scenarios only.

The webhook secret is returned once at creation. Store it in a vault. The API never returns the destination URL on read, only urlFingerprint.

Behavior

Development

Coverage is required at 100%.

Examples: examples/. API reference: pathlyhq.com/en/developers · pathlyhq.com/fr/developers.

Related packages

Package Role
pathly-sdk-go Go
pathly-sdk-typescript @pathlyhq/sdk
pathly-sdk-python pathly
pathly-terraform-provider Terraform
Pathly Pathly monitoring product

About Pathly

Pathly is synthetic monitoring for agencies and e-commerce: replay the customer journey, catch broken checkouts before your clients call, and keep evidence (screenshot, step, runbook) ready for the invoice. Product: pathlyhq.com · Developers: pathlyhq.com/en/developers · Status & pricing: pathlyhq.com/en/pricing.

Author

Company Pathly
Author Simon Raynaud / keyral

See pathlyhq.com.

License

Apache-2.0


All versions of sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-json Version *
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 pathlyhq/sdk contains the following files

Loading the files please wait ...