2017 © Pedro Peláez
 

library stitcher

image

pageon/stitcher

  • Friday, April 13, 2018
  • by brendt
  • Repository
  • 1 Watchers
  • 2 Stars
  • 93 Installations
  • Smarty
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 13 Versions
  • 3 % Grown

The README.md

Build Status Scrutinizer Code Quality, (*1)

Stitcher

High performance, static websites for PHP developers., (*2)

composer create-project pageon/stitcher

Why Stitcher?

Stitcher differs from many other static site generator in two areas. First of all: performance is key. Stitcher is built from its core for high performance websites. All tools available to you put performance on the first place. Secondly, it doesn't try to add extra syntax to existing formats. Stitcher provides a robust set of tools for developers to build with, and not a lot of hacks so everything fits in one file., (*3)

Also important to note, included with Stitcher:, (*4)

  • Automatic image optimization, as easy as image.srcset
  • HTTP/2 server push support
  • Markdown, YAML and JSON
  • Twig and Smarty support
  • Data set overviews and details; pagination, sorting and filtering
  • Built-in SASS support
  • JavaScript and CSS minification
  • Built-in SEO and meta tag optimizations

A quick look at Stitcher:, (*5)

# site.yml

/blog:
    template: blog
    variables:
        posts: data/blog.yml

/blog/{id}:
    template: blog.post
    variables:
        post: data/blog.yml
    adapters:
        collection:
            variable: post
            field: id
# data/blog.yml

hello_world:
    date: 2017-03-10
    highlight: false
    title: Hello world
    content: blog/hello.md
    image: hello_world.jpg

foo_bar:
    date: 2017-03-14
    highlight: true
    title: Foo Bar
    content: blog/far_bar.md
    image: foo_bar.jpg 
 

{% extends 'index.html' %}

{% block content %}
    <article>
        <h1>{{ blog.title }}</h1>

       <img src="{{ blog.image.src }}" 
            srcset="{{ blog.image.srcset }}" 
            sizes="{{ blog.image.sizes }}" alt="{{ blog.image.alt }}"/>

        {{ blog.content }}
    </article>
{% endblock %}

You can read more about it on the Stitcher website., (*6)

Upcoming features

Stitcher is in alpha development, so new features are still being made. Here's a list of what's to come before a stable v1 release:, (*7)

  • Plugin support
  • Theme support

Also, we're already thinking about the farther future:, (*8)

  • Localisation
  • URL generation
  • CLI Configuration and setup
  • site:deploy command
  • Frontend Filters
  • Form support with Lumen/Slim

The Versions

13/04 2018

dev-develop

dev-develop

  Sources   Download

MIT

The Requires

 

The Development Requires

20/05 2017

dev-master

9999999-dev

A Stitcher Project

  Sources   Download

MIT

The Requires

 

20/05 2017

1.7.2

1.7.2.0

A Stitcher Project

  Sources   Download

MIT

The Requires

 

20/05 2017

1.7.1

1.7.1.0

A Stitcher Project

  Sources   Download

MIT

The Requires

 

19/05 2017

1.7.0

1.7.0.0

A Stitcher Project

  Sources   Download

MIT

The Requires

 

30/04 2017

1.6.0

1.6.0.0

A Stitcher Project

  Sources   Download

MIT

The Requires

 

22/04 2017

1.5.1

1.5.1.0

A Stitcher Project

  Sources   Download

MIT

The Requires

 

15/04 2017

1.5.0

1.5.0.0

A Stitcher Project

  Sources   Download

MIT

The Requires

 

10/04 2017

1.4.0

1.4.0.0

A Stitcher Project

  Sources   Download

MIT

The Requires

 

29/03 2017

1.3.0

1.3.0.0

A Stitcher Project

  Sources   Download

MIT

The Requires