Download the PHP package contentful/contentful-management without Composer

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

contentful-management.php

Packagist PHP version Packagist CircleCI

PHP SDK for Contentful's Content Management API. The SDK requires at least PHP 7.2 or PHP 8.0 and up.

Setup

Add this package to your application by using Composer and executing the following command:

Then, if you haven't already, include the Composer autoloader:

Basic concepts

The first thing that needs to be done is initiating an instance of Contentful\Management\Client by giving it an access token. All actions performed using this instance of the Client will be performed with the privileges of the user this token belongs to.

When working with space-scoped or environment-scoped resources, you can use proxies. They are lazy-references to a space or an environment, and they allow you to avoid repeating the space and environment ID when making API calls:

Usage

Api Keys

Fetching:

Creating and modifying:

Assets

Fetching:

Creating and modifying:

Content types and content type snapshots

Fetching:

Creating and modifying:

Editor interfaces

Fetching and updating

Entries and entry snapshots

Fetching:

Creating and modifying:

Environments

Fetching:

Creating and modifying:

Creating an environment with a different source:

Locales

Fetching:

Creating and modifying:

Organizations

Fetching:

Personal access tokens

Fetching:

Creating and modifying:

Roles

Fetching:

Creating and modifying:

Spaces

Fetching:

Creating and modifying:

Space memberships

Fetching:

Creating and modifying:

Uploads

Fetching:

Creating and modifying:

UI extensions

Fetching:

Creating and modifying:

Users

Fetching:

Webhooks

Fetching:

Creating and modifying:

Rate limits and retrying

Some API calls are subject to rate limiting as described here. The SDK can be instructed to retry a call for a number of times via the max_rate_limit_retries option:

If the retry should happen in more than 60 seconds (as defined by the X-Contentful-RateLimit-Second-Remaining header here ), the call will throw a RateWaitTooLongException exception. This was implemented so that your scripts do not run for too long.

Contributinng

PRs are welcome! If you want to develop locally, however, you will need to install with --ignore-platform-reqs, as one of the libraries used for testing does currently not officially support PHP8.

About Contentful

Contentful is a content management platform for web applications, mobile apps and connected devices. It allows you to create, edit & manage content in the cloud and publish it anywhere via powerful API. Contentful offers tools for managing editorial teams and enabling cooperation between organizations.

License

Copyright (c) 2015-2019 Contentful GmbH. Code released under the MIT license. See LICENSE for further details.


All versions of contentful-management with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
contentful/core Version ^4.0
symfony/console Version ^4.0|^5.0|^6.0|^7.0
symfony/filesystem Version ^4.0|~5.0|^6.0|^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 contentful/contentful-management contains the following files

Loading the files please wait ....