Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeffreyvr/wp-blade
https://github.com/jeffreyvr/wp-blade
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/jeffreyvr/wp-blade
- Owner: jeffreyvr
- License: mit
- Created: 2022-07-19T09:36:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-19T09:45:56.000Z (over 2 years ago)
- Last Synced: 2024-05-03T02:28:42.435Z (7 months ago)
- Language: PHP
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
_THIS PACKAGE IS STILL IN DEVELOPMENT._
# WP Blade
Use the Laravel templating engine in your WordPress theme.The [philo/laravel-blade](https://github.com/PhiloNL/Laravel-Blade) package is used for Blade.
## Usage
```php
Jeffreyvr\WPBlade\WPBlade::boot();
```## Views
This package expects your template files to be in a `views` subfolder of your theme.## Caching
By default, the Blade cache is stored in `wp-content/blade/cache`.## Custom directives
TODO## Contributors
* [Jeffrey van Rossum](https://github.com/jeffreyvr)
* [All contributors](https://github.com/jeffreyvr/wp-settings/graphs/contributors)## License
MIT. Please see the [License File](/LICENSE) for more information.