Laravel Blade Components

Vaggelis Yfantis

Statami v3 Packagist Test Suite

A Laravel Blade Components integration for Statamics Antlers template engine.

Installation

Pull in your package with composer

composer require octoper/statamic-blade-components

General documentation

Laravel Blade Components

How to be used with the Antlers template engine

{{ component:hello }}

Passing Initial Parameters

You can pass data into a component by passing additional parameters

{{ component:avatar username="johndoe" }}

Passing Slots

You can pass additional content to your component via "slots" too.

{{ component:label for="email" }}
Email
{{ /component }}

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

This plugin is published under the MIT license. Feel free to use it and remember to spread love.