PHPackages                             taylornetwork/row-col-renderer - 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. taylornetwork/row-col-renderer

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

taylornetwork/row-col-renderer
==============================

013PHP

Since May 17Pushed 6y ago1 watchersCompare

[ Source](https://github.com/taylornetwork/row-col-renderer)[ Packagist](https://packagist.org/packages/taylornetwork/row-col-renderer)[ RSS](/packages/taylornetwork-row-col-renderer/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)DependenciesVersions (1)Used By (0)

RowColRenderer
==============

[](#rowcolrenderer)

This package dynamically renders Bootstrap rows and cols depending on the number of items a model has.

You can set a maximum per row

Examples:

Install
-------

[](#install)

```
$ composer require taylornetwork/row-col-renderer
```

Usage
-----

[](#usage)

To generate a new Renderer run

```
$ php artisan make:renderer ModelName
```

Where `ModelName` is the name of the model you want to use for this renderer.

This would generate a `App\Renderers\ModelNameRenderer` class

```
use Illuminate\Database\Eloquent\Model;
use TaylorNetwork\RowColRenderer\Renderer;

class ModelNameRenderer extends Renderer
{
    protected $model = \App\ModelName::class;

    public function getView(Model $item): string
    {
        return view('someview', ['someModel' => $item]);
    }
}
```

To use all you need is to create a view or string to output the item data.

### Example

[](#example)

Let's say you have a landing page that you want to display some of the services you offer to clients.

You have a model `App\Service`

You would create a view `resources/views/partials/service.blade.php`

```

    {{ $service->title }}

```

Run the artisan command

```
$ php artisan make:renderer Service
```

In your `app/Renderers/ServiceRenderer.php`

```
use Illuminate\Database\Eloquent\Model;
use TaylorNetwork\RowColRenderer\Renderer;

class ServiceRenderer extends Renderer
{
    protected $model = \App\Service::class;

    public function getView(Model $item): string
    {
        return view('partials.service', ['service' => $item]);
    }
}
```

Then where ever you want to render the services:

```
{!! Renderer::service()->render() !!}

```

**9 Services**

Col 1Col 2Col 3Col 4**Row 1**Service 1Service 2Service 3-**Row 2**Service 4Service 5Service 6-**Row 3**Service 7Service 8Service 9-**8 Services**

Col 1Col 2Col 3Col 4**Row 1**Service 1Service 2Service 3Service 4**Row 2**Service 5Service 6Service 7Service 8**7 Services**

Col 1Col 2Col 3Col 4**Row 1**Service 1Service 2Service 3Service 4**Row 2**Service 5Service 6Service 7-

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

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://www.gravatar.com/avatar/83340094473f0bf5b2cf062bf394df221a52a30aa0e21cd0a77302977d6393ce?d=identicon)[samueljtaylor](/maintainers/samueljtaylor)

---

Top Contributors

[![samyrataylor](https://avatars.githubusercontent.com/u/15961687?v=4)](https://github.com/samyrataylor "samyrataylor (8 commits)")

### Embed Badge

![Health badge](/badges/taylornetwork-row-col-renderer/health.svg)

```
[![Health](https://phpackages.com/badges/taylornetwork-row-col-renderer/health.svg)](https://phpackages.com/packages/taylornetwork-row-col-renderer)
```

PHPackages © 2026

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