Building a static site generator in 100 lines of PHP

Опубликовано: 10 Октябрь 2024
на канале: Andrew Schmelyun
5,983
140

Build a static site generator using just 100 lines of PHP!

Directly support these videos:   / aschmelyun  

philo/laravel-blade package: https://github.com/PhiloNL/Laravel-Blade

In this video I'll be building a simple class that will combine raw JSON content files, distribute the contents as variables into a Laravel Blade template, and then save the HTML into our desired output directory tree.

Before starting you should have a development environment with PHP 5.6.4+ and Composer installed.

Any questions? Ideas for a video? Feel free to let me know here or on Twitter, @aschmelyun!