Download the PHP package scanlyser/php-sdk without Composer

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

ScanLyser PHP SDK

Official PHP SDK for the ScanLyser API. Run accessibility, SEO, performance, UX, and security scans programmatically.

Requirements

Installation

Quick Start

API Reference

Client

Teams

Sites

Scans

Polling stops for completed, failed, and cancelled scans. A completed lifecycle does not by itself guarantee a score: inspect assessmentOutcome, coverage, or use hasUsableScore() before presenting score data. When a scan fails, failure contains only the stable code, customer-safe message, and support correlationId.

The optional categories argument is last in the trigger signature, preserving existing positional calls. Omitting it requests all public categories. Category score members (wcag, seo, performance, ux, sitewide, and other) are nullable: null means that bucket was not scored, never zero. Use requestedCategories, categoryCoverage, scoredCategoryScope, and hasUsableCategoryScore() to distinguish assessed, partial, inconclusive, and not-scanned categories. IssueCategory remains the separate six-value finding/report vocabulary and must not be used to select a scan scope.

Pages

Detailed pages keep issues and diagnostics as separate collections. failure uses the same safe lifecycle-failure object as scans; it never exposes raw exception text or a query-bearing page URL.

Issues

Every issue response is a readonly Finding (which extends the backwards-compatible Issue class) and carries a required FindingResultEnvelope in $issue->result. Issue hydration rejects diagnostic envelopes instead of presenting them as findings. Its nested data objects retain versioned check identity, explicitly nullable qualification, safe reasoning and limitations, structured evidence, reproduction context, remediation parameters, and references.

Hydration rejects unsupported schema versions and invalid kind/outcome combinations. A null qualification property means the scanner explicitly declined to claim it; do not infer a value from the issue source.

Diagnostics

Diagnostic is a separate readonly resource with kind === ResultKind::Diagnostic, an inconclusive or error outcome, string index, check and scope identity, non-null scope link, safe detail, optional recovery action, and support correlation ID. The page argument selects the API page. Diagnostics never contribute to issue counts.

Reports

Webhook Verification

Verify webhook signatures from scan completion callbacks:

Error Handling

The SDK throws typed exceptions for API errors:

Rate-limited requests (429) are automatically retried up to 3 times with the Retry-After delay.

Laravel Integration

The SDK includes an optional service provider with auto-discovery.

Publish the config:

Configure .env:

Usage:

License

MIT


All versions of php-sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
guzzlehttp/guzzle Version ^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 scanlyser/php-sdk contains the following files

Loading the files please wait ...