zakariatlilani/text-template

A Laravel Nova field.

1.1.1 2024-01-12 10:57 UTC

This package is auto-updated.

Last update: 2024-05-13 09:04:36 UTC


README

Support laravel nova 3.

Installation

composer require zakariatlilani/text-template

Usage

use zakariatlilani\texttemplate\TextTemplate;

    TextTemplate::make('Name')
        ->category('category')  // the category related to the text template
        ->endpoint('/api/loadData/{category}/product/{product}'), // the endpoint related to the template (a product in this scenario)

i recommend using it with this package: nova-simple-repeatable.

Credits

License

Nova Text template is open-sourced software licensed under the MIT license.