PHPackages                             contentacms/contenta\_jsonapi - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. contentacms/contenta\_jsonapi

AbandonedArchivedDrupal-profile[API Development](/categories/api)

contentacms/contenta\_jsonapi
=============================

v3.0.680(7y ago)328142.8k↓50%99GPL-2.0-or-laterPHP

Since Sep 15Pushed 2y ago27 watchersCompare

[ Source](https://github.com/contentacms/contenta_jsonapi)[ Packagist](https://packagist.org/packages/contentacms/contenta_jsonapi)[ RSS](/packages/contentacms-contenta-jsonapi/feed)WikiDiscussions 8.x-3.x Synced 1mo ago

READMEChangelog (10)Dependencies (24)Versions (84)Used By (0)

 Contenta CMS [![Contenta logo](./logo.svg "Contenta logo")](./logo.svg)
========================================================================

[](#--contenta-cms--)

---

**DEPRECATED**. Contenta CMS was an educational distribution to show examples of best practices for decoupled projects. Decoupled Drupal has been stable for a long time and the relevance of this project has dwindled over the years. Additionally, since no one has stepped up to fill the maintainer role, I have decided to archive this project. Thanks to everyone who participated to this project over the years.

---

**LOOKING FOR HELP TO MAINTAIN CONTENTA**. It has been a while since I have found the motivation to keep Contenta CMS up-to-date and improved. I don't anticipate this changing in the near future. Please reach out if you would like to step up as a new maintainer of this project.

Contenta is a content API and CMS based on Drupal 8. It provides a standard, jsonapi-based platform for building decoupled applications and websites.

Install
-------

[](#install)

Follow the [documentation instructions](http://contentacms.org/#install) to install Contenta CMS.

### CURL

[](#curl)

Once your site is running locally, you might want to use Curl to examine the pre-installed content:

```
curl --header 'Accept: application/vnd.api+json' http://127.0.0.1:8888/api/recipes
```

The result will be a list of recipes. Note that:

- The Drupal implementation of the jsonapi uses entity uuids to identify individual content resources. Append a `/{{uuid}}` to the URL above to fetch a single recipe.
- Contenta uses the [JSON API Extras](https://www.drupal.org/project/jsonapi_extras) module to customize the URL to resources: `/api/recipes` instead of `/jsonapi/node/recipes`, for example. Contenta also configures JSON API Extras to customize the output of the request to eliminate unnecessary fields.

### CORS

[](#cors)

When you actually build a front-end you will likely have [CORS (Cross-Origin Resource Sharing)](https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS)issues.

In order to allow browsers to request the contenta back-end you need to:

- Copy sites/default/default.services.yml to sites/default/services.yml
- Allow your app to access it, by replacing the end of this configuration file.

```
  cors.config:
    enabled: true
    allowedHeaders:
      - '*'
    allowedMethods:
      - '*'
    allowedOrigins:
       # Note: you need to specify the host + port where your app will run.
      - localhost:8000
    exposedHeaders: false
    maxAge: false
    supportsCredentials: false

```

- Run drush: `cd /web && ../vendor/bin/drush cr`

Development
-----------

[](#development)

Join the discussion in the [\#contenta Slack channel](https://drupal.slack.com/messages/C5A70F7D1).

For documention on the development on contenta\_jsonapi itself, see [docs/development](https://github.com/contentacms/contenta_jsonapi/blob/8.x-2.x/docs/development.md).

[Code of conduct](https://https://github.com/contentacms/contenta_jsonapi/blob/8.x-2.x/CODE_OF_CONDUCT.md)

### Development Installation

[](#development-installation)

- If you want a setup which allows you to contribute back to Contenta, follow the installation instructions above
- Replace the /web/profiles/contrib/contenta\_jsonapi directory with a checkout of this repo

```
cd -DESTINATION-
rm -rf web/profiles/contrib/contenta_jsonapi
git clone git@github.com:contentacms/contenta_jsonapi.git web/profiles/contrib/contenta_jsonapi
```

### Testing

[](#testing)

#### Nightwatch

[](#nightwatch)

[Nightwatch](http://nightwatchjs.org/) provides automated browser testing and can be found in the `tests/nightwatch` directory. To install and run locally, you will need [Yarn](https://yarnpkg.com/) and Chrome.

```
yarn install
yarn run nightwatch

```

Front-ends
----------

[](#front-ends)

There are a bunch of example consumers, see  for a list of them.

Update
------

[](#update)

Contenta CMS is a Fork &amp; Go solution. There is no supported upgrade path. You may update your Drupal like you usually do.

Please see documented issues :

- [Proper way to update contenta cms](https://github.com/contentacms/contenta_jsonapi/issues/269)
- [Can not update with composer](https://github.com/contentacms/contenta_jsonapi/issues/229)

Credits
-------

[](#credits)

This work is based upon a couple of contrib modules.

On top of that the [thunder distrbution](http://www.thunder.org/) was used as sort of a base for this installation profile.

Contenta CMS is [built by humans](https://raw.githubusercontent.com/contentacms/contenta_jsonapi/8.x-2.x/humans.txt).

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity51

Moderate usage in the ecosystem

Community34

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~9 days

Recently: every ~24 days

Total

68

Last Release

2565d ago

Major Versions

v1.608 → v3.0.6502018-12-05

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1140906?v=4)[Mateu Aguiló Bosch](/maintainers/e0ipso)[@e0ipso](https://github.com/e0ipso)

![](https://www.gravatar.com/avatar/5832c83ffe67be778879de59d359fd95ae904a0a2c8fafa2ebe9ce1199842adc?d=identicon)[dawehner](/maintainers/dawehner)

![](https://www.gravatar.com/avatar/b654d074714195971915177e2e20e431d1a8e5a9b8648333966fda92488ced3f?d=identicon)[drupal-http-apis](/maintainers/drupal-http-apis)

---

Top Contributors

[![dawehner](https://avatars.githubusercontent.com/u/29678?v=4)](https://github.com/dawehner "dawehner (115 commits)")[![e0ipso](https://avatars.githubusercontent.com/u/1140906?v=4)](https://github.com/e0ipso "e0ipso (94 commits)")[![fadonascimento](https://avatars.githubusercontent.com/u/1638439?v=4)](https://github.com/fadonascimento "fadonascimento (6 commits)")[![yann-yinn](https://avatars.githubusercontent.com/u/335495?v=4)](https://github.com/yann-yinn "yann-yinn (4 commits)")[![tormi](https://avatars.githubusercontent.com/u/146800?v=4)](https://github.com/tormi "tormi (3 commits)")[![frega](https://avatars.githubusercontent.com/u/183031?v=4)](https://github.com/frega "frega (3 commits)")[![mdonadio](https://avatars.githubusercontent.com/u/17067417?v=4)](https://github.com/mdonadio "mdonadio (2 commits)")[![justafish](https://avatars.githubusercontent.com/u/345613?v=4)](https://github.com/justafish "justafish (2 commits)")[![tarekdj](https://avatars.githubusercontent.com/u/540268?v=4)](https://github.com/tarekdj "tarekdj (2 commits)")[![wimleers](https://avatars.githubusercontent.com/u/14240?v=4)](https://github.com/wimleers "wimleers (2 commits)")[![MatthieuScarset](https://avatars.githubusercontent.com/u/7369593?v=4)](https://github.com/MatthieuScarset "MatthieuScarset (2 commits)")[![eojthebrave](https://avatars.githubusercontent.com/u/17613?v=4)](https://github.com/eojthebrave "eojthebrave (2 commits)")[![michaellenahan](https://avatars.githubusercontent.com/u/219397?v=4)](https://github.com/michaellenahan "michaellenahan (1 commits)")[![mogtofu33](https://avatars.githubusercontent.com/u/600163?v=4)](https://github.com/mogtofu33 "mogtofu33 (1 commits)")[![msreis66](https://avatars.githubusercontent.com/u/30163021?v=4)](https://github.com/msreis66 "msreis66 (1 commits)")[![ninjainvenio](https://avatars.githubusercontent.com/u/126245833?v=4)](https://github.com/ninjainvenio "ninjainvenio (1 commits)")[![shrop](https://avatars.githubusercontent.com/u/14832?v=4)](https://github.com/shrop "shrop (1 commits)")[![skyred](https://avatars.githubusercontent.com/u/164034?v=4)](https://github.com/skyred "skyred (1 commits)")[![joaogarin](https://avatars.githubusercontent.com/u/2866604?v=4)](https://github.com/joaogarin "joaogarin (1 commits)")[![bbrala](https://avatars.githubusercontent.com/u/3294970?v=4)](https://github.com/bbrala "bbrala (1 commits)")

---

Tags

api-firstdecoupleddrupaldrupal-8drupal-distributioninstallation-profile

### Embed Badge

![Health badge](/badges/contentacms-contenta-jsonapi/health.svg)

```
[![Health](https://phpackages.com/badges/contentacms-contenta-jsonapi/health.svg)](https://phpackages.com/packages/contentacms-contenta-jsonapi)
```

###  Alternatives

[farmos/farmos

A web-based farm record keeping application.

1.2k6.7k1](/packages/farmos-farmos)[voidagency/vactory_starter_kit

Vactory is a custom Drupal profile which is developed and released by VOID Agency.

1019.7k](/packages/voidagency-vactory-starter-kit)[drupalwxt/wxt

Project template for Drupal 10 sites built with the WxT distribution.

29159.8k8](/packages/drupalwxt-wxt)[thunder/thunder-distribution

The thunder distribution

50634.8k3](/packages/thunder-thunder-distribution)[acquia/reservoir

A backend for your frontend. Powered by Drupal.

2431.7k1](/packages/acquia-reservoir)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
