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

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

vcarreira/wordsapi-laravel
==========================

A simple WordsAPI service provider for Laravel 5

1.0(10y ago)3137MITPHPPHP &gt;= 5.5.9

Since Feb 12Pushed 10y ago1 watchersCompare

[ Source](https://github.com/vcarreira/wordsapi-laravel)[ Packagist](https://packagist.org/packages/vcarreira/wordsapi-laravel)[ Docs](http://github.com/vcarreira/wordsapi-laravel)[ RSS](/packages/vcarreira-wordsapi-laravel/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

WordsApi
========

[](#wordsapi)

A simple Laravel 5 service provider for the [WordsApi service](https://github.com/vcarreira/wordsapi).

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

[](#installation)

Add the following line to the `require` section of `composer.json`:

```
{
    "require": {
        "vcarreira/wordsapi-laravel": "~1.0"
    }
}
```

Setup
-----

[](#setup)

In `/config/app.php`, add the following to `providers`:

```
WordsApi\WordsApiServiceProvider::class,

```

and the following to `aliases`:

```
'WordsApi' => WordsApi\Facades\WordsApi::class,

```

Configuration
-------------

[](#configuration)

In order to use the service you must first get an API key from [WordsAPI](https://www.wordsapi.com). By default, the package uses the following environment variables to auto-configure the service without modification:

```
WORDSAPI_API_KEY

```

To customize the configuration file, publish the package configuration using Artisan.

```
php artisan vendor:publish --provider="WordsApi\WordsApiServiceProvider"
```

Update your settings in the generated `app/config/wordsapi.php` configuration file.

Usage
-----

[](#usage)

To use the service within your app, you need to retrieve it from the [Laravel IoC Container](http://laravel.com/docs/ioc). The following example uses the `app` helper to retrieve information about the word 'effect'.

```
    $word = app('wordsapi')->word('effect');
    var_dump($word->definitions());
    var_dump($word->synonyms());
    var_dump($word->rhymes());
    var_dump($word->pronunciation());
```

If the facade is registered within the `aliases` section of the application configuration, you can also use the following code:

```
    $word = WordsApi::word('effect');
    var_dump($word->definitions());
    var_dump($word->synonyms());
    var_dump($word->rhymes());
    var_dump($word->pronunciation());
```

Limitation
----------

[](#limitation)

Version 1.0 does not support search requests.

Links
-----

[](#links)

- [WordsAPI](https://www.wordsapi.com)
- [WordsAPI documentation](https://www.wordsapi.com/docs)
- [WordsApi PHP wrapper](https://github.com/vcarreira/wordsapi)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

3791d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2463328?v=4)[Vitor Carreira](/maintainers/vcarreira)[@vcarreira](https://github.com/vcarreira)

---

Top Contributors

[![vcarreira](https://avatars.githubusercontent.com/u/2463328?v=4)](https://github.com/vcarreira "vcarreira (1 commits)")

---

Tags

laravellanguagelaravel 5dictionarythesaurus

### Embed Badge

![Health badge](/badges/vcarreira-wordsapi-laravel/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[vinkius-labs/laravel-page-speed

Laravel Page Speed

2.5k9.6k1](/packages/vinkius-labs-laravel-page-speed)[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

90128.1k](/packages/emargareten-inertia-modal)[linkxtr/laravel-qrcode

A clean, modern, and easy-to-use QR code generator for Laravel

3614.9k](/packages/linkxtr-laravel-qrcode)[wearepixel/laravel-cart

A cart implementation for Laravel

1355.6k](/packages/wearepixel-laravel-cart)

PHPackages © 2026

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