PHPackages                             carawebs/sage-blade-data - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. carawebs/sage-blade-data

ActiveLibrary[Templating &amp; Views](/categories/templating)

carawebs/sage-blade-data
========================

Data controllers for Sage 9 WordPress theme - insert data into Blade templates.

1.0.4(6y ago)4391GPL-3.0PHP

Since Mar 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Carawebs/sage-blade-data)[ Packagist](https://packagist.org/packages/carawebs/sage-blade-data)[ RSS](/packages/carawebs-sage-blade-data/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (7)Used By (0)

Data Controllers for Sage 9 Blade Templates
===========================================

[](#data-controllers-for-sage-9-blade-templates)

Blade is [the simple, yet powerful templating engine provided with Laravel](https://laravel.com/docs/7.x/blade).

Using Blade within Laravel is simple - but using it within a WordPress project requires some extra work to make your data available in the view.

The Roots Sage theme uses Blade, and this plugin allows you to select which resources have access to data. This may be useful if the same data needs to be presented in different views.

Usage
-----

[](#usage)

Run:

```
composer require carawebs/sage-blade-data
```

Theme Setup
-----------

[](#theme-setup)

To load, include the following at the theme level:

```
