Download the PHP package vmeretail/servicedeskify-php-sdk without Composer

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

ServiceDeskify Laravel SDK

A Laravel package for ServiceDeskify, built on Saloon.

The package handles OAuth password-grant authentication, encrypted token caching, token refresh and one automatic re-authentication after an API 401.

Requirements

Laravel 11 is supported for applications that still require it, although its upstream security-fix window ended in March 2026. Prefer Laravel 12 or 13 for new applications.

Installation

The package service provider is discovered automatically. Publish the configuration file if you need to customise caching or token timing:

Configure the credentials supplied by VME Retail:

For the ServiceDeskify test environment, set SERVICEDESKIFY_URL=https://helpdesk-test.vme.co.

The configured Laravel cache store is used by default. A different store may be selected with SERVICEDESKIFY_CACHE_STORE. Advanced token-cache settings are also configurable. The selected store must support Laravel atomic locks.

Incidents

Import the package facade and typed input objects:

Incidents can be listed, retrieved, closed and given closure details:

Paginated methods return PaginatedData with typed items and the usual page, total, link and range values. A page can also be iterated directly or passed to count().

To process every result without hand-rolling page loops, incidents, posts and locations expose lazy() and each(). Returning false from an each() callback stops iteration early.

Replies and attachments

Attachments may be Laravel UploadedFile instances, SplFileInfo instances or readable filesystem paths. Requests without attachments are JSON; requests with attachments are multipart.

Download an attachment using its incident, post and attachment IDs:

Locations, software assets and releases

Software-asset lists return summary DTOs containing the ID, name and current release ID. find() returns the full software-asset DTO. Creating a release requires an agent account, and posting a version that already exists for that software asset results in a ValidationException.

Errors

Failed responses are mapped to package exceptions:

Exceptions expose the HTTP status, response body and validation errors where available. All exceptions above extend ServiceDeskifyRequestException. Credentials are never included in exception messages.

Testing consuming applications

The package uses Saloon core and does not require Saloon's Laravel plugin. Use Saloon's global MockClient and provide an OAuth response before API responses:

Destroy the global mock in each test's teardown to prevent it leaking into other tests.

Migrating from v2

Version 3 is a complete rewrite. The following v2 classes have been removed:

Applications no longer authenticate manually or construct resource classes. Configure credentials in Laravel, use the ServiceDeskify facade, pass typed input objects and consume typed result objects.

The obsolete users/locations resource is not included because the current ServiceDeskify service does not expose that route.


All versions of servicedeskify-php-sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/contracts Version ^11.0|^12.0|^13.0
illuminate/http Version ^11.0|^12.0|^13.0
illuminate/support Version ^11.0|^12.0|^13.0
saloonphp/saloon Version ^4.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 vmeretail/servicedeskify-php-sdk contains the following files

Loading the files please wait ...