Skip to content

Commit f73ddca

Browse files
committed
init with app-tailwind and DDEV
1 parent 29a5361 commit f73ddca

109 files changed

Lines changed: 12443 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.ddev/config.yaml

Lines changed: 294 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,294 @@
1+
name: plugins.cakephp.org
2+
type: cakephp
3+
docroot: webroot
4+
php_version: "8.4"
5+
webserver_type: nginx-fpm
6+
xdebug_enabled: true
7+
additional_hostnames: []
8+
additional_fqdns: []
9+
database:
10+
type: mariadb
11+
version: "10.11"
12+
use_dns_when_possible: true
13+
composer_version: "2"
14+
web_environment: []
15+
corepack_enable: false
16+
disable_upload_dirs_warning: true
17+
18+
# Key features of DDEV's config.yaml:
19+
20+
# name: <projectname> # Name of the project, automatically provides
21+
# http://projectname.ddev.site and https://projectname.ddev.site
22+
# If the name is omitted, the project will take the name of the enclosing directory,
23+
# which is useful if you want to have a copy of the project side by side with this one.
24+
25+
# type: <projecttype> # backdrop, cakephp, craftcms, drupal, drupal6, drupal7, drupal8, drupal9, drupal10, drupal11, generic, laravel, magento, magento2, php, shopware6, silverstripe, symfony, typo3, wordpress
26+
# See https://docs.ddev.com/en/stable/users/quickstart/ for more
27+
# information on the different project types
28+
29+
# docroot: <relative_path> # Relative path to the directory containing index.php.
30+
31+
# php_version: "8.3" # PHP version to use, "5.6" through "8.4"
32+
33+
# You can explicitly specify the webimage but this
34+
# is not recommended, as the images are often closely tied to DDEV's' behavior,
35+
# so this can break upgrades.
36+
37+
# webimage: <docker_image>
38+
# It’s unusual to change this option, and we don’t recommend it without Docker experience and a good reason.
39+
# Typically, this means additions to the existing web image using a .ddev/web-build/Dockerfile.*
40+
41+
# database:
42+
# type: <dbtype> # mysql, mariadb, postgres
43+
# version: <version> # database version, like "10.11" or "8.0"
44+
# MariaDB versions can be 5.5-10.8, 10.11, 11.4, 11.8
45+
# MySQL versions can be 5.5-8.0, 8.4
46+
# PostgreSQL versions can be 9-17
47+
48+
# router_http_port: <port> # Port to be used for http (defaults to global configuration, usually 80)
49+
# router_https_port: <port> # Port for https (defaults to global configuration, usually 443)
50+
51+
# xdebug_enabled: false # Set to true to enable Xdebug and "ddev start" or "ddev restart"
52+
# Note that for most people the commands
53+
# "ddev xdebug" to enable Xdebug and "ddev xdebug off" to disable it work better,
54+
# as leaving Xdebug enabled all the time is a big performance hit.
55+
56+
# xhgui_http_port: "8143"
57+
# xhgui_https_port: "8142"
58+
# The XHGui ports can be changed from the default 8143 and 8142
59+
# Very rarely used
60+
61+
# host_xhgui_port: "8142"
62+
# Can be used to change the host binding port of the XHGui
63+
# application. Rarely used; only when port conflict and
64+
# bind_all_ports is used (normally with router disabled)
65+
66+
# xhprof_mode: [prepend|xhgui|global]
67+
# Set to "xhgui" to enable XHGui features
68+
# "xhgui" will become default in a future major release
69+
70+
# webserver_type: nginx-fpm, apache-fpm, generic
71+
72+
# timezone: Europe/Berlin
73+
# If timezone is unset, DDEV will attempt to derive it from the host system timezone
74+
# using the $TZ environment variable or the /etc/localtime symlink.
75+
# This is the timezone used in the containers and by PHP;
76+
# it can be set to any valid timezone,
77+
# see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
78+
# For example Europe/Dublin or MST7MDT
79+
80+
# composer_root: <relative_path>
81+
# Relative path to the Composer root directory from the project root. This is
82+
# the directory which contains the composer.json and where all Composer related
83+
# commands are executed.
84+
85+
# composer_version: "2"
86+
# You can set it to "" or "2" (default) for Composer v2 or "1" for Composer v1
87+
# to use the latest major version available at the time your container is built.
88+
# It is also possible to use each other Composer version channel. This includes:
89+
# - 2.2 (latest Composer LTS version)
90+
# - stable
91+
# - preview
92+
# - snapshot
93+
# Alternatively, an explicit Composer version may be specified, for example "2.2.18".
94+
# To reinstall Composer after the image was built, run "ddev debug rebuild".
95+
96+
# nodejs_version: "22"
97+
# change from the default system Node.js version to any other version.
98+
# See https://docs.ddev.com/en/stable/users/configuration/config/#nodejs_version for more information
99+
# and https://www.npmjs.com/package/n#specifying-nodejs-versions for the full documentation,
100+
# Note that using of 'ddev nvm' is discouraged because "nodejs_version" is much easier to use,
101+
# can specify any version, and is more robust than using 'nvm'.
102+
103+
# corepack_enable: false
104+
# Change to 'true' to 'corepack enable' and gain access to latest versions of yarn/pnpm
105+
106+
# additional_hostnames:
107+
# - somename
108+
# - someothername
109+
# would provide http and https URLs for "somename.ddev.site"
110+
# and "someothername.ddev.site".
111+
112+
# additional_fqdns:
113+
# - example.com
114+
# - sub1.example.com
115+
# would provide http and https URLs for "example.com" and "sub1.example.com"
116+
# Please take care with this because it can cause great confusion.
117+
118+
# upload_dirs: "custom/upload/dir"
119+
#
120+
# upload_dirs:
121+
# - custom/upload/dir
122+
# - ../private
123+
#
124+
# would set the destination paths for ddev import-files to <docroot>/custom/upload/dir
125+
# When Mutagen is enabled this path is bind-mounted so that all the files
126+
# in the upload_dirs don't have to be synced into Mutagen.
127+
128+
# disable_upload_dirs_warning: false
129+
# If true, turns off the normal warning that says
130+
# "You have Mutagen enabled and your 'php' project type doesn't have upload_dirs set"
131+
132+
# ddev_version_constraint: ""
133+
# Example:
134+
# ddev_version_constraint: ">= 1.24.8"
135+
# This will enforce that the running ddev version is within this constraint.
136+
# See https://github.com/Masterminds/semver#checking-version-constraints for
137+
# supported constraint formats
138+
139+
# working_dir:
140+
# web: /var/www/html
141+
# db: /home
142+
# would set the default working directory for the web and db services.
143+
# These values specify the destination directory for ddev ssh and the
144+
# directory in which commands passed into ddev exec are run.
145+
146+
# omit_containers: [db, ddev-ssh-agent]
147+
# Currently only these containers are supported. Some containers can also be
148+
# omitted globally in the ~/.ddev/global_config.yaml. Note that if you omit
149+
# the "db" container, several standard features of DDEV that access the
150+
# database container will be unusable. In the global configuration it is also
151+
# possible to omit ddev-router, but not here.
152+
153+
# performance_mode: "global"
154+
# DDEV offers performance optimization strategies to improve the filesystem
155+
# performance depending on your host system. Should be configured globally.
156+
#
157+
# If set, will override the global config. Possible values are:
158+
# - "global": uses the value from the global config.
159+
# - "none": disables performance optimization for this project.
160+
# - "mutagen": enables Mutagen for this project.
161+
# - "nfs": enables NFS for this project.
162+
#
163+
# See https://docs.ddev.com/en/stable/users/install/performance/#nfs
164+
# See https://docs.ddev.com/en/stable/users/install/performance/#mutagen
165+
166+
# fail_on_hook_fail: False
167+
# Decide whether 'ddev start' should be interrupted by a failing hook
168+
169+
# host_https_port: "59002"
170+
# The host port binding for https can be explicitly specified. It is
171+
# dynamic unless otherwise specified.
172+
# This is not used by most people, most people use the *router* instead
173+
# of the localhost port.
174+
175+
# host_webserver_port: "59001"
176+
# The host port binding for the ddev-webserver can be explicitly specified. It is
177+
# dynamic unless otherwise specified.
178+
# This is not used by most people, most people use the *router* instead
179+
# of the localhost port.
180+
181+
# host_db_port: "59002"
182+
# The host port binding for the ddev-dbserver can be explicitly specified. It is dynamic
183+
# unless explicitly specified.
184+
185+
# mailpit_http_port: "8025"
186+
# mailpit_https_port: "8026"
187+
# The Mailpit ports can be changed from the default 8025 and 8026
188+
189+
# host_mailpit_port: "8025"
190+
# The mailpit port is not normally bound on the host at all, instead being routed
191+
# through ddev-router, but it can be bound directly to localhost if specified here.
192+
193+
# webimage_extra_packages: [php7.4-tidy, php-bcmath]
194+
# Extra Debian packages that are needed in the webimage can be added here
195+
196+
# dbimage_extra_packages: [telnet,netcat]
197+
# Extra Debian packages that are needed in the dbimage can be added here
198+
199+
# use_dns_when_possible: true
200+
# If the host has internet access and the domain configured can
201+
# successfully be looked up, DNS will be used for hostname resolution
202+
# instead of editing /etc/hosts
203+
# Defaults to true
204+
205+
# project_tld: ddev.site
206+
# The top-level domain used for project URLs
207+
# The default "ddev.site" allows DNS lookup via a wildcard
208+
# If you prefer you can change this to "ddev.local" to preserve
209+
# pre-v1.9 behavior.
210+
211+
# ngrok_args: --basic-auth username:pass1234
212+
# Provide extra flags to the "ngrok http" command, see
213+
# https://ngrok.com/docs/agent/config/v3/#agent-configuration or run "ngrok http -h"
214+
215+
# disable_settings_management: false
216+
# If true, DDEV will not create CMS-specific settings files like
217+
# Drupal's settings.php/settings.ddev.php or TYPO3's additional.php
218+
# In this case the user must provide all such settings.
219+
220+
# You can inject environment variables into the web container with:
221+
# web_environment:
222+
# - SOMEENV=somevalue
223+
# - SOMEOTHERENV=someothervalue
224+
225+
# no_project_mount: false
226+
# (Experimental) If true, DDEV will not mount the project into the web container;
227+
# the user is responsible for mounting it manually or via a script.
228+
# This is to enable experimentation with alternate file mounting strategies.
229+
# For advanced users only!
230+
231+
# bind_all_interfaces: false
232+
# If true, host ports will be bound on all network interfaces,
233+
# not the localhost interface only. This means that ports
234+
# will be available on the local network if the host firewall
235+
# allows it.
236+
237+
# default_container_timeout: 120
238+
# The default time that DDEV waits for all containers to become ready can be increased from
239+
# the default 120. This helps in importing huge databases, for example.
240+
241+
#web_extra_exposed_ports:
242+
#- name: nodejs
243+
# container_port: 3000
244+
# http_port: 2999
245+
# https_port: 3000
246+
#- name: something
247+
# container_port: 4000
248+
# https_port: 4000
249+
# http_port: 3999
250+
# Allows a set of extra ports to be exposed via ddev-router
251+
# Fill in all three fields even if you don’t intend to use the https_port!
252+
# If you don’t add https_port, then it defaults to 0 and ddev-router will fail to start.
253+
#
254+
# The port behavior on the ddev-webserver must be arranged separately, for example
255+
# using web_extra_daemons.
256+
# For example, with a web app on port 3000 inside the container, this config would
257+
# expose that web app on https://<project>.ddev.site:9999 and http://<project>.ddev.site:9998
258+
# web_extra_exposed_ports:
259+
# - name: myapp
260+
# container_port: 3000
261+
# http_port: 9998
262+
# https_port: 9999
263+
264+
#web_extra_daemons:
265+
#- name: "http-1"
266+
# command: "/var/www/html/node_modules/.bin/http-server -p 3000"
267+
# directory: /var/www/html
268+
#- name: "http-2"
269+
# command: "/var/www/html/node_modules/.bin/http-server /var/www/html/sub -p 3000"
270+
# directory: /var/www/html
271+
272+
# override_config: false
273+
# By default, config.*.yaml files are *merged* into the configuration
274+
# But this means that some things can't be overridden
275+
# For example, if you have 'use_dns_when_possible: true'' you can't override it with a merge
276+
# and you can't erase existing hooks or all environment variables.
277+
# However, with "override_config: true" in a particular config.*.yaml file,
278+
# 'use_dns_when_possible: false' can override the existing values, and
279+
# hooks:
280+
# post-start: []
281+
# or
282+
# web_environment: []
283+
# or
284+
# additional_hostnames: []
285+
# can have their intended affect. 'override_config' affects only behavior of the
286+
# config.*.yaml file it exists in.
287+
288+
# Many DDEV commands can be extended to run tasks before or after the
289+
# DDEV command is executed, for example "post-start", "post-import-db",
290+
# "pre-composer", "post-composer"
291+
# See https://docs.ddev.com/en/stable/users/extend/custom-commands/ for more
292+
# information on the commands that can be extended and the tasks you can define
293+
# for them. Example:
294+
#hooks:

.editorconfig

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
; This file is for unifying the coding style for different editors and IDEs.
2+
; More information at https://editorconfig.org
3+
4+
root = true
5+
6+
[*]
7+
indent_style = space
8+
indent_size = 4
9+
end_of_line = lf
10+
insert_final_newline = true
11+
trim_trailing_whitespace = true
12+
13+
[*.bat]
14+
end_of_line = crlf
15+
16+
[*.yml]
17+
indent_size = 2
18+
19+
[*.twig]
20+
insert_final_newline = false
21+
22+
[*.neon]
23+
indent_style = tab
24+
25+
[Makefile]
26+
indent_style = tab

.gitattributes

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Define the line ending behavior of the different file extensions
2+
# Set default behavior, in case users don't have core.autocrlf set.
3+
* text text=auto eol=lf
4+
5+
# Declare files that will always have CRLF line endings on checkout.
6+
*.bat eol=crlf
7+
8+
# Declare files that will always have LF line endings on checkout.
9+
*.pem eol=lf
10+
11+
# Denote all files that are truly binary and should not be modified.
12+
*.png binary
13+
*.jpg binary
14+
*.jpeg binary
15+
*.gif binary
16+
*.webp binary
17+
*.avif binary
18+
*.ico binary
19+
*.mo binary
20+
*.pdf binary
21+
*.xls binary
22+
*.xlsx binary
23+
*.phar binary
24+
*.woff binary
25+
*.woff2 binary
26+
*.ttc binary
27+
*.ttf binary
28+
*.otf binary
29+
*.eot binary
30+
*.gz binary
31+
*.bz2 binary
32+
*.7z binary
33+
*.zip binary
34+
*.webm binary
35+
*.mp4 binary
36+
*.ogv binary

.github/ISSUE_TEMPLATE.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
This is a (multiple allowed):
2+
3+
* [x] bug
4+
* [ ] enhancement
5+
* [ ] feature-discussion (RFC)
6+
7+
* CakePHP Application Skeleton Version: EXACT RELEASE VERSION OR COMMIT HASH, HERE.
8+
* Platform and Target: YOUR WEB-SERVER, DATABASE AND OTHER RELEVANT INFO AND HOW THE REQUEST IS BEING MADE, HERE.
9+
10+
### What you did
11+
EXPLAIN WHAT YOU DID, PREFERABLY WITH CODE EXAMPLES, HERE.
12+
13+
### What happened
14+
EXPLAIN WHAT IS ACTUALLY HAPPENING, HERE.
15+
16+
### What you expected to happen
17+
EXPLAIN WHAT IS TO BE EXPECTED, HERE.
18+
19+
P.S. Remember, an issue is not the place to ask questions. You can use [Stack Overflow](https://stackoverflow.com/questions/tagged/cakephp)
20+
for that or join the #cakephp channel on irc.freenode.net, where we will be more
21+
than happy to help answer your questions.
22+
23+
Before you open an issue, please check if a similar issue already exists or has been closed before.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!---
2+
3+
**PLEASE NOTE:**
4+
5+
This is only a issue tracker for issues related to the CakePHP Application Skeleton.
6+
For CakePHP Framework issues please use this [issue tracker](https://github.com/cakephp/cakephp/issues).
7+
8+
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
9+
10+
The best way to propose a feature is to open an issue first and discuss your ideas there before implementing them.
11+
12+
Always follow the [contribution guidelines](https://github.com/cakephp/cakephp/blob/master/.github/CONTRIBUTING.md) guidelines when submitting a pull request. In particular, make sure existing tests still pass, and add tests for all new behavior. When fixing a bug, you may want to add a test to verify the fix.
13+
14+
-->

0 commit comments

Comments
 (0)