PHPackages                             ejtj3/php-nats - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ejtj3/php-nats

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ejtj3/php-nats
==============

Nats client

v0.3.0(1y ago)89.7k↓22.2%3[1 PRs](https://github.com/EJTJ3/php-nats/pulls)PHPPHP ^8.1CI passing

Since Jan 4Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/EJTJ3/php-nats)[ Packagist](https://packagist.org/packages/ejtj3/php-nats)[ RSS](/packages/ejtj3-php-nats/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (9)Used By (0)

Nats publisher
==============

[](#nats-publisher)

This is a simple package to publish messages to [Nats](https://github.com/nats-io/nats-server)

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

[](#installation)

You can install the package using the [Composer](https://getcomposer.org/) package manager. You can install it by running this command in your project root:

```
composer require ejtj3/php-nats
```

Setup a nats connection
-----------------------

[](#setup-a-nats-connection)

```
