basecodeoy / laravel-relatable
A package to manage related content with Laravel Eloquent.
0.0.2
2024-11-05 05:39 UTC
Requires
- php: ^8.2
- basecodeoy/laravel-package-powerpack: ^0.0.1
- illuminate/contracts: ^11.0
Requires (Dev)
- basecodeoy/php-cs-fixer-config: ^0.0.1
- ergebnis/composer-normalize: ^2.2
- friendsofphp/php-cs-fixer: ^3.15
- infection/infection: ^0.27.0
- nunomaduro/collision: ^7.0
- nunomaduro/larastan: ^2.0
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- pestphp/pest-plugin-watch: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpstan/phpstan-strict-rules: ^1.5
- spatie/laravel-ray: ^1.2
README
This project was created by, and is maintained by Brian Faust, and is a package to manage related content with Laravel Eloquent. Be sure to browse through the changelog, code of conduct, contribution guidelines, license, and security policy.
Note This package is based on spatie/laravel-relatable by Spatie.
Installation
Note This package requires PHP 8.2 or later, and it supports Laravel 10 or later.
To get the latest version, simply require the project using Composer:
$ composer require faustbrian/laravel-relatable
You can publish the migrations by using:
$ php artisan vendor:publish --tag="laravel-relatable-migrations"
You can publish the configuration file by using:
$ php artisan vendor:publish --tag="laravel-relatable-config"
Usage
Please review the contents of our test suite for detailed usage examples.