TubeSum

HidePHP Static Site Generator — Full Breakdown & Transcript

HidePHP: A Powerful Static Site Generator for PHP and Laravel

0h 07m video Published Jul 14, 2026 Transcribed Aug 14, 2026 L Laravel Daily
Intermediate 3 min read For: PHP and Laravel developers interested in static site generation for documentation or blogs.
AI Trust Score 65/100
⚠️ Average / Some Fluff

"Title promises a showcase and delivers, but the sponsor segment and repetitive points dilute the value."

AI Summary

This video showcases HidePHP, a static site generator for PHP and Laravel developers. The presenter demonstrates how to create fast, static documentation and blog sites from Markdown files, highlighting its features, workflow, and customization options.

[00:00]
Introduction to HidePHP

HidePHP is a static site generator for PHP, created by Emma De Silva. It's not new but underappreciated in the Laravel/PHP community.

[00:27]
Example Site

Demonstrates a static site for a fictional package 'Laravel API guard', with instant loading pages, release notes, blog, and documentation.

[01:16]
Markdown to HTML

Content is written in Markdown files, which are compiled into static HTML files in the '_site' directory.

[01:55]
Sponsor: Flare

Flare is an error tracking tool with GitHub integration, allowing automatic issue creation and resolution syncing.

[03:20]
How HidePHP Works

HidePHP is not a package but a Composer project. Use 'hide serve' for development, 'php hide make' for content, and build static HTML.

[04:03]
Under the Hood

Uses Laravel Zero framework and Hide framework, not Laravel. No other packages in Composer.json.

[04:31]
Creating Content

Use 'php hide make:post' for blog posts and 'php hide make:page --type=docs' for documentation pages, with Markdown and front matter.

[05:28]
Customization

Customize navigation menus and site appearance. Documentation is well-structured and built with HidePHP itself.

[06:07]
Blade and Tailwind Support

Supports Blade templates and Tailwind CSS, but uses custom syntax like 'hide route' which may require learning curve for Laravel developers.

HidePHP is a powerful, open-source static site generator that's ideal for PHP/Laravel package documentation and blogs, offering speed and simplicity, though it has a slight learning curve for those used to Laravel's syntax.

Mentioned in this Video

Tutorial Checklist

1 03:20 Create a new HidePHP project using 'composer create-project'.
2 03:39 Run 'hide serve' for a development server.
3 03:51 Use 'php hide make:post' to create blog posts.
4 04:44 Use 'php hide make:page --type=docs' for documentation pages.
5 03:51 Build static HTML with the build command, output to '_site'.
6 04:03 Point your web server to the '_site' directory.

Study Flashcards (5)

What is HidePHP?

easy Click to reveal answer

A static site generator for PHP, created by Emma De Silva.

What framework does HidePHP use under the hood?

medium Click to reveal answer

Laravel Zero and Hide framework.

04:03

What command starts the development server?

easy Click to reveal answer

hide serve

03:39

How do you create a documentation page?

medium Click to reveal answer

php hide make:page --type=docs

04:44

What is the output directory for built static files?

easy Click to reveal answer

_site

03:51

💡 Key Takeaways

💡

HidePHP Introduction

Introduces a lesser-known but powerful tool for PHP developers.

🔧

Workflow Overview

Clearly explains the step-by-step process of using HidePHP.

03:20
📊

Underlying Framework

Reveals that HidePHP uses Laravel Zero, not Laravel, which is a key technical detail.

04:03
💡

Blade and Tailwind Support

Highlights the customization options and potential learning curve.

06:07

[00:00] Hello guys, in this video I want to show you Hide PHP. Static site generator which is not a new thing, not a new tool, it's pretty old actually, but I think it doesn't get enough love in the community of Laravel and PHP, but it's

[00:15] pretty powerful. Let me show you what you can build with that, but before I do that I want to thank the author of Hide PHP, Emma De Silva, who created not only Hide PHP, but the whole Hide framework behind it.

[00:27] So what you can do with HidePHP is generate something like that. Static page for, in this case, fictional package Laravel API guard, and this is powered by HidePHP.

[00:39] Let me show you what's inside. So these are all static pages, so for example if you click on release, it's instantly loading, it's really fast, so you can release separate pages off, like for example release notes

[00:52] or blog, then you click here, see the speed, it's instant, it's the whole point of static site generator. Or if you go back to home, there should be a link, read the documentation, that is also

[01:04] powered by high php, and then you have menus here, which is also blazingly fast to load. Also there are small details, like light and dark mode, that also works as well.

[01:16] And all that is powered by markdown files that you write as content with typical markdown syntax and then that results in HTML files in underscore site holder.

[01:29] So you can see the HTMLs here, including blog HTML, 404 HTML and others. And next I'll show you how it works and how you can add more content, but before I do that I want to thank the sponsor of this video who allow me to spend more time showcasing packages like HIDE from the community This video is sponsored by Sparky and their product Flare to track and catch errors

[01:55] And they agreed kindly to sponsor multiple videos on my channel because there are multiple features to show about Flare. One of them is GitHub integration with issues. So let me show you my example.

[02:07] I use Flare on, for example, AI coding daily project and here's one of the errors that was caught. And if you enable GitHub integration, what specific repository for that project, you can see issues here,

[02:19] and then you can create issue, or it can be created automatically. So in the integration section for a specific project, you can configure GitHub to enable or disable those features,

[02:32] like, for example, automatically link GitHub issues to errors like this. But when creating the issue manually, there's a link use details from error and also same with body of the issue and let's try to

[02:45] create the issue and see what happens there it is on my github and also there's a link back to open and flare and then i can work on fixing the issue and then at some point i close that which will trigger automatically closing resolving of the issue on the side of flare or it can be vice

[03:03] versus for example try to close that issue and let's see what happens on the side of Flare and as you can see there's one comment that error was resolved and if we click that one it will open Flare error which will have resolved status.

[03:20] You can try Flare at Flareapp.io and there's 10 day trial no credit card required and thank you Sparcy and Flare for sponsoring this video So how it works if we start from the beginning it not actually a package it Composer create projects you create a new project kind of documentation for your existing tools

[03:39] and then there's hide serve command for development server, and then a lot of, not autism commands in this case, but php hide make something, and then you build the static HTML.

[03:51] Then the result comes in underscore site, as you saw already, and then you need to point your web server to that underscore side, and then you have index.html here, and from here you have

[04:03] all the menu items to access other pages. Interestingly, under the hood, it's not Laravel, it's using Laravel 0 framework, and also height framework, which is kind of the back end of that,

[04:15] but there's no other package in Composer.json, it's just that. Creating content is also pretty easy php-height-make-post and then in markdown you basically create something like this so so-called

[04:31] font matter and then write your markdown here also there's the schema structure what you can enter inside of that font matter to be populated in the final website also you can create other

[04:44] types of pages which is the documentation pages so on my example it's this slash docs rate limits and SlashDocs others, so they were created with specifically this, MakePageTypeDocs,

[04:57] and then again, same Markdown with FontMatter, also with Navigation if you prefer that, so Navigation is this thing on the left, so basically with Markdown and PHPHide commands, I wanted

[05:11] to say Artisan commands now it PHPHide because it doesn use Ravable or Artisan This is how you build the static HTML website which is as I mentioned blazingly fast You can also customize your site You can also customize navigation menus and stuff like that

[05:28] so you can read that in the docs. I don't want to read it line by line for you. I just wanted to showcase the result, which was partially generated by AI. So, if you have a product or a package,

[05:40] and you don't want to store it in big reading on GitHub, if you want the separate website, which is static, as you can see, it's pretty good for typical Laravel or PHP packages with

[05:52] menu items on footer as well. But also it's not just markdown, it's also blade, so in underscore pages you can see index blade, which on top has, it's similar to Livewire for single file components, it's

[06:07] at PHP, and then inside you use tailwind, you use blade if you want to, so things like hide route, it's not laravel route again, but you can see for each syntax as well here,

[06:20] it's kind of a mix, which may be a struggle to be honest, I want to be unbiased reviewers here, so in some cases it is inconvenient if you are a laravel developer, you want to stick with blade, but then you have to learn some hide PHP syntax, so there may be a thing

[06:35] or two in the features that you will raise your eyebrow why it's implemented this or that way. But it's all well documented and documentation itself is structured pretty well. Which in itself, surprise surprise, was built with Hive PHP as well.

[06:51] So yeah, this is Hive PHP, open source, free static site generator. What do you think about that? Have you tried it? Or do you have other alternatives you use for similar static pages? Let's discuss in the comments below.

[07:03] That's it for this time and see you guys in other videos.

More from Laravel Daily

View all

⚡ Saved you 0h 07m reading this? Transcribe any YouTube video for free — no signup needed.