bissolli/nova-hidden-field

A hidden field for Laravel Nova.

v1.0.0 2019-02-14 12:57 UTC

This package is auto-updated.

Last update: 2024-11-15 01:33:51 UTC


README

Latest Version on Packagist Total Downloads StyleCI

Requirements

Laravel Nova, only =)

Installation

You can install this package into a Laravel app that uses Nova via composer:

composer require bissolli/nova-hidden-field

Usage

Go straight to your Nova resource and use Bissolli\NovaHiddenField\PhoneNumber field:

namespace App\Nova;

use Bissolli\NovaHiddenField\PhoneNumber;

class Member extends Resource
{
    // ...
    
    public function fields(Request $request)
    {
        return [
            // ...
            
            PhoneNumber::make('Anything')
                ->value('field value'),

            // ...
        ];
    }
}

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security-related issues, please email gustavo.bissolli@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.