Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.05 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.05 KB

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.