Download the PHP package nikba/directus-api without Composer

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

directus-api

This is a PHP wrapper for the Directus v8.8.1 API, which allows you to easily interact with Directus from your PHP applications.

Directus is an open-source headless CMS and API that provides a sleek interface for managing your content, while allowing you to use your favorite frontend tools and frameworks.

With this API wrapper, you can programmatically create, read, update, and delete items and collections in Directus, as well as manage users, permissions, and settings.

Installation

You can install this package via Composer by running the following command:

Usage/Examples

To get started with this API wrapper, you'll need to first create an instance of the Nikba\Directus class, passing in your Directus API URL and Project Name:

Creating an API-instance

Authentification

Error handling

Once you have a client instance, you can use it to make API requests.

Items

Items are individual pieces of data in your database. They can be anything, from articles, to IoT status checks.

Files

Files can be saved in any given location. Directus has a powerful assets endpoint that can be used to generate thumbnails for images on the fly.

Assets (Thumbnails)

Image typed files can be dynamically resized and transformed to fit any need.

Folders

Folders don't do anything yet, but will be used in the (near) future to be able to group files.

Activities

All events that happen within Directus are tracked and stored in the activities collection. This gives you full accountability over everything that happens.

Permissions

Permissions control who has access to what and when.

Projects

Projects are the individual tenants of the platform. Each project has its own database and data.

Relations

What data is linked to what other data. Allows you to assign authors to articles, products to sales, and whatever other structures you can think of.

Revisions

Revisions are individual changes to items made. Directus keeps track of changes made, so you're able to revert to a previous state at will.

Roles

Roles are groups of users that share permissions.

Server

Access to where Directus runs. Allows you to make sure your server has everything needed to run the platform, and check what kind of latency we're dealing with.

Settings

Settings control the way the platform works and acts.

Users

Users are what gives you access to the data.

Mail

Send electronic mail through the electronic post.

Utilities

Documentation

For more information on the available methods and parameters, please refer to the API Documentation

Support

For support, email [email protected].

Contributing

Contributions are always welcome!

If you find a bug or would like to contribute to this project, please open an issue or submit a pull request on GitHub.

License

MIT


All versions of directus-api with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.2
ext-json Version *
guzzlehttp/guzzle Version ^7.2.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 nikba/directus-api contains the following files

Loading the files please wait ....