Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork16
HydePHP - Static Site Generator with the power of Laravel and the simplicity of Markdown.
License
hydephp/hyde
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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.
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'tneed to customize anything. But youcan customize everything.
See the documentation and learn more athttps://hydephp.com/docs
- 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.
- 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.
- The Hyde starter comes withHydeFront 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.
- 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 youcan publish the vendor views, just like in Laravel.
- Override many of the dynamic content features like the menus and footer.
SeeInstallation Guide andGetting 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 thehyde: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
Please seeCHANGELOG for more information on what has changed recently.
HydePHP is an open-source project, contributions are very welcome!
Development is made in the HydePHP Monorepo, which you can find herehttps://github.com/hydephp/develop.
If you discover any security-related issues, please emailcaen@desilva.se instead of using the issue tracker,or use the GitHubSecurity Advisory page.All vulnerabilities will be promptly addressed.
- Caen De Silva, feel free to buy me a coffee!https://www.buymeacoffee.com/caen
- All Contributors
The MIT License (MIT). Please seeLicense File for more information.
About
HydePHP - Static Site Generator with the power of Laravel and the simplicity of Markdown.
Topics
Resources
License
Code of conduct
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.