diff --git a/composer.json b/composer.json index 9b0b278d..69f7ed7b 100644 --- a/composer.json +++ b/composer.json @@ -66,6 +66,7 @@ "wpackagist-plugin/relay": "^1.3", "wpackagist-plugin/stream": "^4.0", "wpackagist-plugin/wp-seopress": "^8.1", + "yard/brave-acf": "^1.1", "yard/brave-components": "^1.2", "yard/brave-csp": "^1.0", "yard/brave-hooks": "^2.0", @@ -86,7 +87,7 @@ "captainhook/hook-installer": "^1.0", "johnbillion/query-monitor": "^3.20", "yard/brave-private-setup": "^1.0", - "yard/brave-scaffold": "^2.0", + "yard/brave-scaffold": "^3.0", "yard/lando-brave": "^1.0", "yard/php-cs-fixer-rules": "^1.0" }, diff --git a/composer.lock b/composer.lock index eab7c056..dbd2ef1e 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "bd5fc180570903f7a5dd5106f7cacbf3", + "content-hash": "e1443b222d7aff2d1008fab021b81395", "packages": [ { "name": "bordoni/phpass", @@ -4152,16 +4152,16 @@ }, { "name": "mck89/peast", - "version": "v1.17.5", + "version": "v1.17.6", "source": { "type": "git", "url": "https://github.com/mck89/peast.git", - "reference": "e19a8bd896b7f04941a38fd38a140c9a6531c84f" + "reference": "b8b4184b1e6912669f9af155caef9050509d9f18" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mck89/peast/zipball/e19a8bd896b7f04941a38fd38a140c9a6531c84f", - "reference": "e19a8bd896b7f04941a38fd38a140c9a6531c84f", + "url": "https://api.github.com/repos/mck89/peast/zipball/b8b4184b1e6912669f9af155caef9050509d9f18", + "reference": "b8b4184b1e6912669f9af155caef9050509d9f18", "shasum": "" }, "require": { @@ -4174,7 +4174,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.17.5-dev" + "dev-master": "1.17.6-dev" } }, "autoload": { @@ -4195,9 +4195,9 @@ "description": "Peast is PHP library that generates AST for JavaScript code", "support": { "issues": "https://github.com/mck89/peast/issues", - "source": "https://github.com/mck89/peast/tree/v1.17.5" + "source": "https://github.com/mck89/peast/tree/v1.17.6" }, - "time": "2026-03-15T10:47:07+00:00" + "time": "2026-04-24T08:04:05+00:00" }, { "name": "monolog/monolog", @@ -6232,16 +6232,16 @@ }, { "name": "sentry/sentry", - "version": "4.24.0", + "version": "4.25.0", "source": { "type": "git", "url": "https://github.com/getsentry/sentry-php.git", - "reference": "5055cc792f630a427fdf9dcccd88faa94b50fd30" + "reference": "bfee3381e1f6dea8a5f3a18adba6419fe81c5f54" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/getsentry/sentry-php/zipball/5055cc792f630a427fdf9dcccd88faa94b50fd30", - "reference": "5055cc792f630a427fdf9dcccd88faa94b50fd30", + "url": "https://api.github.com/repos/getsentry/sentry-php/zipball/bfee3381e1f6dea8a5f3a18adba6419fe81c5f54", + "reference": "bfee3381e1f6dea8a5f3a18adba6419fe81c5f54", "shasum": "" }, "require": { @@ -6273,6 +6273,7 @@ "spiral/roadrunner-worker": "^3.6" }, "suggest": { + "ext-excimer": "Enable Sentry profiling with the Excimer PHP extension.", "monolog/monolog": "Allow sending log messages to Sentry by using the included Monolog handler." }, "type": "library", @@ -6309,7 +6310,7 @@ ], "support": { "issues": "https://github.com/getsentry/sentry-php/issues", - "source": "https://github.com/getsentry/sentry-php/tree/4.24.0" + "source": "https://github.com/getsentry/sentry-php/tree/4.25.0" }, "funding": [ { @@ -6321,7 +6322,7 @@ "type": "custom" } ], - "time": "2026-04-01T14:34:34+00:00" + "time": "2026-04-23T12:50:03+00:00" }, { "name": "sentry/sentry-laravel", @@ -6791,16 +6792,16 @@ }, { "name": "spatie/laravel-data", - "version": "4.22.0", + "version": "4.22.1", "source": { "type": "git", "url": "https://github.com/spatie/laravel-data.git", - "reference": "cec66f8d53bedbf78bea9f3155c7ee49fa8a61fb" + "reference": "ec254c0ebc3f3b37515cd7449e2dbb10588e606b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-data/zipball/cec66f8d53bedbf78bea9f3155c7ee49fa8a61fb", - "reference": "cec66f8d53bedbf78bea9f3155c7ee49fa8a61fb", + "url": "https://api.github.com/repos/spatie/laravel-data/zipball/ec254c0ebc3f3b37515cd7449e2dbb10588e606b", + "reference": "ec254c0ebc3f3b37515cd7449e2dbb10588e606b", "shasum": "" }, "require": { @@ -6813,7 +6814,7 @@ "require-dev": { "fakerphp/faker": "^1.14", "friendsofphp/php-cs-fixer": "^3.0", - "inertiajs/inertia-laravel": "^2.0", + "inertiajs/inertia-laravel": "^2.0|^3.0", "livewire/livewire": "^3.0|^4.0", "mockery/mockery": "^1.6", "nesbot/carbon": "^2.63|^3.0", @@ -6861,7 +6862,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-data/issues", - "source": "https://github.com/spatie/laravel-data/tree/4.22.0" + "source": "https://github.com/spatie/laravel-data/tree/4.22.1" }, "funding": [ { @@ -6869,20 +6870,20 @@ "type": "github" } ], - "time": "2026-04-16T13:26:30+00:00" + "time": "2026-04-27T07:30:53+00:00" }, { "name": "spatie/laravel-google-fonts", - "version": "1.5.0", + "version": "1.6.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-google-fonts.git", - "reference": "d68f49d35532ec16eade427ca12c00136350bcfd" + "reference": "aaac1cedd48c4c8436b4eb51d9b5e30bd4bd914a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-google-fonts/zipball/d68f49d35532ec16eade427ca12c00136350bcfd", - "reference": "d68f49d35532ec16eade427ca12c00136350bcfd", + "url": "https://api.github.com/repos/spatie/laravel-google-fonts/zipball/aaac1cedd48c4c8436b4eb51d9b5e30bd4bd914a", + "reference": "aaac1cedd48c4c8436b4eb51d9b5e30bd4bd914a", "shasum": "" }, "require": { @@ -6943,7 +6944,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-google-fonts/issues", - "source": "https://github.com/spatie/laravel-google-fonts/tree/1.5.0" + "source": "https://github.com/spatie/laravel-google-fonts/tree/1.6.0" }, "funding": [ { @@ -6951,7 +6952,7 @@ "type": "github" } ], - "time": "2026-02-22T18:45:01+00:00" + "time": "2026-04-27T16:38:35+00:00" }, { "name": "spatie/laravel-ignition", @@ -8020,7 +8021,7 @@ }, { "name": "symfony/polyfill-ctype", - "version": "v1.36.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", @@ -8079,7 +8080,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.36.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.37.0" }, "funding": [ { @@ -8103,16 +8104,16 @@ }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.36.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "ad1b7b9092976d6c948b8a187cec9faaea9ec1df" + "reference": "4864388bfbd3001ce88e234fab652acd91fdc57e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/ad1b7b9092976d6c948b8a187cec9faaea9ec1df", - "reference": "ad1b7b9092976d6c948b8a187cec9faaea9ec1df", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/4864388bfbd3001ce88e234fab652acd91fdc57e", + "reference": "4864388bfbd3001ce88e234fab652acd91fdc57e", "shasum": "" }, "require": { @@ -8161,7 +8162,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.36.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.37.0" }, "funding": [ { @@ -8181,11 +8182,11 @@ "type": "tidelift" } ], - "time": "2026-04-10T16:19:22+00:00" + "time": "2026-04-26T13:13:48+00:00" }, { "name": "symfony/polyfill-intl-idn", - "version": "v1.36.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-idn.git", @@ -8248,7 +8249,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.36.0" + "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.37.0" }, "funding": [ { @@ -8272,7 +8273,7 @@ }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.36.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", @@ -8333,7 +8334,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.36.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.37.0" }, "funding": [ { @@ -8357,7 +8358,7 @@ }, { "name": "symfony/polyfill-mbstring", - "version": "v1.36.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", @@ -8418,7 +8419,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.36.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.37.0" }, "funding": [ { @@ -8442,7 +8443,7 @@ }, { "name": "symfony/polyfill-php80", - "version": "v1.36.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", @@ -8502,7 +8503,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.36.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.37.0" }, "funding": [ { @@ -8526,7 +8527,7 @@ }, { "name": "symfony/polyfill-php83", - "version": "v1.36.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php83.git", @@ -8582,7 +8583,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php83/tree/v1.36.0" + "source": "https://github.com/symfony/polyfill-php83/tree/v1.37.0" }, "funding": [ { @@ -9347,6 +9348,69 @@ }, "time": "2024-12-15T21:57:40+00:00" }, + { + "name": "vinkla/extended-acf", + "version": "14.6.2", + "source": { + "type": "git", + "url": "https://github.com/vinkla/extended-acf.git", + "reference": "0d8f9f93b3ac3b6e6ae2c8273218560f493dbc7c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/vinkla/extended-acf/zipball/0d8f9f93b3ac3b6e6ae2c8273218560f493dbc7c", + "reference": "0d8f9f93b3ac3b6e6ae2c8273218560f493dbc7c", + "shasum": "" + }, + "require": { + "php": "^8.2" + }, + "require-dev": { + "phpunit/phpunit": "^11.0 || ^12.0", + "symfony/var-dumper": "^7.0" + }, + "suggest": { + "symfony/var-dumper": "Required to use the dump method (^7.0)." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "14.7-dev" + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Extended\\ACF\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Vincent Klaiber", + "homepage": "https://github.com/vinkla" + } + ], + "description": "Register advanced custom fields with object-oriented PHP", + "keywords": [ + "acf", + "advanced", + "custom", + "extended", + "fields", + "wordpress" + ], + "support": { + "issues": "https://github.com/vinkla/extended-acf/issues", + "source": "https://github.com/vinkla/extended-acf/tree/14.6.2" + }, + "time": "2026-01-22T13:29:00+00:00" + }, { "name": "vlucas/phpdotenv", "version": "v5.6.3", @@ -9433,16 +9497,16 @@ }, { "name": "voku/portable-ascii", - "version": "2.1.0", + "version": "2.1.1", "source": { "type": "git", "url": "https://github.com/voku/portable-ascii.git", - "reference": "d870a33f0f79d2b4579740b0620200221ee44aeb" + "reference": "8e1051fe39379367aecf014f41744ce7539a856f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/voku/portable-ascii/zipball/d870a33f0f79d2b4579740b0620200221ee44aeb", - "reference": "d870a33f0f79d2b4579740b0620200221ee44aeb", + "url": "https://api.github.com/repos/voku/portable-ascii/zipball/8e1051fe39379367aecf014f41744ce7539a856f", + "reference": "8e1051fe39379367aecf014f41744ce7539a856f", "shasum": "" }, "require": { @@ -9479,7 +9543,7 @@ ], "support": { "issues": "https://github.com/voku/portable-ascii/issues", - "source": "https://github.com/voku/portable-ascii/tree/2.1.0" + "source": "https://github.com/voku/portable-ascii/tree/2.1.1" }, "funding": [ { @@ -9503,7 +9567,7 @@ "type": "tidelift" } ], - "time": "2026-04-16T23:10:39+00:00" + "time": "2026-04-26T05:33:54+00:00" }, { "name": "webmozart/assert", @@ -11150,6 +11214,149 @@ "type": "wordpress-plugin", "homepage": "https://wordpress.org/plugins/wp-seopress/" }, + { + "name": "yard/acf-registrar", + "version": "v2.0.0", + "source": { + "type": "git", + "url": "git@github.com:yardinternet/wp-acf-registrar.git", + "reference": "fbde9372cf566c1f92cc0ca229430c58e8f6f957" + }, + "dist": { + "type": "zip", + "url": "https://satis.yard.nl/dist/yard/acf-registrar/yard-acf-registrar-fbde9372cf566c1f92cc0ca229430c58e8f6f957-zip-776f8a.zip", + "reference": "fbde9372cf566c1f92cc0ca229430c58e8f6f957", + "shasum": "f20068a871a1db0d9204dd88deb5c3159097b263" + }, + "require": { + "php": ">=8.2", + "vinkla/extended-acf": "^14" + }, + "require-dev": { + "10up/wp_mock": "^0.4.2", + "pestphp/pest": "^2.36", + "php-stubs/acf-pro-stubs": "^6.3", + "phpstan/extension-installer": "^1.4", + "szepeviktor/phpstan-wordpress": "^1.3", + "yard/php-cs-fixer-rules": "^1.0" + }, + "type": "package", + "autoload": { + "psr-4": { + "Yard\\Acf\\Registrar\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "Yard\\Acf\\Registrar\\Tests\\": "tests/" + } + }, + "scripts": { + "all": [ + "@test", + "@analyse", + "@format" + ], + "analyse": [ + "vendor/bin/phpstan analyse --debug --memory-limit 1G" + ], + "format": [ + "vendor/bin/php-cs-fixer fix" + ], + "test": [ + "vendor/bin/pest" + ], + "test:coverage": [ + "XDEBUG_MODE=coverage vendor/bin/pest --coverage" + ] + }, + "license": [ + "MIT" + ], + "description": "PHP package to register ACF Field Groups, Forms and Option Pages", + "time": "2026-03-10T17:48:31+00:00" + }, + { + "name": "yard/brave-acf", + "version": "v1.1.0", + "source": { + "type": "git", + "url": "git@github.com:yardinternet/brave-acf.git", + "reference": "2ba0fd9c9e10ba120ed8824061c3062ca5dbb1a7" + }, + "dist": { + "type": "zip", + "url": "https://satis.yard.nl/dist/yard/brave-acf/yard-brave-acf-2ba0fd9c9e10ba120ed8824061c3062ca5dbb1a7-zip-fa161d.zip", + "reference": "2ba0fd9c9e10ba120ed8824061c3062ca5dbb1a7", + "shasum": "68ceb2329d26b4d42760705dbace4e039a09d702" + }, + "require": { + "php": ">=8.2", + "roots/acorn": "^4.3", + "spatie/laravel-package-tools": "^1.16", + "yard/acf-registrar": "^2.0" + }, + "require-dev": { + "10up/wp_mock": "^0.4.2", + "larastan/larastan": "^2.9", + "orchestra/testbench": "^8.27", + "pestphp/pest": "^2.36", + "phpstan/extension-installer": "^1.4", + "szepeviktor/phpstan-wordpress": "^1.3", + "yard/php-cs-fixer-rules": "^1.0" + }, + "type": "package", + "extra": { + "acorn": { + "providers": [ + "Yard\\Acf\\AcfServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Yard\\Acf\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "Yard\\Acf\\Tests\\": "tests/" + } + }, + "scripts": { + "post-autoload-dump": [ + "if [ -f ./vendor/laravel/framework/src/Illuminate/Foundation/helpers.php ]; then sed -i -e \"s#function __(#function a__(#\" ./vendor/laravel/framework/src/Illuminate/Foundation/helpers.php; fi", + "if [ -f ./vendor/roots/acorn/src/Illuminate/Foundation/helpers.php ]; then sed -i -e \"s#function __(#function b__(#\" ./vendor/roots/acorn/src/Illuminate/Foundation/helpers.php; fi", + "if [ -f ./vendor/larastan/larastan/stubs/common/Helpers.stub ]; then sed -i -e \"s#function __(#function c__(#\" ./vendor/larastan/larastan/stubs/common/Helpers.stub; fi" + ], + "all": [ + "@test", + "@analyse", + "@format" + ], + "analyse": [ + "vendor/bin/phpstan analyse --debug --memory-limit 1G" + ], + "format": [ + "vendor/bin/php-cs-fixer fix" + ], + "test": [ + "vendor/bin/pest" + ], + "test:coverage": [ + "XDEBUG_MODE=coverage vendor/bin/pest --coverage" + ] + }, + "license": [ + "MIT" + ], + "description": "Package to register ACF field groups, forms and option pages in a Laravel way.", + "support": { + "source": "https://github.com/yardinternet/brave-acf", + "issues": "https://github.com/yardinternet/brave-acf/issues" + }, + "time": "2026-04-14T09:02:05+00:00" + }, { "name": "yard/brave-components", "version": "v1.5.0", @@ -13580,7 +13787,7 @@ }, { "name": "symfony/polyfill-php81", - "version": "v1.36.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php81.git", @@ -13636,7 +13843,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php81/tree/v1.36.0" + "source": "https://github.com/symfony/polyfill-php81/tree/v1.37.0" }, "funding": [ { @@ -13660,7 +13867,7 @@ }, { "name": "symfony/polyfill-php84", - "version": "v1.36.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php84.git", @@ -13716,7 +13923,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php84/tree/v1.36.0" + "source": "https://github.com/symfony/polyfill-php84/tree/v1.37.0" }, "funding": [ { @@ -13883,16 +14090,16 @@ }, { "name": "yard/brave-scaffold", - "version": "v2.0.2", + "version": "v3.0.1", "source": { "type": "git", "url": "https://github.com/yardinternet/brave-scaffold.git", - "reference": "c5017bebbd9ca50f680a83ada1b0a28073e34c14" + "reference": "aef787fadeb13531889e438d6ed5acaad8b4c4d8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/yardinternet/brave-scaffold/zipball/c5017bebbd9ca50f680a83ada1b0a28073e34c14", - "reference": "c5017bebbd9ca50f680a83ada1b0a28073e34c14", + "url": "https://api.github.com/repos/yardinternet/brave-scaffold/zipball/aef787fadeb13531889e438d6ed5acaad8b4c4d8", + "reference": "aef787fadeb13531889e438d6ed5acaad8b4c4d8", "shasum": "" }, "require": { @@ -13933,7 +14140,7 @@ "issues": "https://github.com/yardinternet/brave-scaffold/issues", "source": "https://github.com/yardinternet/brave-scaffold" }, - "time": "2026-04-14T09:55:58+00:00" + "time": "2026-04-14T13:01:52+00:00" }, { "name": "yard/lando-brave", diff --git a/web/app/themes/sage/acf-json/.gitignore b/web/app/themes/sage/app/FieldGroups/.gitignore similarity index 100% rename from web/app/themes/sage/acf-json/.gitignore rename to web/app/themes/sage/app/FieldGroups/.gitignore diff --git a/web/app/themes/sage/config/acf.php b/web/app/themes/sage/config/acf.php new file mode 100644 index 00000000..1e2baa5d --- /dev/null +++ b/web/app/themes/sage/config/acf.php @@ -0,0 +1,15 @@ + [ + // Example::class, + ], + 'forms' => [ + // Example::class, + ], + 'option_pages' => [ + // Example::class, + ], +];