bocanhcam/nova-japanese-transformer
A Laravel Nova field that transforms Japanese text in your admin panels, converting between hiragana, katakana, romaji, and full-width or half-width characters. Useful for normalizing kana input and keeping Japanese data consistent across Nova resources.
composer require vendor/package
php artisan vendor:publish --provider="Vendor\Package\PackageServiceProvider"
Text and Textarea field classes. In a typical Laravel package layout these live under src/Fields/ or similar; confirm the exact namespace from the package docs.Text field and a multi-line Textarea field to a form or resource definition so a model attribute can be edited and transformed consistently.
use Vendor\Package\Fields\Text;
use Vendor\Package\Fields\Textarea;
// Example schema/field registration
Text::make('title')
->rules(['required', 'string', 'max:255']);
Textarea::make('description')
->rows(5)
->rules(['nullable', 'string']);
Text::make('attribute') for short values such as names, titles, slugs, and labels. Use Textarea::make('attribute') for descriptions, notes, bios, and other long-form plain text.Text and Textarea definitions are not duplicated across multiple forms/resources.composer.json and review changelogs before upgrading, especially if you extend field classes or override views.Textarea should be treated as plain multi-line text unless documented otherwise.{!! !!} when rendering textarea content unless you have explicitly sanitised it.null, and apply that consistently so validation and database constraints behave predictably.\r\n to \n and trim surrounding whitespace if your application expects canonical text. Do this in the transformer or a dedicated mutator, not in multiple call sites.php artisan config:clear
php artisan view:clear
Stale caches are a common reason field changes appear not to take effect.sort/priority method. Missing fields are often a registration issue rather than a transformer bug.How can I help you explore Laravel packages today?