PHPackages                             utopia-php/cloudevents - 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. [Framework](/categories/framework)
4. /
5. utopia-php/cloudevents

ActiveLibrary[Framework](/categories/framework)

utopia-php/cloudevents
======================

Lite &amp; fast micro PHP CloudEvents implementation that is \*\*easy to use\*\*.

0.0.1(6mo ago)060.2k↓21.7%[1 issues](https://github.com/utopia-php/cloudevents/issues)MITPHPPHP &gt;=8.3

Since Nov 7Pushed 6mo agoCompare

[ Source](https://github.com/utopia-php/cloudevents)[ Packagist](https://packagist.org/packages/utopia-php/cloudevents)[ RSS](/packages/utopia-php-cloudevents/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

Utopia CloudEvents
==================

[](#utopia-cloudevents)

[![Tests](https://github.com/utopia-php/cloudevents/actions/workflows/tests.yml/badge.svg)](https://github.com/utopia-php/cloudevents/actions/workflows/tests.yml)[![Packagist Version](https://camo.githubusercontent.com/014bfd19737332ea2de7a1167ecd5fc61c17000add6290aabb104d7c65be8c27/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f75746f7069612d7068702f636c6f75646576656e74732e737667)](https://packagist.org/packages/utopia-php/cloudevents)[![Packagist Downloads](https://camo.githubusercontent.com/d3363708f278ec2a2017f9258b63de04fb3180b3e687595c7c480cdb9d5dd48e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f75746f7069612d7068702f636c6f75646576656e74732e737667)](https://camo.githubusercontent.com/d3363708f278ec2a2017f9258b63de04fb3180b3e687595c7c480cdb9d5dd48e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f75746f7069612d7068702f636c6f75646576656e74732e737667)[![Discord](https://camo.githubusercontent.com/b130cc39f0cd917f3fc3e9f94c08a8ba302c8b36d32d8914f5494c473a7070e6/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f353634313630373330383435313531323434)](https://appwrite.io/discord)

Utopia CloudEvents is a modern PHP 8.3 implementation of the CloudEvents v1.0 specification. It provides a simple, type-safe way to work with CloudEvents in your PHP applications.

Although part of the [Utopia Framework](https://github.com/utopia-php/framework) family, the library is framework-agnostic and can be used in any PHP project.

Installation
------------

[](#installation)

```
composer require utopia-php/cloudevents
```

The library requires PHP 8.3+.

What are CloudEvents?
---------------------

[](#what-are-cloudevents)

CloudEvents is a specification for describing event data in a common way. It provides a standardized format for event producers and consumers to communicate, making it easier to build event-driven architectures.

Learn more at the [CloudEvents specification](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md).

Quick Start
-----------

[](#quick-start)

### Creating a CloudEvent

[](#creating-a-cloudevent)

```
