Skip to content
This repository was archived by the owner on Jun 12, 2018. It is now read-only.

Commit 811309b

Browse files
committed
L5.6
1 parent b23c74f commit 811309b

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
This Laravel package lets you declare functions inside blade templates. After installing it, you'll
33
never need to use partials as functions.
44

5-
This package is compatible with Laravel 5.1, 5.2, 5.3, 5.4 and 5.5
5+
This package is compatible with Laravel 5.1, 5.2, 5.3, 5.4, 5.5 and 5.6
66

77
In Laravel 5.4 [components](https://laravel.com/docs/5.4/blade#components-and-slots) were introduced. There is an overlap between the problems componenets and this package try to solve. So from 5.4 you might want to consider using componenets instead. They are different though and this package might still provide a cleaner and easier solution in some cases.
88

@@ -14,6 +14,8 @@ Run this from the terminal:
1414
composer require balping/laravel-blade-function
1515
```
1616

17+
If you are using Laravel >=5.5, this step is unnecessary, thanks to [package auto-discovery](https://laravel.com/docs/packages#package-discovery).
18+
1719
Add this line to the `providers` array in `config/app.php`:
1820

1921
```php

composer.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"keywords": ["laravel", "blade", "template", "function", "directive"],
66
"authors": [
77
{
8-
"name": "Balázs Kovács"
8+
"name": "Balázs Dura-Kovács"
99
}
1010
],
1111
"require": {
@@ -17,5 +17,13 @@
1717
"psr-4": {
1818
"Balping\\BladeFunction\\": "src/"
1919
}
20+
},
21+
22+
"extra": {
23+
"laravel": {
24+
"providers": [
25+
"Balping\\BladeFunction\\BladeFunctionServiceProvider"
26+
]
27+
}
2028
}
2129
}

0 commit comments

Comments
 (0)