Directus Php Sdk

screenshot of Directus Php Sdk

The PHP SDK for Directus API

Overview

The Directus PHP SDK is a software development kit that allows users to interact with the Directus 9 content management system using PHP. With this SDK, users can easily install the package using Composer or manually and access various features such as creating, reading, updating, and deleting items. The SDK also provides options for configuring authentication settings.

Features

  • Installation: The SDK can be installed using Composer or downloaded manually.
  • Config Options: Users can set options such as the API URL, auth prefix, auth storage, auth domain, and strip headers.
  • Global: Users can retrieve the API URL.
  • Items: Users can perform various operations on items such as creating a single item, reading all items, reading by query, reading by primary key, updating a single item, and deleting an item(s).
  • Auth: Users can get/set the authentication token and perform login requests.

Summary

The Directus PHP SDK is a convenient tool for developers to interact with the Directus 9 content management system using PHP. It offers easy installation options and provides a variety of features for managing items and authentication. Whether you prefer using Composer or manual installation, the SDK allows for seamless integration with Directus 9.