diff --git a/public/contributing.php b/public/contributing.php new file mode 100644 index 0000000000..c24d8694f7 --- /dev/null +++ b/public/contributing.php @@ -0,0 +1,85 @@ + "community"]); +?> + +

+ « All the ways to get involved +

+ +

Contributing to PHP

+
+ +

+ Anybody who programs in PHP can be a contributing member of the community + that develops and deploys it; the task of deploying PHP, documentation and + associated websites is a never ending one. With every release, or release + candidate comes a wave of work, which takes a lot of organization and + co-ordination. +

+ +

+ With the introduction of release managers comes a smoother release process, + but help is still needed: testing release candidates, finding and squashing + bugs in tests, documentation, and sources. +

+
+ +

Four Best Ways to Contribute

+ +
    +
  1. Running test suites in RC + and release distributions of PHP
  2. +
  3. Help finding and diagnosing failed tests, see + the phpt documentation
  4. +
  5. Filing and resolving bug reports + on GitHub Issues.
  6. +
  7. Help maintain and or translate documentation files + at the doc-* repositories on github. Check out our + guide for contributors.
  8. +
+ +

Development of the PHP source

+ +
+

+ Someone hoping to become involved in the maintenance and development of + the source should be experienced in all of the areas mentioned above, as + this creates a strong team; everyone knows how every other part of the + project works. +

+ +

+ You will also need experience in C programming as PHP is written entirely in C. +

+
+ +

Useful links for developers

+ + + +
Table of Contents
+
+ +
+ +'; + +site_footer(['sidebar' => $SIDEBAR_DATA]); diff --git a/public/get-involved.php b/public/get-involved.php index f9c96ac12c..edb9a56d9a 100644 --- a/public/get-involved.php +++ b/public/get-involved.php @@ -1,65 +1,142 @@ "community"]); +site_header("Get Involved", [ + "current" => "community", + "css" => ["get-involved.css"], +]); ?> -

Contributing to PHP

-
+ + +

Get Involved

- With the introduction of release managers comes a smoother release process, - but help is still needed: testing release candidates, finding and squashing - bugs in tests, documentation, and sources. + PHP is maintained by a worldwide community of developers. If you're + looking to get connected, or if you want to help shape the language + itself, here are the ways you can get started.

+ +
+

+ Looking to contribute to PHP? + To work on the language itself, we cover how on the + Contributing to PHP page. +

-

Four Best Ways to Contribute

+

Meet the community in person

+ +
+
+

Conferences

+

+ PHP conferences are held all over the world. Find one near + you, or one you'd consider traveling to. +

+

+ Or if you're interested in speaking, check out the + open calls for papers. +

+
+ +
+

User groups

+

+ PHP developers around the world meet up in their local city to share + what they're learning and working on. +

+

Find one near you on + PHP.ug. +

+
+ +
+

Events calendar

+

+ See our list of meetups, training sessions, and other community events. +

+

+ Running an event? Submit it to the calendar. +

+
+
+ +

Join the conversation online

+ +
+
+

PHP Community Discord

+

+ The PHP Community chat is hosted on Discord and also bridged to IRC: #phpc on + Libera.Chat. +

+
+ +
+

r/PHP

+

+ The r/PHP Reddit community hosts news, discussions, and weekly help threads. +

+
-
    -
  1. Running test suites in RC - and release distributions of PHP
  2. -
  3. Help finding and diagnosing failed tests, see - the phpt documentation
  4. -
  5. Filing and resolving bug reports - on GitHub Issues.
  6. -
  7. Help maintain and or translate documentation files - at the doc-* repositories on github. Check out our - guide for contributors.
  8. -
+
+

Getting help

+

+ The help page lists the + best places to ask questions. +

+
+
-

Development of the PHP source

+

Contribute to PHP

-

- Someone hoping to become involved in the maintenance and development of - the source should be experienced in all of the areas mentioned above, as - this creates a strong team; everyone knows how every other part of the - project works. -

+

+ Anybody who programs in PHP can help build it. How to start: +

+ +

+ Read the full guide to contributing to PHP » +

+
-

- You will also need experience in C programming as PHP is written entirely in C. -

+

Support the people who build PHP

+ +
+

+ The PHP Foundation funds developers + to work on the PHP language full-time. Individuals and companies can + sponsor the Foundation to + keep that work going. +

-

Useful links for developers

+

Follow PHP's development

+ Table of Contents
'; +$schedule = new ConferenceSchedule((new NewsHandler())->getConferences(), gmdate('Y-m-d')); + +$renderConferencePanel = static function (string $title, string $href, array $entries): string { + if ($entries === []) { + return ''; + } + + $html = '
'; + $html .= '' . $title . ''; + $html .= '
'; + $html .= '
'; + + return $html; +}; + +$SIDEBAR_DATA .= $renderConferencePanel('Upcoming conferences', '/conferences/', $schedule->upcomingConferences); +$SIDEBAR_DATA .= $renderConferencePanel('Open calls for papers', '/conferences/?view=cfps', $schedule->openCallsForPapers); +$SIDEBAR_DATA .= '

User Group Events

'; + site_footer(['sidebar' => $SIDEBAR_DATA]); diff --git a/public/sitemap.xml b/public/sitemap.xml index 3066676a51..089b50b5a5 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -31,6 +31,9 @@ https://www.php.net/contact.php + + https://www.php.net/contributing.php + https://www.php.net/copyright.php diff --git a/public/styles/get-involved.css b/public/styles/get-involved.css new file mode 100644 index 0000000000..d79774fefe --- /dev/null +++ b/public/styles/get-involved.css @@ -0,0 +1,34 @@ +/* Get Involved hub page. */ +.get-involved-callout { + background: var(--light-blue-color); + border-left: 4px solid var(--dark-blue-color); + border-radius: 4px; + margin: 1.5rem 0; + padding: 1rem 1.25rem; +} + +.get-involved-callout p { + margin: 0; +} + +.get-involved-grid { + display: grid; + gap: 1rem; + grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); + margin-bottom: 1.5rem; +} + +.get-involved-card { + background: #fff; + border: 1px solid var(--light-blue-color); + border-radius: 4px; + padding: 1rem 1.25rem; +} + +.get-involved-card h3 { + margin-top: 0; +} + +.get-involved-card p:last-child { + margin-bottom: 0; +}