laravel-contentable

Build
GitHub Branch Check Runs GitHub Tests Action Status
</div>
Project
GitHub Release Packagist Downloads GitHub License Packagist Stars Packagist Dependency Version
Quality

Laravel Contentable

๐Ÿ“ Package for easily attaching contents to Laravel eloquent models


# ๐Ÿ’ฟ Installation ### โ†’ Composer You can install the package via composer: ``` composer require yuges-code/laravel-contentable ``` ### โ†’ 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 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 After that, you need to run migrations: ``` php artisan migrate ```
# ๐Ÿงช Running Tests ### โ†’ PHPUnit tests To run tests, run the following command: ``` composer test ```
# โš–๏ธ License The MIT License (MIT). Please see [License File](/laravel-contentable/LICENSE) for more information.
# ๐Ÿ™†๐Ÿผโ€โ™‚๏ธ Authors Information Created in 2025 by: - [Yuges-code](https://github.com/yuges-code) - [All Contributors](../../contributors)