Laravel Community Tools by Tighten
Laravel Nova icon Nova Packages
C

Create Relation on Resource

Readme

Introduction

For now, this works for BelongsTo. Only "BelongsToWithCreate" is available, my plan in the future is to do "BlongsToMany" one.

Install

Run this command in your nova project: composer require ali-awwad/create-relation-on-resource

Usage:

use AliAwwad\CreateRelationOnResource\BelongsToWithCreate;

public function fields(Request $request)
{
    return [
        BelongsToWithCreate::make('Language')->quickCreate(),
    ];
}

Thanks to:

Screenshots

Back to Top
Added 6 years ago
Last updated 6 Years Ago
Version 0.0.1
Composer
ali-awwad/create-relation-on-resource
GitHub stars 7
Packagist downloads 33,200

Favorites

12 users favorited

Rating

5.00
(out of 5)
★★★★★
★★★★
★★★
★★
1 ratings

Brought to you by Tighten

Issues/Feature Requests Stats Package Ideas