hydephp/
hyde
g4t.io

HydePHP is a Laravel-powered Static Site Generator

17 views 487 stars by Paul Redmond

HydePHP - Static Site Generator with the power of Laravel and the simplicity of Markdown.

blog-engine documentation-generator hyde hydephp laravel php static-site-generator tailwind
README from hydephp/hyde Open on GitHub →

HydePHP - Elegant and Powerful Static Site Generator

Latest Version on Packagist Total Downloads on Packagist License MIT Test Coverage Test Suite

Make static websites, blogs, and documentation pages with the tools you already know and love.

About HydePHP

HydePHP is a content-first Laravel-powered console application that allows you to create static HTML pages, blog posts, and documentation sites, using your choice of Markdown and/or Blade.

Build sites in record-time with a full batteries-included TailwindCSS frontend that just works without any fuzz.

Speed & simplicity first, full control when you need it.

Hyde is all about letting you get started quickly by giving you a full-featured frontend starter kit, while also giving you the power and freedom of doing things the way you want to.

Markdown purist? That's all you need. Blade artisan? Go for it. Hyde comes with hand-crafted frontend templates, so you can focus on your content. You don't need to customize anything. But you can customize everything.

See the documentation and learn more at https://hydephp.com/docs

Features

Content Creation

  • Create blog posts using Markdown and Front Matter.
  • Create documentation pages from plain Markdown, no front matter needed!
  • Create simple pages using Markdown, or create advanced ones using Laravel Blade.
  • You can scaffold blog posts and Markdown pages to automatically fill in the front matter.
  • You can also scaffold Blade pages to automatically use the default layout.

Built-in Frontend

  • Hyde comes with a TailwindCSS starter kit, so you can start making content right away.
  • The starter kit is fully responsive, has a dark mode theme, and is customizable.
  • The frontend is accessible to screen-readers and rich with semantic HTML and microdata.
  • Hyde automatically chooses the right layout to use depending on the content being rendered.
  • Hyde also fills in and creates content like navigation menus and sidebars automatically.

Easy Asset Managing

  • The Hyde starter comes with HydeFront to serve the base stylesheet and JavaScript through the jsDelivr CDN.
  • Hyde ships with precompiled and minified TailwindCSS styles in the app.css file, you can also load them through the CDN.
  • This means that all the styles you need are already installed. However, if you want to customize the included Tailwind config, or if you add new Tailwind classes through Blade files, you can simply run the npm run build command to recompile the styles using the pre-configured Tailwind and Vite setup.

Customization

  • You don't need to configure anything as Hyde is shipped with sensible defaults.
  • You can, however, customize nearly everything. Here are just a few out of many examples:
  • All frontend components and page layouts are created with Blade, so you can publish the vendor views, just like in Laravel.
  • Override many of the dynamic content features like the menus and footer.

Getting Started - High-level overview

See Installation Guide and Getting Started for the full details.

It's a breeze to get started with Hyde. Create a new Hyde project using Composer:

composer create-project hyde/hyde

Next, place your Markdown files in one of the content directories: _posts, _docs, and _pages which also accepts Blade files. You can also use the hyde:make commands to scaffold them.

When you're ready, run the build command to compile your static site which will save your HTML files in the _site directory.

php hyde build

Resources

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

HydePHP is an open-source project, contributions are very welcome!

Development is made in the HydePHP Monorepo, which you can find here https://github.com/hydephp/develop.

Security

If you discover any security-related issues, please email emma@desilva.se instead of using the issue tracker, or use the GitHub Security Advisory page. All vulnerabilities will be promptly addressed.

Credits

License

The MIT License (MIT). Please see License File for more information.

More from the ecosystem

durable-workflow/
workflow
g4t.io
9 1,292

Durable Workflow: Long-Running Workflows for Laravel

Embedded durable workflow runtime and orchestration engine for Laravel applications.

durable-workflow/workflow via Laravel News
packstub/
session-replay
g4t.io
14 52

Session Replay for Laravel: Self-Hosted Browser Recordings

Session replay for Laravel: record what a person did in the browser with rrweb, keep the recording on your own disk and database, and watch it behind a gate you define — masked inputs by default, errors, failed Livewire requests and web vitals marked on the timeline, a link to the replay in every log line. packstub/filament-session-replay adds the sessions to a Filament panel.

packstub/session-replay via Laravel News
cyberwizard-dev/
schedule-catchup
g4t.io
17

Replay Missed Laravel Scheduled Tasks With Schedule Catchup

Schedule Catchup replays missed Laravel scheduled tasks after downtime, with opt-in recovery, bounded retries, and access to the original scheduled date.

cyberwizard-dev/schedule-catchup via Laravel News