Sculpin
Static site generator for PHP
A new Sculpin `4.0.x-dev` branch has been created to work toward a PHP 8.5-compatible version of Sculpin.
The branch contains many quick "cleanups" to take advantage of some newer PHP features, and more such cleanups are coming. This means that the code is a bit unstable at the moment, as those cleanups may have introduced unexpected changes to interfaces and so forth.
`composer require sculpin/sculpin:dev-4.0.x-dev` should get you up and running with the new branch.
Sculpin version 3.3.0-alpha is now available for testing.
https://github.com/sculpin/sculpin/releases/tag/3.3.0-alpha
Adds support for PHP 8.2 and Twig 3. Drops support for PHP 7.2, 7.3. (Next alpha may drop support for PHP 7.4, currently undecided.)
Removes the "Canal" dependency in favour of League\MimeTypeDetection.
Special thanks to @pronskiy@phpc.social and @sergey@phpc.social for their contributions!
The Sculpin project needs help to upgrade its internals to a newer version of Symfony, as well as to replace some unmaintained dependencies. Interested in lending a hand? Please reach out to @kboyd@phpc.social for more info. #php #symfony #symfonyFramework #sculpin #sculpinPHP
Released sculpin 3.3.0 alpha-2 this evening. This update boosts the minimum symfony version to 5.4.
Some bundles/extensions may need to be updated as a result. There was a change to the default symfony dependency injection Configuration.php file in 5.x: the tree builder now takes a name as the first argument, and the root node is fetched using a new getRootNode method.
Thanks again to @sergey@phpc.social for his work on this release :)
In the middle of adding a "Create File" feature to the in-browser editor, I realized that it would be a huge directory-traversal risk. Guess I'd better tread carefully!
Sculpin 4.x will include an experimental "live editor mode", so you can edit your content inside your web browser when running "generate --watch --server --editor".
But that command line invocation is getting extremely silly. It should be condensed into a single command.
How do folks feel about a "run" command? Or what about making it the default behaviour, so running "vendor/bin/sculpin" is enough to go into generate+watch+serve+edit mode?