PHPackages                             jsonrai277/laravel-json-placeholder - 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. jsonrai277/laravel-json-placeholder

ActiveLibrary[API Development](/categories/api)

jsonrai277/laravel-json-placeholder
===================================

A json placeholder integration for laravel

1.0.1(1y ago)013MITPHPPHP ^8.0

Since Jul 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/yallungrai277/laravel-json-placeholder-blog)[ Packagist](https://packagist.org/packages/jsonrai277/laravel-json-placeholder)[ RSS](/packages/jsonrai277-laravel-json-placeholder/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

Laravel json placeholder
------------------------

[](#laravel-json-placeholder)

A package that integrates [Typicode Json placeholder](https://jsonplaceholder.typicode.com/) with laravel. It creates a landing, listing and view pages for all the available resources `posts`, `comments`, `albums`, `photos`, `todos`, `users`.

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

[](#installation)

Require the package.

```
composer require jsonrai277/laravel-json-placeholder
```

Publish necessary configs and views for customization. It copies the config to `config/laravel-json-placeholder` in laravel app and also the views to `resources/views/vendor/laravel-json-placeholder` directory.

```
php artisan vendor:publish --provider=JsonRai277\\LaravelJsonPlaceholder\\LaravelJsonPlaceholderServiceProvider
```

Once tag published visit the route `/resources`. It should render a nice landing page for all the available resources. Also, the config should be pretty self explanatory to override any settings.

Config
------

[](#config)

Retrieving config.

```
$config = config('laravel-json-placeholder.pagination_size'); // Returns 10 or whatever set on the config.
// Or
$config = JsonRai277\LaravelJsonPlaceholder\LaravelJsonPlaceholderConfig::getConfig('pagination_size');
```

Setting config at rung time.

```
JsonRai277\LaravelJsonPlaceholder\LaravelJsonPlaceholderConfig::setConfig('pagination_size', 10); // Sets 10.
```

Testing
-------

[](#testing)

You can run tests with:

```
vendor/bin/phpunit
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

Every ~16 days

Total

2

Last Release

695d ago

PHP version history (2 changes)1.0.0PHP ^8.2

1.0.1PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/64385647?v=4)[Sudip Rai](/maintainers/yallungrai277)[@yallungrai277](https://github.com/yallungrai277)

---

Top Contributors

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

---

Tags

Json placeholder

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/jsonrai277-laravel-json-placeholder/health.svg)

```
[![Health](https://phpackages.com/badges/jsonrai277-laravel-json-placeholder/health.svg)](https://phpackages.com/packages/jsonrai277-laravel-json-placeholder)
```

###  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.0k13](/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)
