Skip to content

ZakariaTlilani/text-template

Repository files navigation

Laravel Nova Text Template

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.