Stitcher alpha 5

Written on 2017-05-01

This is the last alpha version of Stitcher. The next release will be beta for the first time, and only bugfixes and improvements will be added from now on. Alpha 5 adds the last important pieces for Stitcher to be feature-complete before a stable 1.0 release. The most important things to note are the plugin support, improved command feedback and the internal use of the service container.

You can read about the upcoming plugin support in this blogpost. Furthermore, I'm already working on the first plugin to support a REST API. Next step is a web interface to manage your content. For developers, Stitcher 1.0 will of course be completely useable without any plugins.

It's important to note that this update has a breaking change which existing Stitcher projects should take into account.

Installation

composer require pageon/stitcher-core 1.0.0-alpha5

Update - breaking changes

A last big refactor has been done to support more extensions in the future. This means both the Console and the DevController now live in a different namespace. You'll need an updated version of stitcher and index.php. This can be done with the following commands.

rm ./stitcher
rm ./dev/index.php
cp vendor/pageon/stitcher-core/install/stitcher ./stitcher
cp vendor/pageon/stitcher-core/install/dev/index.php ./dev/index.php

# Remove the cache dir, this might be another directory depending on your configuration.
rm -r .cache/

Changelog

  • Add plugin support!
  • Add PHP 7.0 support.
  • Add Command tests for Router commands and Generate command.
  • Improved meta support.
  • Improved generate command feedback.
  • Refactor the use of the dependency container, enabling future extensions. (See breaking changes).
  • Use stable version of pageon/html-meta.
  • Fix folder parser bug with nested folders.
  • Fix with Sass compiler import paths. The Sass compiler can now also look directly in src/css. This is useful when doing includes and IDE auto-completion.
  • Fix global meta tags not being loaded.
  • Fix for meta tags on detail pages not correctly set.

Things I wish I knew when I started programming

Things I wish I knew when I started programming cover image

This is my newest book aimed at programmers of any skill level. This book isn't about patterns, principles, or best practices; there's actually barely any code in it. It's about the many things I've learned along the way being a professional programmer, and about the many, many mistakes I made along that way as well. It's what I wish someone would have told me years ago, and I hope it might inspire you.

Read more

Comments

Loading…
No comments yet, be the first!
Noticed a tpyo? You can submit a PR to fix it.
HomeRSSNewsletterDiscord© 2025 stitcher.io