PHPackages                             ianrothmann/ain-laravel-sdk - 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. ianrothmann/ain-laravel-sdk

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

ianrothmann/ain-laravel-sdk
===========================

SDK for use with AIN Laravel.

1.0.39(2y ago)05.0kMITPHPPHP &gt;=7.4

Since Aug 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ianrothmann/ain-laravel-sdk)[ Packagist](https://packagist.org/packages/ianrothmann/ain-laravel-sdk)[ RSS](/packages/ianrothmann-ain-laravel-sdk/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (10)Dependencies (1)Versions (61)Used By (0)

Ain Laravel SDK
---------------

[](#ain-laravel-sdk)

Try it out with the Ain Facade. Proper documentation will follow soon. Here are a few tasks:

```
    public function tldr()
    {
        $result=\Ain::TLdr()
            ->text($this->story)
            ->get();

        dd($result);
    }

    public function summarize()
    {
        $result=\Ain::summarize()
            ->text($this->story)
            ->inFirstPerson()
            ->forTargetGradeLevel(2)
            ->force()
            ->get();

        dd($result);
    }

    public function keywords()
    {
        $result=\Ain::extractKeywords()
            ->fromText($this->story)
            ->get();

        dd($result);
    }

    public function themes()
    {
        $result=\Ain::extractThemes()
            ->fromText($this->story)
            ->forContext('A person tells a story')
            ->get();

        dd($result);
    }

    public function sentiment()
    {
        $result=\Ain::classifySentiment()
            ->forSentences(['I like my dog','I dont like winter'])
            ->get();

        dd($result);
    }

    public function grammar()
    {
        $result=\Ain::languageCheck()
            ->text($this->spelling)
            ->get();

        dd($result);
    }

    public function rewriter()
    {
        $result=\Ain::rewrite()
            ->text($this->story)
            ->withHighCreativity()
            ->get();

        dd($result);
    }

    public function splitNames()
    {
        $result=\Ain::splitNames()
            ->forList(['Ian Rothmann','Hill, Peter'])
            ->get();

        dd($result);
    }
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 88.6% 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 ~10 days

Total

60

Last Release

865d ago

Major Versions

0.1.38 → 1.0.392023-10-08

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4319223?v=4)[Ian Rothmann](/maintainers/ianrothmann)[@ianrothmann](https://github.com/ianrothmann)

---

Top Contributors

[![ianrothmann](https://avatars.githubusercontent.com/u/4319223?v=4)](https://github.com/ianrothmann "ianrothmann (70 commits)")[![EA-Wardie](https://avatars.githubusercontent.com/u/56725833?v=4)](https://github.com/EA-Wardie "EA-Wardie (9 commits)")

### Embed Badge

![Health badge](/badges/ianrothmann-ain-laravel-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/ianrothmann-ain-laravel-sdk/health.svg)](https://phpackages.com/packages/ianrothmann-ain-laravel-sdk)
```

###  Alternatives

[illuminate/pagination

The Illuminate Pagination package.

12234.6M1.1k](/packages/illuminate-pagination)[illuminate/pipeline

The Illuminate Pipeline package.

9350.2M308](/packages/illuminate-pipeline)[illuminate/broadcasting

The Illuminate Broadcasting package.

7127.4M233](/packages/illuminate-broadcasting)[illuminate/redis

The Illuminate Redis package.

8314.8M406](/packages/illuminate-redis)[illuminate/cookie

The Illuminate Cookie package.

224.7M144](/packages/illuminate-cookie)[forjedio/inertia-table

Backend-driven dynamic tables for Laravel + Inertia.js

272.0k](/packages/forjedio-inertia-table)

PHPackages © 2026

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