PHPackages                             oliverearl/nomiai-php-laravel - 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. oliverearl/nomiai-php-laravel

ActiveLibrary[API Development](/categories/api)

oliverearl/nomiai-php-laravel
=============================

Laravel library for interacting with the Nomi.ai API

1.1.4(1mo ago)11MITPHPPHP ^8.3CI passing

Since Dec 2Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/oliverearl/nomiai-php-laravel)[ Packagist](https://packagist.org/packages/oliverearl/nomiai-php-laravel)[ Docs](https://github.com/oliverearl/nomiai-php-laravel)[ Fund](https://www.buymeacoffee.com/oliverearl)[ Fund](https://ko-fi.com/oliverearl)[ RSS](/packages/oliverearl-nomiai-php-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)Dependencies (24)Versions (11)Used By (0)

Nomi.ai Laravel Wrapper for PHP Library
=======================================

[](#nomiai-laravel-wrapper-for-php-library)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e994930cd779aac73c3bdafe00f117ba5e7cc9b6010d0bb408fbee69e017ea34/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f6c697665726561726c2f6e6f6d6961692d7068702d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/oliverearl/nomiai-php-laravel)[![GitHub Tests Action Status](https://camo.githubusercontent.com/550c15d54f98d26d591372748a4e31f05344af927369fbc797b9f93c5e1723b9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6f6c697665726561726c2f6e6f6d6961692d7068702d6c61726176656c2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/oliverearl/nomiai-php-laravel/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/c8c31fb85d77eee838af2cf97affb42a6ba49de27d6c075c60fef4538d8a9a67/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6f6c697665726561726c2f6e6f6d6961692d7068702d6c61726176656c2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/oliverearl/nomiai-php-laravel/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/1c31a6fa4f96b739a40f6956663a224bcbb1c570b8b64bbf8511d64f55e39ab7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f6c697665726561726c2f6e6f6d6961692d7068702d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/oliverearl/nomiai-php-laravel)

This is a wrapper for the [Nomi.ai PHP library](https://github.com/oliverearl/nomiai-php) for easy integration into Laravel applications. [Nomi.ai](https://www.nomi.ai) is a companionship application that uses artificial intelligence.

You will need at least PHP 8.3 with the JSON extension, and Laravel 11 or above.

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

[](#installation)

You can install the package via composer:

```
composer require oliverearl/nomiai-php-laravel
```

You can publish the config file with:

```
php artisan vendor:publish --tag="nomiai-php-laravel-config"
```

Usage
-----

[](#usage)

To get started, you simply need to add your Nomi.ai API key to your `.env.` file under `NOMIAI_API_KEY`. You can also provide a custom endpoint under `NOMIAI_ENDPOINT` if you need this functionality.

From here, you can access the Nomi.ai PHP library using its facade. Laravel will automatically use your default HTTP library, however that might be configured.

```
use \Nomiai\PhpSdk\Laravel\Facades\NomiAI;

/** @var array $nomis */
$nomis = NomiAI::getNomis();

$conversation = NomiAi::sendMessageToNomi(collect($nomis)->first(), 'Hello Nomi!');
```

Please check the PHP library documentation for more information on available functionality.

Testing
-------

[](#testing)

Tests are run using the [Pest](https://pestphp.com/) testing framework. You can run the suite like so:

```
composer test
```

Code Style
----------

[](#code-style)

Laravel Pint is used to maintain the PER coding style. The linter can be run using:

```
composer format
```

There are Pest architecture tests that also attempt to maintain certain conventions, including the use of strict typing where possible.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Your contributions are warmly welcomed! Anything from documentation, to optimisations, and additional tests. Pull requests must pass the existing test suite and conform to the required code style.

For new functionality, adequate tests must be included!

Please see [CONTRIBUTING.md](CONTRIBUTING.md) for detailed contribution guidelines.

Security
--------

[](#security)

If you discover a security vulnerability, please review our [Security Policy](SECURITY.md) for responsible disclosure procedures.

Credits
-------

[](#credits)

- [Oliver Earl](https://github.com/oliverearl)
- [Nomi.ai](https://www.nomi.ai)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance90

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 69.8% of commits — single point of failure

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

Recently: every ~94 days

Total

9

Last Release

56d ago

Major Versions

v0.1.0-alpha → 1.0.02024-12-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/10ca9d5f46f753e8297ae6cc53c018fa833f9e1bc7785c6397a45e7fbc17f033?d=identicon)[oliverearl](/maintainers/oliverearl)

---

Top Contributors

[![oliverearl](https://avatars.githubusercontent.com/u/14837181?v=4)](https://github.com/oliverearl "oliverearl (37 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (11 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (5 commits)")

---

Tags

aiartificial-intelligencelaravel-packagenominomi-aiartificial intelligencenomi ainomi

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/oliverearl-nomiai-php-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/oliverearl-nomiai-php-laravel/health.svg)](https://phpackages.com/packages/oliverearl-nomiai-php-laravel)
```

###  Alternatives

[spatie/laravel-route-discovery

Auto register routes using PHP attributes

23645.0k2](/packages/spatie-laravel-route-discovery)[scalar/laravel

Render your OpenAPI-based API reference

6183.9k2](/packages/scalar-laravel)[ryangjchandler/bearer

Minimalistic token-based authentication for Laravel API endpoints.

8129.8k](/packages/ryangjchandler-bearer)[combindma/laravel-facebook-pixel

Meta pixel integration for Laravel

4956.9k](/packages/combindma-laravel-facebook-pixel)[stechstudio/laravel-hubspot

A Laravel SDK for the HubSpot CRM Api

2971.0k](/packages/stechstudio-laravel-hubspot)[njoguamos/laravel-plausible

A laravel package for interacting with plausible analytics api.

208.8k](/packages/njoguamos-laravel-plausible)

PHPackages © 2026

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