-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
107 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
<a name="2.0.0"></a> | ||
# [2.0.0](https://github.com/glowyphp/view) (2022-07-04) | ||
* All Helpers functions are placed into the Glowy/View namespace. | ||
* Use union types. | ||
* Moving to PHP 8.1 | ||
* Added new public function `file` to set view file. | ||
* Added new public function `data` to set view data. | ||
|
||
<a name="1.0.0"></a> | ||
# [1.0.0](https://github.com/glowyphp/view) (2022-02-05) | ||
* Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,19 +12,19 @@ | |
"authors": [ | ||
{ | ||
"name": "Sergey Romanenko", | ||
"email": "[email protected]", | ||
"homepage": "https://github.com/Awilum" | ||
"email": "[email protected]", | ||
"homepage": "https://awilum.github.io" | ||
} | ||
], | ||
"require": { | ||
"php": "^7.4 || ^8.0", | ||
"php": "^8.1", | ||
"ext-json": "*", | ||
"ext-mbstring": "*", | ||
"ext-spl": "*", | ||
"ext-fileinfo": "*", | ||
"glowy/macroable": "^3.1.0", | ||
"glowy/strings": "^4.2.0", | ||
"glowy/filesystem": "^3.0.0" | ||
"glowy/macroable": "^4.0.0", | ||
"glowy/strings": "^5.0.1", | ||
"glowy/filesystem": "^5.0.0" | ||
}, | ||
"autoload":{ | ||
"psr-4": { | ||
|
@@ -34,16 +34,21 @@ | |
"src/helpers.php" | ||
] | ||
}, | ||
"require-dev": { | ||
"doctrine/coding-standard": "9.0.0", | ||
"pestphp/pest": "^1.21.1", | ||
"phpstan/phpstan": "^1.4.5", | ||
"symfony/var-dumper": "^5.4.3" | ||
}, | ||
"config": { | ||
"apcu-autoloader": true, | ||
"optimize-autoloader": true, | ||
"platform-check": false, | ||
"sort-packages": true, | ||
"allow-plugins": { | ||
"pestphp/pest-plugin": true, | ||
"dealerdirect/phpcodesniffer-composer-installer": true | ||
} | ||
}, | ||
"require-dev": { | ||
"ext-iconv": "*", | ||
"doctrine/coding-standard": "9.0.0", | ||
"pestphp/pest": "^1.21.1", | ||
"phpstan/phpstan": "^1.8.0", | ||
"symfony/var-dumper": "^6.1.0" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
<?php use function Glowy\View\e ?> | ||
<?= e($this->fetch('foo')) ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
<?php use function Glowy\View\e ?> | ||
<?= e($this->fetchFirst(['bar', 'foo'])) ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
<?php use function Glowy\View\e ?> | ||
<?= e($this->fetchUnless(false, 'foo')) ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
<?php use function Glowy\View\e ?> | ||
<?= e($this->fetchWhen(true, 'foo')) ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php use function Glowy\View\e ?> | ||
<?= e($this->fetch('foo')) ?> | ||
<?= e($foo) ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
<?php use function Glowy\View\e ?> | ||
<?= e($foo) ?> <?= e($bar) ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
<?php use function Glowy\View\e ?> | ||
<?= e($this->foo) ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
<?php use function Glowy\View\e ?> | ||
<?= e($share) ?> |