<p>If you use PHP and need to make a static website, <a href="https://sculpin.io">Sculpin</a> is a great choice!</p>
<h2 id="what-is-it%3F">What is it?</h2>
<p>Built with PHP and using Symfony components, it converts Markdown files and Twig templates into static HTML that can be easily deployed and hosted.</p>
<p>Once generated, you can upload the files to a web host of your choice as the generated files are simple HTML, such as an S3 bucket with static hosting or GitHub Pages.</p>
<h2 id="why-do-i-use-it%3F">Why do I use it?</h2>
<p>As a PHP Developer, it's already familiar and I can immediately start instead of learning a new language or templating engine, which I'd need to do if I were to use a static site generator written in Ruby, JavaScript or Go.</p>
<p>If I need to extend it, I already can.</p>
<p>I already know how to write custom Twig extensions, for example, so I can do it in Sculpin in the same way. (<a href="https://github.com/opdavies/sculpin-twig-markdown-bundle">I made one</a> and open-sourced it)</p>
<p>I already know how to use PHPUnit to write tests.</p>
<h2 id="what-do-i-use-it-for%3F">What do I use it for?</h2>
<p>I use Sculpin for <a href="https://github.com/opdavies/oliverdavies.uk">this website</a> and client projects that don't need the features of a CMS or framework with the ability to have reusable components and functionality provided by Twig (this works great with Tailwind CSS, too).</p>
<p>I used it to <a href="/test-drive-twig-with-sculpin">learn Twig before Drupal 8 was released</a>, back in 2015.</p>
<p>I've also given a talk on <a href="/building-static-websites-sculpin">building websites with Sculpin</a> which I may submit to some upcoming conferences.</p>
format:full_html
processed:|
<p>If you use PHP and need to make a static website, <a href="https://sculpin.io">Sculpin</a> is a great choice!</p>
<h2 id="what-is-it%3F">What is it?</h2>
<p>Built with PHP and using Symfony components, it converts Markdown files and Twig templates into static HTML that can be easily deployed and hosted.</p>
<p>Once generated, you can upload the files to a web host of your choice as the generated files are simple HTML, such as an S3 bucket with static hosting or GitHub Pages.</p>
<h2 id="why-do-i-use-it%3F">Why do I use it?</h2>
<p>As a PHP Developer, it's already familiar and I can immediately start instead of learning a new language or templating engine, which I'd need to do if I were to use a static site generator written in Ruby, JavaScript or Go.</p>
<p>If I need to extend it, I already can.</p>
<p>I already know how to write custom Twig extensions, for example, so I can do it in Sculpin in the same way. (<a href="https://github.com/opdavies/sculpin-twig-markdown-bundle">I made one</a> and open-sourced it)</p>
<p>I already know how to use PHPUnit to write tests.</p>
<h2 id="what-do-i-use-it-for%3F">What do I use it for?</h2>
<p>I use Sculpin for <a href="https://github.com/opdavies/oliverdavies.uk">this website</a> and client projects that don't need the features of a CMS or framework with the ability to have reusable components and functionality provided by Twig (this works great with Tailwind CSS, too).</p>
<p>I've also given a talk on <a href="/building-static-websites-sculpin">building websites with Sculpin</a> which I may submit to some upcoming conferences.</p>