Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

Commit

Permalink
2.0.0-rc.1
Browse files Browse the repository at this point in the history
  • Loading branch information
afbora committed Jun 22, 2022
1 parent 3b380ba commit 2dbd6e0
Show file tree
Hide file tree
Showing 343 changed files with 7,223 additions and 4,427 deletions.
33 changes: 4 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
[![Release](https://img.shields.io/github/v/release/afbora/kirby-blade?style=flat-square)](https://github.com/afbora/kirby-blade)
[![License](https://img.shields.io/github/license/afbora/kirby-blade?style=flat-square)](https://github.com/afbora/kirby-blade)

Kirby Blade use Laravel `illuminate/view` 8.x package and compatible with Kirby 3.
Kirby Blade use Laravel `illuminate/view` 9.x package and compatible with Kirby 3.

This package enable [Laravel Blade](https://laravel.com/docs/8.x/blade) for your own Kirby applications.
This package enable [Laravel Blade](https://laravel.com/docs/9.x/blade) for your own Kirby applications.

## Installation

Expand All @@ -33,9 +33,9 @@ According to Laravel Blade documentation is:
## Usage

You can use the power of Blade like [Layouts](https://laravel.com/docs/8.x/blade#building-layouts), [Forms](https://laravel.com/docs/8.x/blade#forms), [Sub-Views](https://laravel.com/docs/8.x/blade#including-subviews), [Components](https://laravel.com/docs/8.x/blade#components), [Directives](https://laravel.com/docs/8.x/blade#blade-directives) and your custom if statements.
You can use the power of Blade like [Layouts](https://laravel.com/docs/9.x/blade#building-layouts), [Forms](https://laravel.com/docs/9.x/blade#forms), [Sub-Views](https://laravel.com/docs/9.x/blade#including-subviews), [Components](https://laravel.com/docs/9.x/blade#components), [Directives](https://laravel.com/docs/9.x/blade#blade-directives) and your custom if statements.

All the documentation about Laravel Blade is in the [official documentation](https://laravel.com/docs/8.x/blade).
All the documentation about Laravel Blade is in the [official documentation](https://laravel.com/docs/9.x/blade).

## Options

Expand All @@ -60,25 +60,6 @@ Default templates folder is `site/templates` directory or wherever you define yo
'afbora.blade.templates' => '/theme/default/templates',
```

You can find Kirby Starterkit blade templates in repository `/templates` folder.

```
├── layouts
│ └── default.blade.php
├── partials
│ ├── album.blade.php
│ ├── image.blade.php
│ ├── note.blade.php
│ └── photography.blade.php
├── about.blade.php
├── album.blade.php
├── default.blade.php
├── home.blade.php
├── note.blade.php
├── notes.blade.php
└── photography.blade.php
```

### Views

All the views generated are stored in `site/cache/views` directory or wherever you define your `cache` directory, but you can change this easily:
Expand Down Expand Up @@ -167,10 +148,6 @@ After declaration you can use it like:
@endlogged
```

### Filters

**Breaking Change: After the 1.6 version, the filters feature has been removed. Use 1.5.x to use filters.**

### Minify

**Setup**
Expand Down Expand Up @@ -212,5 +189,3 @@ After declaration you can use it like:
| doRemoveOmittedQuotes | remove quotes e.g. class="lall" => class=lall |
| doRemoveOmittedHtmlTags | remove ommitted html tags e.g. \<p\>lall\<\/p\> => \<p\>lall |
You can get detailed information from `HtmlMin` library: [voku/HtmlMin](https://github.com/voku/HtmlMin#options)

*Developed from [Kirby Blade Repository](https://github.com/beebmx/kirby-blade) maintained by [@beebmx](https://github.com/beebmx)*
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"template",
"template-engine"
],
"version": "1.9.2",
"version": "2.0.0-rc.1",
"type": "kirby-plugin",
"license": "MIT",
"authors": [
Expand All @@ -23,20 +23,20 @@
}
],
"require": {
"php": "^7.3|^8.0",
"php": "^7.4|^8.0",
"getkirby/composer-installer": "^1.2",
"illuminate/view": "^8.0",
"voku/html-min": "^4.4"
"illuminate/view": "^9.0",
"voku/html-min": "^4.5"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"extra": {
"installer-name": "kirby-blade"
},
"autoload": {
"files": [
"helpers.php"
],
"psr-4": {
"Afbora\\": "src/"
}
Expand Down
Loading

0 comments on commit 2dbd6e0

Please sign in to comment.