Boilerplate to use a Directus Instance to Build a Custom Website, Content will be Manage by Directus
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
244 B

5 years ago
  1. # Gear - Directus PHP Client
  2. Small Libary to request Directus API.
  3. ## ItemCollection
  4. **URL**
  5. **Token**
  6. ```PHP
  7. $itemCollection = new ItemCollection($url, $token);
  8. $articles = $itemCollection->find('articles', ['status' => 'published']);
  9. ```