This package provides custom directives so you can easily access Statamic data in your Blade templates.
- PHP 7.4+
- Statamic v3
You can install this package via composer using:
composer require edalzell/blade-directives
The package will automatically register itself.
@collection('pages', ['where' => 'title:My Title,author:Erin', 'limit' => 3, 'orderBy' => 'title:desc'])
{{ $entry['title'] }}
@endcollection
Run the tests with:
vendor/bin/phpunit
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email addon-security@silentz.co instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.