https://github.com/krypt0nn/php-blueprints
PHP blueprints
https://github.com/krypt0nn/php-blueprints
php
Last synced: 12 months ago
JSON representation
PHP blueprints
- Host: GitHub
- URL: https://github.com/krypt0nn/php-blueprints
- Owner: krypt0nn
- License: gpl-3.0
- Created: 2021-08-18T07:55:04.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-18T08:06:52.000Z (almost 5 years ago)
- Last Synced: 2025-01-06T06:43:35.579Z (over 1 year ago)
- Topics: php
- Language: PHP
- Homepage:
- Size: 18.6 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
🚀 php-blueprints
**php-blueprints** is a library that can make your life easier
This library provides functionality to create html/php blueprints and use them in your other files
## Installation
```
composer require krypt0nn/php-blueprints
```
## Example
File `input/blank.php`
```html
Example blueprint
@section(body)
```
File `input/index.php`
```html
@include(blank)
@section(body)
Hello, World!
Hello, World!
Hello, World!
Hello, World!
@end
```
Run this code
```php
Example blueprint
Hello, World!
Hello, World!
Hello, World!
Hello, World!