-
Notifications
You must be signed in to change notification settings - Fork 7
June 2025 - Hosting a PHP app in a Homelab post #60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100 changes: 100 additions & 0 deletions
100
docs/meetups/2025/06/12/hosting-a-php-app-in-a-homelab.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,100 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="utf-8"> | ||
| <title>MergePHP</title> | ||
| <meta content="width=device-width, initial-scale=1.0" name="viewport"> | ||
| <link rel="alternate" type="application/rss+xml" title="RSS Feed for mergephp.com" href="/atom.xml"> | ||
| <link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-touch-icon.png"> | ||
| <link rel="icon" type="image/png" sizes="16x16" href="/icons/favicon-16x16.png"> | ||
| <link rel="icon" type="image/png" sizes="32x32" href="/icons/favicon-32x32.png"> | ||
| <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"> | ||
| <link rel="manifest" href="/icons/site.webmanifest"> | ||
| <link rel="mask-icon" href="/icons/safari-pinned-tab.svg" color="#000000"> | ||
| <meta property="og:site_name" content="MergePHP"> | ||
| <meta property="og:image" content="https://www.mergephp.com/https://www.mergephp.com/images/homelab_2025.png"> | ||
|
|
||
| <!-- Google Fonts --> | ||
| <link href="https://fonts.googleapis.com/css2?family=Open+Sans:300;400;600;700;800&display=swap" rel="stylesheet"> | ||
|
|
||
| <!-- Font Awesome --> | ||
| <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css" rel="stylesheet"> | ||
|
|
||
| <!-- Customized Bootstrap Stylesheet --> | ||
| <link href="/css/style.css" rel="stylesheet"> | ||
| </head> | ||
|
|
||
| <body> | ||
| <div class="wrapper"> | ||
| <div class="sidebar"> | ||
| <div class="sidebar-text d-flex flex-column h-100 justify-content-center text-center"> | ||
| <a href="/"><img class="mx-auto d-block bg-primary img-fluid mb-4" alt="MergePHP Logo" src="/images/logo.jpg"></a> | ||
| <p class="mb-4"> | ||
| MergePHP meets the second Thursday of every month at 19:00 Eastern/16:00 Pacific | ||
| </p> | ||
| <div class="d-flex justify-content-center mb-5"> | ||
| <a class="btn btn-outline-primary mr-2" title="Twitter" href="https://twitter.com/mergephp"><i class="fab fa-twitter"></i></a> | ||
| <a class="btn btn-outline-primary mr-2" title="YouTube" href="https://www.youtube.com/c/MergePHP"><i class="fab fa-youtube"></i></a> | ||
| <a class="btn btn-outline-primary mr-2" title="LinkedIn" href="https://www.linkedin.com/company/mergephp/"><i class="fab fa-linkedin-in"></i></a> | ||
| <a class="btn btn-outline-primary mr-2" title="Mastodon" href="https://phpc.social/@merge"><i class="fab fa-mastodon"></i></a> | ||
| <a class="btn btn-outline-primary mr-2" title="RSS" href="/atom.xml"><i class="fa fa-rss"></i></a> | ||
| </div> | ||
| </div> | ||
| <div class="sidebar-icon d-flex flex-column h-100 justify-content-center text-right"> | ||
| <i class="fas fa-2x fa-angle-double-right text-primary"></i> | ||
| </div> | ||
| </div> | ||
| <div class="content"> | ||
|
|
||
| <div class="container p-0"> | ||
| <img class="w-100" src="/images/homelab_2025.png" alt="Hosting a PHP app in a Homelab"> | ||
| </div> | ||
| <div class="container bg-white pt-5"> | ||
| <div class="row px-3 pb-5"> | ||
| <div class="col-md-12"> | ||
|
|
||
| <h2 class="mb-4 font-weight-bold">Hosting a PHP app in a Homelab</h2> | ||
| <div class="d-flex mb-3"> | ||
| <time datetime="2025-06-12T19:00:00-04:00" class="mr-3 text-muted"><i class="fa fa-calendar-alt"></i> June 12th, 2025</time> | ||
| </div> | ||
|
|
||
| <article> | ||
| <p>We all love fun and exotic ways to deploy web applications, but sometimes you just want to keep things simple. | ||
| You might reach for a VPS - but why not try hosting that app from your house? With Cloudflare Tunnels and a | ||
| cheap mini PC you can easily and securely deploy a web application directly from your closet!</p> | ||
|
|
||
| </article> | ||
|
|
||
| <h3>Presented by Daniel Abernathy</h3> | ||
| <p><p>Daniel Abernathy has been a web developer for 13 years. | ||
| He spent much of that time working with PHP, although he works solely with TypeScript today. | ||
| He lives outside of Austin, Texas with his wife and two boys.</p> | ||
| </p> | ||
|
|
||
| </div> | ||
| </div> | ||
| </div> | ||
|
|
||
| <div class="col-12 py-4"> | ||
| <div class="btn-group btn-group-lg w-100"> | ||
| <button type="button" class="btn btn-outline-primary" onclick="window.location.href='/meetups/2025/05/08/phpscript-htmx-postmodern-front-end-interactions-in-php.html'"><i class="fa fa-angle-left mr-2"></i> Previous meetup: PHPScript (HTMX): Postmodern front end interactions in PHP</button> | ||
| </div> | ||
| </div> | ||
|
|
||
| <!-- Footer Start --> | ||
| <div class="container py-4 bg-secondary text-center"> | ||
| <p class="m-0 text-white">Participating Groups: | ||
| Atlanta, Austin, Boston, Kansas City, Las Vegas, Phoenix, Portland, San Diego, Seattle, Utah, Vancouver </p> | ||
| <p class="m-0 text-white"> | ||
| © MergePHP 2025. Source code available <a class="text-white font-weight-bold" href="https://www.github.com/mergephp/mergephp-website/">on GitHub</a>. Designed by <a class="text-white font-weight-bold" href="https://htmlcodex.com">HTML Codex</a> | ||
| </p> | ||
| </div> | ||
| <!-- Footer End --> | ||
| </div> | ||
| </div> | ||
|
|
||
| <!-- Back to Top --> | ||
| <a href="#" class="back-to-top"><i class="fa fa-angle-double-up"></i></a> | ||
| </body> | ||
| </html> | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| <?php | ||
|
|
||
| declare(strict_types=1); | ||
|
|
||
| namespace MergePHP\Website\Meetup; | ||
|
|
||
| use DateTimeImmutable; | ||
| use DateTimeZone; | ||
| use MergePHP\Website\AbstractMeetup; | ||
|
|
||
| class Meetup20250612HostingAPhpAppInAHomelab extends AbstractMeetup | ||
| { | ||
| public function getTitle(): string | ||
| { | ||
| return 'Hosting a PHP app in a Homelab'; | ||
| } | ||
|
|
||
| public function getDescription(): string | ||
| { | ||
| return <<<END | ||
| We all love fun and exotic ways to deploy web applications, but sometimes you just want to keep things simple. | ||
| You might reach for a VPS - but why not try hosting that app from your house? With Cloudflare Tunnels and a | ||
| cheap mini PC you can easily and securely deploy a web application directly from your closet! | ||
| END; | ||
| } | ||
|
|
||
| public function getDateTime(): DateTimeImmutable | ||
| { | ||
| /** @noinspection PhpUnhandledExceptionInspection */ | ||
| return new DateTimeImmutable('2025-06-12 19:00:00', new DateTimeZone('America/New_York')); | ||
| } | ||
|
|
||
| public function getImage(): string | ||
| { | ||
| return '/images/homelab_2025.png'; | ||
| } | ||
|
|
||
| public function getSpeakerName(): string | ||
| { | ||
| return 'Daniel Abernathy'; | ||
| } | ||
|
|
||
| public function getSpeakerBio(): string | ||
| { | ||
| return <<<END | ||
| Daniel Abernathy has been a web developer for 13 years. | ||
| He spent much of that time working with PHP, although he works solely with TypeScript today. | ||
| He lives outside of Austin, Texas with his wife and two boys. | ||
| END; | ||
| } | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The nested
<p>doesn't look right. Nothing you did, but something that should be looked at outside this PR