PHPackages                             yuges-code/laravel-contentable - 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. [Templating &amp; Views](/categories/templating)
4. /
5. yuges-code/laravel-contentable

ActiveLibrary[Templating &amp; Views](/categories/templating)

yuges-code/laravel-contentable
==============================

📝 Package for easily attaching contents to Laravel eloquent models

1.0.14(5mo ago)316MITPHPPHP ^8.4CI passing

Since Aug 31Pushed 5mo agoCompare

[ Source](https://github.com/yuges-code/laravel-contentable)[ Packagist](https://packagist.org/packages/yuges-code/laravel-contentable)[ Docs](https://yuges-code.github.io/laravel-contentable)[ GitHub Sponsors](https://github.com/yuges-code)[ RSS](/packages/yuges-code-laravel-contentable/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (16)Used By (0)

 [![](https://raw.githubusercontent.com/yuges-code/laravel-contentable/master/assets/logo.png)](https://raw.githubusercontent.com/yuges-code/laravel-contentable/master/assets/logo.png)

 **Build **[![GitHub Branch Check Runs](https://camo.githubusercontent.com/e1d9f347ee843fb2108f5de50b34a0a12cc1a92c84561a8e37431f6aa062a24b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636865636b2d72756e732f79756765732d636f64652f6c61726176656c2d636f6e74656e7461626c652f6d61696e)](https://camo.githubusercontent.com/e1d9f347ee843fb2108f5de50b34a0a12cc1a92c84561a8e37431f6aa062a24b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636865636b2d72756e732f79756765732d636f64652f6c61726176656c2d636f6e74656e7461626c652f6d61696e) [![GitHub Tests Action Status](https://camo.githubusercontent.com/4322e607e77729932e6e397deb6671631f8988909ac4356543a737eea64bbef5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f79756765732d636f64652f6c61726176656c2d636f6e74656e7461626c652f74657374696e672e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/4322e607e77729932e6e397deb6671631f8988909ac4356543a737eea64bbef5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f79756765732d636f64652f6c61726176656c2d636f6e74656e7461626c652f74657374696e672e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)****

 ******Project** [![GitHub Release](https://camo.githubusercontent.com/5778226a438220c835e7afee4356165f4cbdebb7452773bc32e72e499d462cf9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f79756765732d636f64652f6c61726176656c2d636f6e74656e7461626c65)](https://camo.githubusercontent.com/5778226a438220c835e7afee4356165f4cbdebb7452773bc32e72e499d462cf9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f79756765732d636f64652f6c61726176656c2d636f6e74656e7461626c65) [![Packagist Downloads](https://camo.githubusercontent.com/c7a540f86a2b80986f48807f9152892f500239b7475c1c6ff3db3ca8a9ab11b1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f79756765732d636f64652f6c61726176656c2d636f6e74656e7461626c65)](https://camo.githubusercontent.com/c7a540f86a2b80986f48807f9152892f500239b7475c1c6ff3db3ca8a9ab11b1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f79756765732d636f64652f6c61726176656c2d636f6e74656e7461626c65) [![GitHub License](https://camo.githubusercontent.com/9bfa41b8aebd6840e9ed3d1db68182593a0e6f1d9ba608d678557a2b3a2f5a9f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f79756765732d636f64652f6c61726176656c2d636f6e74656e7461626c65)](https://camo.githubusercontent.com/9bfa41b8aebd6840e9ed3d1db68182593a0e6f1d9ba608d678557a2b3a2f5a9f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f79756765732d636f64652f6c61726176656c2d636f6e74656e7461626c65) [![Packagist Stars](https://camo.githubusercontent.com/88208c280f1db39732983e41f1070e6f95343c579097da23e09e8c1461f2100f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f73746172732f79756765732d636f64652f6c61726176656c2d636f6e74656e7461626c65)](https://camo.githubusercontent.com/88208c280f1db39732983e41f1070e6f95343c579097da23e09e8c1461f2100f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f73746172732f79756765732d636f64652f6c61726176656c2d636f6e74656e7461626c65) [![Packagist Dependency Version](https://camo.githubusercontent.com/017e6612a1aec88eebd2516132d585099f9b8595713e608ca82d42572ae2ae5f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f79756765732d636f64652f6c61726176656c2d636f6e74656e7461626c652f706870)](https://camo.githubusercontent.com/017e6612a1aec88eebd2516132d585099f9b8595713e608ca82d42572ae2ae5f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f79756765732d636f64652f6c61726176656c2d636f6e74656e7461626c652f706870)

 **Quality**

Laravel Contentable
===================

[](#laravel-contentable)

### 📝 Package for easily attaching contents to Laravel eloquent models

[](#-package-for-easily-attaching-contents-to-laravel-eloquent-models)

💿 Installation
==============

[](#-installation)

### → Composer

[](#-composer)**** You can install the package via composer:

```
composer require yuges-code/laravel-contentable

```

### → Publishing Config

[](#-publishing-config)

Publishing the config file (config/contentable.php) is optional:

```
php artisan vendor:publish --provider="Yuges\Contentable\Providers\ContentableServiceProvider" --tag="contentable-configs"

```

### → Publishing Migrations

[](#-publishing-migrations)

You need to publish the migrations to create the processes and stages tables:

```
php artisan vendor:publish --provider="Yuges\Contentable\Providers\ContentableServiceProvider" --tag="contentable-migrations"

```

### → Running Migrations

[](#-running-migrations)

After that, you need to run migrations:

```
php artisan migrate

```

🧪 Running Tests
===============

[](#-running-tests)

### → PHPUnit tests

[](#-phpunit-tests)

To run tests, run the following command:

```
composer test

```

⚖️ License
==========

[](#️-license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

🙆🏼‍♂️ Authors Information
=========================

[](#‍️-authors-information)

Created in 2025 by:

- [Yuges-code](https://github.com/yuges-code)
- [All Contributors](../../contributors)

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance72

Regular maintenance activity

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

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

Total

15

Last Release

156d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1aed716bd0f2c595ae974ee3aebc6f4c1488f8e5851c754a05a3467a0b70ed23?d=identicon)[yuges-code](/maintainers/yuges-code)

---

Top Contributors

[![goshasafonov](https://avatars.githubusercontent.com/u/48834605?v=4)](https://github.com/goshasafonov "goshasafonov (27 commits)")[![yuges-code](https://avatars.githubusercontent.com/u/186908593?v=4)](https://github.com/yuges-code "yuges-code (16 commits)")

---

Tags

contentslaravelmorphablepackagephpyugesphplaravelpackagetemplatecontentsyuges

### Embed Badge

![Health badge](/badges/yuges-code-laravel-contentable/health.svg)

```
[![Health](https://phpackages.com/badges/yuges-code-laravel-contentable/health.svg)](https://phpackages.com/packages/yuges-code-laravel-contentable)
```

###  Alternatives

[tomatophp/filament-wallet

Account Balance / Wallets Manager For FilamentPHP and Filament Account Builder

3528.5k2](/packages/tomatophp-filament-wallet)[tomatophp/filament-subscriptions

Manage subscriptions and feature access with customizable plans in FilamentPHP

628.1k](/packages/tomatophp-filament-subscriptions)

PHPackages © 2026

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