PHPackages                             ezamlinux/happy - 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. ezamlinux/happy

ActiveLibrary[API Development](/categories/api)

ezamlinux/happy
===============

Api Utility

01PHP

Since Jul 1Pushed 6y ago1 watchersCompare

[ Source](https://github.com/ezamlinux/Happy)[ Packagist](https://packagist.org/packages/ezamlinux/happy)[ RSS](/packages/ezamlinux-happy/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Happy
=====

[](#happy)

Happy Package for Api creation

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

[](#installation)

`composer require ezamlinux/happy`

add the following in your config/app.php

```
'providers' => [
    // Others Providers
    Happy\Providers\ServiceProvider::class,
]
```

Command
-------

[](#command)

`php artisan happy:init`

create user and oauth token

`php artisan happy:key`

create ouath token for user

`php artisan happy:model`

Act like this command : `php artisan make:model Robot --api --factory --migration` but store inside an Http\\Api directory

`php artisan happy:route`

generate route in json file ( for JS purpose, see publishable/route.js)

Trait
-----

[](#trait)

Trait for automating test in api context (CRUD operation with excepted response) based on Route::apiResource() method

see Console/Commands/stubs/test for example file (would be automated soon)`

use Factory so make it good

Exemple `php artisan test` :

```
routes/api.php
Route::apiResource('human', 'HumanController');

//
PASS Tests\Api\HumanTest
✓ index // 200 Ok
✓ store // 201 Created
✓ show // 200 Ok
✓ update // 200 Ok
✓ update unknow // 404 Not Found
✓ delete // 204 No content
✓ delete twice // 404 Not Found
```

Publish
-------

[](#publish)

config file

route.js : JavaScript route() helper

Todo
----

[](#todo)

Better configuration and advanced fonctionnality Better database clean after test

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17520653?v=4)[eZam](/maintainers/ezamlinux)[@ezamlinux](https://github.com/ezamlinux)

---

Top Contributors

[![ezamlinux](https://avatars.githubusercontent.com/u/17520653?v=4)](https://github.com/ezamlinux "ezamlinux (5 commits)")

### Embed Badge

![Health badge](/badges/ezamlinux-happy/health.svg)

```
[![Health](https://phpackages.com/badges/ezamlinux-happy/health.svg)](https://phpackages.com/packages/ezamlinux-happy)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k14](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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