Looking for maintainers: As I'm not using Statamic these days and I don't have a the time to maintain the package I'm looking for anyone who want to take the ownerhip of it! You can reach out via email [email protected]
A Laravel Blade Components integration for Statamics Antlers template engine.
You can install the package via composer:
composer require octoper/statamic-blade-components{{ component:hello }}You can pass data into a component by passing additional parameters
{{ component:avatar username="johndoe" }}You can pass additional content to your component via "slots" too.
{{ component:label for="email" }}
Email
{{ /component:label }}or even named slots
{{ component:label for="email" }}
{{ component:slot name="title" }}
Email
{{ /component:slot}}
{{ /component:label }}composer testIf you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.