use twig 3 & upgrade dependencies

This commit is contained in:
Asnxthaony 2023-05-30 13:19:17 +08:00
parent 46cccdb708
commit b25b7588a9
No known key found for this signature in database
GPG Key ID: 6537C59306464F54
3 changed files with 128 additions and 125 deletions

View File

@ -3,7 +3,7 @@
"description": "A web application brings your custom skins back in offline Minecraft servers.",
"license": "MIT",
"require": {
"php": ">=8.0.2",
"php": ">=8.1.0",
"ext-ctype": "*",
"ext-gd": "*",
"ext-json": "*",
@ -29,11 +29,11 @@
"lorisleiva/laravel-search-string": "^1.0",
"nesbot/carbon": "^2.0",
"nunomaduro/collision": "^5.0",
"rcrowe/twigbridge": "^0.12",
"rcrowe/twigbridge": "^0.14",
"spatie/laravel-translation-loader": "^2.6",
"symfony/process": "^5.0",
"symfony/yaml": "^5.0",
"twig/twig": "^2.11",
"twig/twig": "^3.0",
"vectorface/whip": "^0.4.0"
},
"require-dev": {

213
composer.lock generated
View File

@ -4,28 +4,28 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "28b3237c2488b036b777708190a1ab4d",
"content-hash": "6ba9ddc66ce4daa72c12fe6d3d6067d4",
"packages": [
{
"name": "blessing/filter",
"version": "v1.2.0",
"version": "v1.3.0",
"source": {
"type": "git",
"url": "https://github.com/bs-community/filter.git",
"reference": "b2e48bcb852bdc92cee39f2188e32550f95be8d2"
"reference": "af8f30e3e342105f20b37eecffade03f851880e2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/bs-community/filter/zipball/b2e48bcb852bdc92cee39f2188e32550f95be8d2",
"reference": "b2e48bcb852bdc92cee39f2188e32550f95be8d2",
"url": "https://api.github.com/repos/bs-community/filter/zipball/af8f30e3e342105f20b37eecffade03f851880e2",
"reference": "af8f30e3e342105f20b37eecffade03f851880e2",
"shasum": ""
},
"require": {
"illuminate/contracts": "^6 || ^7 || ^8",
"illuminate/support": "^6 || ^7 || ^8"
"illuminate/contracts": "^6 || ^7 || ^8 || ^9 || ^10",
"illuminate/support": "^6 || ^7 || ^8 || ^9 || ^10"
},
"require-dev": {
"illuminate/container": "^6 || ^7 || ^8",
"illuminate/container": "^6 || ^7 || ^8 || ^9 || ^10",
"phpunit/phpunit": "~9.0"
},
"type": "library",
@ -51,26 +51,26 @@
"keywords": ["filters", "laravel", "wordpress"],
"support": {
"issues": "https://github.com/bs-community/filter/issues",
"source": "https://github.com/bs-community/filter/tree/v1.2.0"
"source": "https://github.com/bs-community/filter/tree/v1.3.0"
},
"time": "2020-10-14T02:29:54+00:00"
"time": "2023-05-30T04:45:37+00:00"
},
{
"name": "blessing/rejection",
"version": "v1.2.0",
"version": "v1.3.0",
"source": {
"type": "git",
"url": "https://github.com/bs-community/rejection.git",
"reference": "2de752ba7793060ae7bc6607d885a8be2be2e08c"
"reference": "def81dc70b50d5a3dbb7cb477264bedfa7b65010"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/bs-community/rejection/zipball/2de752ba7793060ae7bc6607d885a8be2be2e08c",
"reference": "2de752ba7793060ae7bc6607d885a8be2be2e08c",
"url": "https://api.github.com/repos/bs-community/rejection/zipball/def81dc70b50d5a3dbb7cb477264bedfa7b65010",
"reference": "def81dc70b50d5a3dbb7cb477264bedfa7b65010",
"shasum": ""
},
"require": {
"illuminate/support": "^6 || ^7 || ^8"
"illuminate/support": "^6 || ^7 || ^8 || ^9 || ^10"
},
"require-dev": {
"phpunit/phpunit": "~9.0"
@ -92,9 +92,9 @@
"description": "Rejection is an object that indicates you are rejecting.",
"support": {
"issues": "https://github.com/bs-community/rejection/issues",
"source": "https://github.com/bs-community/rejection/tree/v1.2.0"
"source": "https://github.com/bs-community/rejection/tree/v1.3.0"
},
"time": "2020-10-14T02:32:06+00:00"
"time": "2023-05-30T04:39:23+00:00"
},
{
"name": "blessing/texture-renderer",
@ -658,16 +658,16 @@
},
{
"name": "doctrine/deprecations",
"version": "v1.0.0",
"version": "v1.1.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/deprecations.git",
"reference": "0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de"
"reference": "8cffffb2218e01f3b370bf763e00e81697725259"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/deprecations/zipball/0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de",
"reference": "0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de",
"url": "https://api.github.com/repos/doctrine/deprecations/zipball/8cffffb2218e01f3b370bf763e00e81697725259",
"reference": "8cffffb2218e01f3b370bf763e00e81697725259",
"shasum": ""
},
"require": {
@ -693,9 +693,9 @@
"homepage": "https://www.doctrine-project.org/",
"support": {
"issues": "https://github.com/doctrine/deprecations/issues",
"source": "https://github.com/doctrine/deprecations/tree/v1.0.0"
"source": "https://github.com/doctrine/deprecations/tree/v1.1.0"
},
"time": "2022-05-02T15:47:09+00:00"
"time": "2023-05-29T18:55:17+00:00"
},
{
"name": "doctrine/event-manager",
@ -3852,16 +3852,16 @@
},
{
"name": "nesbot/carbon",
"version": "2.66.0",
"version": "2.67.0",
"source": {
"type": "git",
"url": "https://github.com/briannesbitt/Carbon.git",
"reference": "496712849902241f04902033b0441b269effe001"
"reference": "c1001b3bc75039b07f38a79db5237c4c529e04c8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/496712849902241f04902033b0441b269effe001",
"reference": "496712849902241f04902033b0441b269effe001",
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/c1001b3bc75039b07f38a79db5237c4c529e04c8",
"reference": "c1001b3bc75039b07f38a79db5237c4c529e04c8",
"shasum": ""
},
"require": {
@ -3938,7 +3938,7 @@
"type": "tidelift"
}
],
"time": "2023-01-29T18:53:47+00:00"
"time": "2023-05-25T22:09:47+00:00"
},
{
"name": "nette/schema",
@ -5147,31 +5147,30 @@
},
{
"name": "rcrowe/twigbridge",
"version": "v0.12.4",
"version": "v0.14.1",
"source": {
"type": "git",
"url": "https://github.com/rcrowe/TwigBridge.git",
"reference": "1981b22bbfb613a85cfca80c0a889916f026da60"
"reference": "639345cb32156ff69845ed471bbf0778c52a28b2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/rcrowe/TwigBridge/zipball/1981b22bbfb613a85cfca80c0a889916f026da60",
"reference": "1981b22bbfb613a85cfca80c0a889916f026da60",
"url": "https://api.github.com/repos/rcrowe/TwigBridge/zipball/639345cb32156ff69845ed471bbf0778c52a28b2",
"reference": "639345cb32156ff69845ed471bbf0778c52a28b2",
"shasum": ""
},
"require": {
"illuminate/support": "^5.5|^6|^7|^8",
"illuminate/view": "^5.5|^6|^7|^8",
"php": ">=7.1",
"twig/twig": "^2.11"
"illuminate/support": "^6|^7|^8|^9|^10",
"illuminate/view": "^6|^7|^8|^9|^10",
"php": "^7.2.5 || ^8.0",
"twig/twig": "~3.0"
},
"require-dev": {
"ext-json": "*",
"laravel/framework": "5.5.*",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~6.0",
"satooshi/php-coveralls": "~0.6",
"squizlabs/php_codesniffer": "~1.5"
"laravel/framework": "^6|^7|^8|^9|^10",
"mockery/mockery": "^1.3.1",
"phpunit/phpunit": "^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.7",
"squizlabs/php_codesniffer": "^3.6"
},
"suggest": {
"laravelcollective/html": "For bringing back html/form in Laravel 5.x",
@ -5180,7 +5179,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "0.12-dev"
"dev-master": "0.14-dev"
},
"laravel": {
"providers": ["TwigBridge\\ServiceProvider"],
@ -5211,9 +5210,9 @@
"keywords": ["laravel", "twig"],
"support": {
"issues": "https://github.com/rcrowe/TwigBridge/issues",
"source": "https://github.com/rcrowe/TwigBridge/tree/v0.12.4"
"source": "https://github.com/rcrowe/TwigBridge/tree/v0.14.1"
},
"time": "2021-12-23T12:51:47+00:00"
"time": "2023-02-16T14:03:23+00:00"
},
{
"name": "sanmai/hoa-protocol",
@ -5449,16 +5448,16 @@
},
{
"name": "symfony/console",
"version": "v5.4.23",
"version": "v5.4.24",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
"reference": "90f21e27d0d88ce38720556dd164d4a1e4c3934c"
"reference": "560fc3ed7a43e6d30ea94a07d77f9a60b8ed0fb8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/90f21e27d0d88ce38720556dd164d4a1e4c3934c",
"reference": "90f21e27d0d88ce38720556dd164d4a1e4c3934c",
"url": "https://api.github.com/repos/symfony/console/zipball/560fc3ed7a43e6d30ea94a07d77f9a60b8ed0fb8",
"reference": "560fc3ed7a43e6d30ea94a07d77f9a60b8ed0fb8",
"shasum": ""
},
"require": {
@ -5519,7 +5518,7 @@
"homepage": "https://symfony.com",
"keywords": ["cli", "command-line", "console", "terminal"],
"support": {
"source": "https://github.com/symfony/console/tree/v5.4.23"
"source": "https://github.com/symfony/console/tree/v5.4.24"
},
"funding": [
{
@ -5535,7 +5534,7 @@
"type": "tidelift"
}
],
"time": "2023-04-24T18:47:29+00:00"
"time": "2023-05-26T05:13:16+00:00"
},
{
"name": "symfony/css-selector",
@ -5664,16 +5663,16 @@
},
{
"name": "symfony/error-handler",
"version": "v5.4.23",
"version": "v5.4.24",
"source": {
"type": "git",
"url": "https://github.com/symfony/error-handler.git",
"reference": "218206b4772d9f412d7d277980c020d06e9d8a4e"
"reference": "c1b9be3b8a6f60f720bec28c4ffb6fb5b00a8946"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/error-handler/zipball/218206b4772d9f412d7d277980c020d06e9d8a4e",
"reference": "218206b4772d9f412d7d277980c020d06e9d8a4e",
"url": "https://api.github.com/repos/symfony/error-handler/zipball/c1b9be3b8a6f60f720bec28c4ffb6fb5b00a8946",
"reference": "c1b9be3b8a6f60f720bec28c4ffb6fb5b00a8946",
"shasum": ""
},
"require": {
@ -5709,7 +5708,7 @@
"description": "Provides tools to manage errors and ease debugging PHP code",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/error-handler/tree/v5.4.23"
"source": "https://github.com/symfony/error-handler/tree/v5.4.24"
},
"funding": [
{
@ -5725,7 +5724,7 @@
"type": "tidelift"
}
],
"time": "2023-04-17T10:03:27+00:00"
"time": "2023-05-02T16:13:31+00:00"
},
{
"name": "symfony/event-dispatcher",
@ -5944,16 +5943,16 @@
},
{
"name": "symfony/http-foundation",
"version": "v5.4.23",
"version": "v5.4.24",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
"reference": "af9fbb378f5f956c8f29d4886644c84c193780ac"
"reference": "3c59f97f6249ce552a44f01b93bfcbd786a954f5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/af9fbb378f5f956c8f29d4886644c84c193780ac",
"reference": "af9fbb378f5f956c8f29d4886644c84c193780ac",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/3c59f97f6249ce552a44f01b93bfcbd786a954f5",
"reference": "3c59f97f6249ce552a44f01b93bfcbd786a954f5",
"shasum": ""
},
"require": {
@ -5996,7 +5995,7 @@
"description": "Defines an object-oriented layer for the HTTP specification",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/http-foundation/tree/v5.4.23"
"source": "https://github.com/symfony/http-foundation/tree/v5.4.24"
},
"funding": [
{
@ -6012,20 +6011,20 @@
"type": "tidelift"
}
],
"time": "2023-04-18T06:30:11+00:00"
"time": "2023-05-19T07:21:23+00:00"
},
{
"name": "symfony/http-kernel",
"version": "v5.4.23",
"version": "v5.4.24",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
"reference": "48ea17a7c65ef1ede0c3b2dbc35adace99071810"
"reference": "f38b722e1557eb3f487d351b48f5a1279b50e9d1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/48ea17a7c65ef1ede0c3b2dbc35adace99071810",
"reference": "48ea17a7c65ef1ede0c3b2dbc35adace99071810",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/f38b722e1557eb3f487d351b48f5a1279b50e9d1",
"reference": "f38b722e1557eb3f487d351b48f5a1279b50e9d1",
"shasum": ""
},
"require": {
@ -6104,7 +6103,7 @@
"description": "Provides a structured process for converting a Request into a Response",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/http-kernel/tree/v5.4.23"
"source": "https://github.com/symfony/http-kernel/tree/v5.4.24"
},
"funding": [
{
@ -6120,7 +6119,7 @@
"type": "tidelift"
}
],
"time": "2023-04-28T13:29:52+00:00"
"time": "2023-05-27T08:06:30+00:00"
},
{
"name": "symfony/mime",
@ -6865,16 +6864,16 @@
},
{
"name": "symfony/process",
"version": "v5.4.23",
"version": "v5.4.24",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
"reference": "4b842fc4b61609e0a155a114082bd94e31e98287"
"reference": "e3c46cc5689c8782944274bb30702106ecbe3b64"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/process/zipball/4b842fc4b61609e0a155a114082bd94e31e98287",
"reference": "4b842fc4b61609e0a155a114082bd94e31e98287",
"url": "https://api.github.com/repos/symfony/process/zipball/e3c46cc5689c8782944274bb30702106ecbe3b64",
"reference": "e3c46cc5689c8782944274bb30702106ecbe3b64",
"shasum": ""
},
"require": {
@ -6903,7 +6902,7 @@
"description": "Executes commands in sub-processes",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/process/tree/v5.4.23"
"source": "https://github.com/symfony/process/tree/v5.4.24"
},
"funding": [
{
@ -6919,7 +6918,7 @@
"type": "tidelift"
}
],
"time": "2023-04-18T13:50:24+00:00"
"time": "2023-05-17T11:26:05+00:00"
},
{
"name": "symfony/psr-http-message-bridge",
@ -7237,16 +7236,16 @@
},
{
"name": "symfony/translation",
"version": "v6.2.8",
"version": "v6.2.11",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
"reference": "817535dbb1721df8b3a8f2489dc7e50bcd6209b5"
"reference": "64113df3e8b009f92fad63014f4ec647e65bc927"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/translation/zipball/817535dbb1721df8b3a8f2489dc7e50bcd6209b5",
"reference": "817535dbb1721df8b3a8f2489dc7e50bcd6209b5",
"url": "https://api.github.com/repos/symfony/translation/zipball/64113df3e8b009f92fad63014f4ec647e65bc927",
"reference": "64113df3e8b009f92fad63014f4ec647e65bc927",
"shasum": ""
},
"require": {
@ -7309,7 +7308,7 @@
"description": "Provides tools to internationalize your application",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/translation/tree/v6.2.8"
"source": "https://github.com/symfony/translation/tree/v6.2.11"
},
"funding": [
{
@ -7325,7 +7324,7 @@
"type": "tidelift"
}
],
"time": "2023-03-31T09:14:44+00:00"
"time": "2023-05-19T12:37:14+00:00"
},
{
"name": "symfony/translation-contracts",
@ -7406,16 +7405,16 @@
},
{
"name": "symfony/var-dumper",
"version": "v5.4.23",
"version": "v5.4.24",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
"reference": "9a8a5b6d6508928174ded2109e29328a55342a42"
"reference": "8e12706bf9c68a2da633f23bfdc15b4dce5970b3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/9a8a5b6d6508928174ded2109e29328a55342a42",
"reference": "9a8a5b6d6508928174ded2109e29328a55342a42",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/8e12706bf9c68a2da633f23bfdc15b4dce5970b3",
"reference": "8e12706bf9c68a2da633f23bfdc15b4dce5970b3",
"shasum": ""
},
"require": {
@ -7424,7 +7423,6 @@
"symfony/polyfill-php80": "^1.16"
},
"conflict": {
"phpunit/phpunit": "<5.4.3",
"symfony/console": "<4.4"
},
"require-dev": {
@ -7464,7 +7462,7 @@
"homepage": "https://symfony.com",
"keywords": ["debug", "dump"],
"support": {
"source": "https://github.com/symfony/var-dumper/tree/v5.4.23"
"source": "https://github.com/symfony/var-dumper/tree/v5.4.24"
},
"funding": [
{
@ -7480,7 +7478,7 @@
"type": "tidelift"
}
],
"time": "2023-04-18T09:26:27+00:00"
"time": "2023-05-25T13:05:00+00:00"
},
{
"name": "symfony/yaml",
@ -7604,38 +7602,29 @@
},
{
"name": "twig/twig",
"version": "v2.15.5",
"version": "v3.6.0",
"source": {
"type": "git",
"url": "https://github.com/twigphp/Twig.git",
"reference": "fc02a6af3eeb97c4bf5650debc76c2eda85ac22e"
"reference": "106c170d08e8415d78be2d16c3d057d0d108262b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/fc02a6af3eeb97c4bf5650debc76c2eda85ac22e",
"reference": "fc02a6af3eeb97c4bf5650debc76c2eda85ac22e",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/106c170d08e8415d78be2d16c3d057d0d108262b",
"reference": "106c170d08e8415d78be2d16c3d057d0d108262b",
"shasum": ""
},
"require": {
"php": ">=7.1.3",
"php": ">=7.2.5",
"symfony/polyfill-ctype": "^1.8",
"symfony/polyfill-mbstring": "^1.3",
"symfony/polyfill-php72": "^1.8"
"symfony/polyfill-mbstring": "^1.3"
},
"require-dev": {
"psr/container": "^1.0",
"psr/container": "^1.0|^2.0",
"symfony/phpunit-bridge": "^4.4.9|^5.0.9|^6.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.15-dev"
}
},
"autoload": {
"psr-0": {
"Twig_": "lib/"
},
"psr-4": {
"Twig\\": "src/"
}
@ -7664,7 +7653,7 @@
"keywords": ["templating"],
"support": {
"issues": "https://github.com/twigphp/Twig/issues",
"source": "https://github.com/twigphp/Twig/tree/v2.15.5"
"source": "https://github.com/twigphp/Twig/tree/v3.6.0"
},
"funding": [
{
@ -7676,7 +7665,7 @@
"type": "tidelift"
}
],
"time": "2023-05-03T17:49:41+00:00"
"time": "2023-05-03T19:06:57+00:00"
},
{
"name": "vectorface/whip",
@ -9224,16 +9213,16 @@
},
{
"name": "phpstan/phpdoc-parser",
"version": "1.21.0",
"version": "1.21.3",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpdoc-parser.git",
"reference": "6df62b08faef4f899772bc7c3bbabb93d2b7a21c"
"reference": "b0c366dd2cea79407d635839d25423ba07c55dd6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/6df62b08faef4f899772bc7c3bbabb93d2b7a21c",
"reference": "6df62b08faef4f899772bc7c3bbabb93d2b7a21c",
"url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/b0c366dd2cea79407d635839d25423ba07c55dd6",
"reference": "b0c366dd2cea79407d635839d25423ba07c55dd6",
"shasum": ""
},
"require": {
@ -9260,9 +9249,9 @@
"description": "PHPDoc parser with support for nullable, intersection and generic types",
"support": {
"issues": "https://github.com/phpstan/phpdoc-parser/issues",
"source": "https://github.com/phpstan/phpdoc-parser/tree/1.21.0"
"source": "https://github.com/phpstan/phpdoc-parser/tree/1.21.3"
},
"time": "2023-05-17T13:13:44+00:00"
"time": "2023-05-29T19:31:28+00:00"
},
{
"name": "phpunit/php-code-coverage",
@ -10998,7 +10987,7 @@
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
"php": ">=8.0.2",
"php": ">=8.1.0",
"ext-ctype": "*",
"ext-gd": "*",
"ext-json": "*",

View File

@ -44,10 +44,6 @@ return [
// default: utf-8
'charset' => 'utf-8',
// The base template class to use for generated templates.
// default: TwigBridge\Twig\Template
'base_template_class' => 'TwigBridge\Twig\Template',
// An absolute path where to store the compiled templates, or false to disable caching. If null
// then the cache file path is used.
// default: cache file storage path
@ -73,6 +69,19 @@ return [
'optimizations' => -1,
],
/*
|--------------------------------------------------------------------------
| Safe Classes
|--------------------------------------------------------------------------
|
| When set, the output of the `__string` method of the following classes will not be escaped.
| default: Laravel's Htmlable, which the HtmlString class implements.
|
*/
'safe_classes' => [
\Illuminate\Contracts\Support\Htmlable::class => ['html'],
],
/*
|--------------------------------------------------------------------------
| Global variables
@ -98,21 +107,21 @@ return [
|
*/
'enabled' => [
'Twig\Extension\StringLoaderExtension',
'TwigBridge\Extension\Laravel\Event',
'TwigBridge\Extension\Loader\Facades',
'TwigBridge\Extension\Loader\Filters',
'TwigBridge\Extension\Loader\Functions',
'TwigBridge\Extension\Loader\Globals',
'TwigBridge\Extension\Laravel\Auth',
'TwigBridge\Extension\Laravel\Config',
'TwigBridge\Extension\Laravel\Dump',
// 'TwigBridge\Extension\Laravel\Input',
'TwigBridge\Extension\Laravel\Input',
'TwigBridge\Extension\Laravel\Session',
// 'TwigBridge\Extension\Laravel\Str',
'TwigBridge\Extension\Laravel\Str',
'TwigBridge\Extension\Laravel\Translator',
'TwigBridge\Extension\Laravel\Url',
// 'TwigBridge\Extension\Laravel\Model',
'TwigBridge\Extension\Laravel\Model',
// 'TwigBridge\Extension\Laravel\Gate',
// 'TwigBridge\Extension\Laravel\Form',
@ -177,7 +186,12 @@ return [
| </code>
|
*/
'functions' => [],
'functions' => [
'elixir',
'head',
'last',
'mix',
],
/*
|--------------------------------------------------------------------------