The Elegant and Powerful Static Site Generator#
HydePHP is a Static Site Generator focused on writing content, not markup. With Hyde, it is easy to create static websites, blogs, and documentation pages using Markdown and (optionally) Laravel's Blade.
Operated entirely through the command-line, HydePHP provides developers with a fast and efficient way to create high-quality websites with ease. Unlike traditional web development frameworks, sites compiled with HydePHP don't require any server to run, making it an ideal choice for building lightweight and fast-loading websites.
Compared with other static site builders, Hyde is blazingly fast and seriously simple to get started with, yet it has the full power of Laravel waiting for you when you need it, as Hyde is powered by Laravel Zero, a stripped-down version of the robust and popular Laravel Framework, optimized for console applications.
Hyde makes creating websites easy and fun by taking care of the boring stuff, like routing, writing boilerplate, and endless configuration. Instead, when you create a new Hyde project, everything you need to get started is already there -- including precompiled TailwindCSS, well-crafted Blade templates, and easy-to-use asset management.
Hyde was inspired by JekyllRB and is designed for developers who are comfortable writing posts in Markdown, and it requires virtually no configuration out of the box as it favours convention over configuration and is preconfigured with sensible defaults.
Installation#
HydePHP is a command-line interface (CLI) application that is installed on a per-project basis.
To use HydePHP, your system must have PHP version 8.2 or later installed, along with Composer, and access to a terminal.
The recommended method of installation is using Composer.
composer create-project hyde/hyde
From here, the Quickstart Guide walks you through starting a development server, creating your first content, and compiling your site.
Browse the Documentation#
Getting Started#
Everything you need to go from an empty directory to a compiled site.
Creating Content#
The page types Hyde understands, and how to get your content onto the web.
- Creating Blog Posts
- Markdown & Blade Pages
- Documentation Pages
- Managing and Compiling Assets
- Compile & Deploy
Digging Deeper#
Making a Hyde site your own, and getting unstuck when something misbehaves.
- Customizing your Site
- Navigation Menus
- Advanced Markdown
- Advanced Customization
- File-based Collections
- Helpers and Utilities
- Troubleshooting
- Updating Hyde Projects
Advanced Features#
For when you want to reach past the defaults and drive Hyde programmatically.
Architecture Concepts#
How Hyde works under the hood, for contributors and the deeply curious.
- Introduction
- Autodiscovery
- Automatic Routing
- Dynamic Data Discovery
- Page Models
- The HydeKernel
- The Extensions API
