has-many-count
Laravel Nova HasMany Count Field
Requirements
This Nova field requires Nova 2.
Installation
composer require sashalenz/has-many-count
Usage
use Sashalenz\HasManyCount\HasManyCount;
HasManyCount::make(__('Posts'), 'posts'),
License
The MIT License (MIT). Please see License File for more information.