A Laravel Nova field to move index links to custom position
pavloniym/nova-shift-index-links is a Laravel package for a laravel nova field to move index links to custom position.
It currently has 0 GitHub stars and 3.035 downloads on Packagist (latest version v1.0.0).
Install it with composer require pavloniym/nova-shift-index-links.
Discover more Laravel packages by pavloniym
or browse all Laravel packages to compare alternatives.
Last updated
This Laravel Nova package adds new resource field to shift index links and move them to custom position.

php: >=8.0laravel/nova: ^4.1Install the package in a Laravel Nova project via Composer:
composer require pavloniym/nova-shift-index-links
Just add ShiftIndexLinks::make() field to your resource fields section.
By default field will move shift index links to 1 index position (after checkboxes).
You can set custom position inside row using setPosition(int $position) method.
use Pavloniym\ShiftIndexLinks\ShiftIndexLinks;
public function fields(Request $request)
{
return [
// ... Nova default fields
// Move links after checkboxes
ShiftIndexLinks::make(),
// OR set custom position
ShiftIndexLinks::make()->setPosition(4),
// ... Nova default fields
];
}
This project is open-sourced software licensed under the MIT license.