test correct folder structure for plugin elements to be recognized

This commit is contained in:
2026-01-03 00:53:39 -08:00
parent f82ab02cbf
commit 39334d8e4a
685 changed files with 10843 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
{#
/**
* CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link https://cakephp.org CakePHP(tm) Project
* @since 2.0.0
* @license https://www.opensource.org/licenses/mit-license.php MIT License
*/
#}
{% set namespace = namespace|replace({'\\': '\\\\'}) %}
{
"name": "{{ package }}",
"description": "{{ plugin }} plugin for CakePHP",
"type": "cakephp-plugin",
"license": "MIT",
"require": {
"php": ">=8.1",
"cakephp/cakephp": "{{ cakeVersion|raw }}"
},
"require-dev": {
"phpunit/phpunit": "^10.1"
},
"autoload": {
"psr-4": {
"{{ namespace }}\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"{{ namespace }}\\Test\\": "tests/",
"Cake\\Test\\": "vendor/cakephp/cakephp/tests/"
}
}
}