PHPackages                             bedita/bedita - 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. bedita/bedita

ActiveProject[API Development](/categories/api)

bedita/bedita
=============

BEdita API-first content management server app

v6.8.0(1mo ago)6828721[14 issues](https://github.com/bedita/bedita/issues)[8 PRs](https://github.com/bedita/bedita/pulls)LGPL-3.0-or-laterPHPPHP &gt;=8.3CI passing

Since Aug 1Pushed 2w ago11 watchersCompare

[ Source](https://github.com/bedita/bedita)[ Packagist](https://packagist.org/packages/bedita/bedita)[ Docs](https://www.bedita.com)[ RSS](/packages/bedita-bedita/feed)WikiDiscussions 6-pinus Synced 2w ago

READMEChangelog (10)Dependencies (51)Versions (193)Used By (0)Security (1)

BEdita, a back-end API
======================

[](#bedita-a-back-end-api)

[![Build Status](https://github.com/bedita/bedita/workflows/Run%20tests/badge.svg)](https://github.com/bedita/bedita/actions?query=workflow%3A%22Run+tests%22)[![Publish plugins](https://github.com/bedita/bedita/workflows/Publish%20components/badge.svg)](https://github.com/bedita/bedita/actions?query=workflow%3A%22Publish+components%22)[![Code Coverage](https://camo.githubusercontent.com/fb5a84912c55cfb3f61e3baca2b03c8e7bd034851ba239c044271c390f88b6d5/68747470733a2f2f636f6465636f762e696f2f67682f6265646974612f6265646974612f6272616e63682f352d73616c69782f67726170682f62616467652e737667)](https://codecov.io/gh/bedita/bedita/branch/5-salix)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f6f0e4bd952f74eadad51162804d522f6e3354b1383874609fe4849d779543d2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6265646974612f6265646974612f6261646765732f7175616c6974792d73636f72652e706e673f623d352d73616c6978)](https://scrutinizer-ci.com/g/bedita/bedita/?branch=5-salix)

BEdita 5 is a ready to use back-end API to handle the data of your mobile, IoT, web and desktop applications. It's also an extensible framework to build your custom back-end API via plugins.

It provides a complete content management solution with:

- a *headless* HTTP server application with a complete REST API to model, create, modify and retrieve data
- a default admin web application **[BEdita Manager](https://github.com/bedita/manager)**

BEdita 5 is built with [CakePHP 4](http://cakephp.org) and uses relational DBMS like [MySQL](http://www.mysql.com), [Postgres](https://www.postgresql.org) or [SQLite](http://sqlite.com) in conjunction with (optional) NoSQL systems like [Redis](http://redis.io/), [Elastic Search](https://www.elastic.co/) or time series databases to boost performance and scale up to Big Data scenarios.

[JSON-API](http://jsonapi.org) is the primary exchange data format.

[GrapQL](http://graphql.org) initial support available via dedicated plugin.

The easiest and quickest way to try out BEdita4 is via [Docker](https://www.docker.com), [read instructions below](#docker).

Prerequisites
-------------

[](#prerequisites)

- PHP 7.4, 8.0, 8.1, 8.2 or 8.3 with extensions: `json`, `mbstring`, `fileinfo`, `intl`, `pdo`, `simplexml`
- MySQL 8.0 (recommended) or MySQL 5.7, Postgres 11/12/13/14, MariaDB 10.2/10.3/10.4 or SQLite 3
- [Composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx)

Install
-------

[](#install)

For a detailed setup overview see [Setup Documentation](https://docs.bedita.net/en/latest/setup.html)

Quick setup in three steps.

1. Create project via composer

```
 composer create-project bedita/bedita
```

If you are using a **.zip** or **.tar.gz** release file you just need to unpack it and then run `composer install`.

2. Create an empty database either MySQL or PostgresSQL. Do nothing for SQLite.
3. Change to the newly created folder and run this script to initialize the database and create first admin user:

```
 bin/cake bedita setup
```

See [Web Server setup](https://docs.bedita.net/en/latest/setup.html#web-server)to configure a virtualhost in your webserver. To see first [`/home` endpoint](https://docs.bedita.net/en/latest/endpoints/home.html) response you may point to `http://your-vhost/home`

Curl example:

```
 curl -H Accept:application/json http://your-vhost/home
```

Otherwise, only for development or test setups, you can take advantage of PHP builtin server with this simple command:

```
 bin/cake server
```

and see `/home` endpoint response pointing to `http://localhost:8765/home` like this:

```
 curl -H Accept:application/json http://localhost:8765/home
```

For an explanation on `Accept` headers usage [read here](https://docs.bedita.net/en/latest/endpoints/intro.html#headers).

Docker
------

[](#docker)

See [Docker setup documentation](https://docs.bedita.net/en/latest/setup.html#setup-docker) for a more detailed overview.

### Pull official image

[](#pull-official-image)

Get latest offical image build from Docker Hub

```
 docker pull bedita/bedita:latest
```

You may also use `:5-salix` tag instead of `:latest`, they are currently synonyms.

### Build image

[](#build-image)

If you want to build an image from local sources you can do it like this from BEdita root folder:

```
 docker build -t bedita5-local .
```

You may of course choose whatever name you like for the generated image instead of `bedita5-local`.

### Run

[](#run)

Run a Docker image setting an initial API KEY and admin username and password, like this:

```
 docker run -p 8090:80 --env BEDITA_API_KEY=1029384756 \
    --env BEDITA_ADMIN_USR=admin --env BEDITA_ADMIN_PWD=admin \
    bedita/bedita:latest
```

This will launch a BEdita4 instance using `SQLite` as its storage backend. It should become available at  almost instantly.

Replace `bedita/bedita:latest` with `bedita5-local` (or other chosen name) to lanch a local built image.

Documentation
-------------

[](#documentation)

Developer documentation can be found [here](https://docs.bedita.net)

Licensing
---------

[](#licensing)

BEdita is released under [LGPL](/bedita/bedita/blob/master/LICENSE.LGPL), Lesser General Public License v3.

###  Health Score

64

—

FairBetter than 99% of packages

Maintenance90

Actively maintained with recent releases

Popularity27

Limited adoption so far

Community27

Small or concentrated contributor base

Maturity97

Battle-tested with a long release history

 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 ~18 days

Total

178

Last Release

35d ago

Major Versions

v4.13.0 → v5.13.02023-06-08

v4.13.1 → v5.13.92023-07-31

v5.44.0 → v6.0.02025-11-21

v5.45.1 → v6.0.12025-11-24

v5.46.0 → v6.5.02026-03-11

PHP version history (6 changes)v4.0.0-alphaPHP &gt;=5.6.0

v4.0.0-RC2PHP &gt;=7.1.0

v4.4.0PHP &gt;=7.2.0

v5.0.0-alphaPHP ^7.4 || ^8.0

v6.0.0PHP &gt;=8.3

v5.45.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/00305fda0159b5d71f7bd6848ae7d3f7ac27d0179d79d58c4847848c8bd673e0?d=identicon)[fquffio](/maintainers/fquffio)

![](https://avatars.githubusercontent.com/u/877076?v=4)[Mugdin Hasanbegovic](/maintainers/bato)[@Bato](https://github.com/Bato)

![](https://www.gravatar.com/avatar/33c95e1516af3f48ebb2057caafd7f331a7aaae58c52442f8e8d00e03b211da9?d=identicon)[stefanorosanelli](/maintainers/stefanorosanelli)

![](https://www.gravatar.com/avatar/8762bf55fa377228164991afe77ca94b7384eb1f5ed79781cad7835624cc27c3?d=identicon)[d.didomenico](/maintainers/d.didomenico)

---

Top Contributors

[![stefanorosanelli](https://avatars.githubusercontent.com/u/2122280?v=4)](https://github.com/stefanorosanelli "stefanorosanelli (2242 commits)")[![fquffio](https://avatars.githubusercontent.com/u/7108146?v=4)](https://github.com/fquffio "fquffio (1374 commits)")[![batopa](https://avatars.githubusercontent.com/u/1306319?v=4)](https://github.com/batopa "batopa (882 commits)")[![didoda](https://avatars.githubusercontent.com/u/2227145?v=4)](https://github.com/didoda "didoda (665 commits)")[![le0m](https://avatars.githubusercontent.com/u/10656716?v=4)](https://github.com/le0m "le0m (83 commits)")[![paolosantarsiero](https://avatars.githubusercontent.com/u/57118410?v=4)](https://github.com/paolosantarsiero "paolosantarsiero (17 commits)")[![nicolocarpignoli](https://avatars.githubusercontent.com/u/22395670?v=4)](https://github.com/nicolocarpignoli "nicolocarpignoli (10 commits)")[![edoardocavazza](https://avatars.githubusercontent.com/u/3907295?v=4)](https://github.com/edoardocavazza "edoardocavazza (8 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")[![andresbautista](https://avatars.githubusercontent.com/u/40041798?v=4)](https://github.com/andresbautista "andresbautista (2 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (2 commits)")[![Vavaste](https://avatars.githubusercontent.com/u/45969047?v=4)](https://github.com/Vavaste "Vavaste (1 commits)")

---

Tags

api-firstapi-serverbackendbeditacakephpmysqlphpphp7php8postgresrestful-api

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/bedita-bedita/health.svg)

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

###  Alternatives

[bedita/manager

BEdita Manager - official admin webapp for BEdita4 API

131.1k](/packages/bedita-manager)[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.8M712](/packages/sylius-sylius)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69734.4M144](/packages/algolia-algoliasearch-client-php)[google/gax

Google API Core for PHP

268111.6M516](/packages/google-gax)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.7k371.6k6](/packages/theodo-group-llphant)

PHPackages © 2026

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