Building a static site generator in 100 lines of PHP

Published: 02 January 2019
on channel: 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!


Watch video Building a static site generator in 100 lines of PHP online without registration, duration hours minute second in high quality. This video was added by user Andrew Schmelyun 02 January 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,983 once and liked it 140 people.