bytelaunch / readonly-on-update
A Laravel Nova tool.
Installs: 10 498
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
pkg:composer/bytelaunch/readonly-on-update
Requires
- php: >=7.1.0
This package is auto-updated.
Last update: 2025-11-21 10:47:40 UTC
README
This package provides a readonlyOnUpdate() method to your Fields.
Example
Requirements
This package requires:
- PHP ^7.3.
- Laravel Nova ^2.0 or ^3.0.
Installation
You can install this package in a Laravel app that uses Nova via composer:
composer require bytelaunch/readonly-on-update
Usage
Add the following code in your own resource implementation:
<?php ... class YourResource extends Resource { ... public function fields(Request $request) { return [ ... // Are you ready? // -------------- // 1. Use readonlyOnUpdate() method // 2. See the results Field::make(__('Column'), 'column') // Use whatever Field ->readonlyOnUpdate() ]; }
Disclaimer
This package isn't tested, but it works well for me. Feel free to make PR with improvements.
