{"id":18783023,"url":"https://github.com/pageon/stitcher-core","last_synced_at":"2025-04-04T00:07:45.928Z","repository":{"id":37547532,"uuid":"50194321","full_name":"pageon/stitcher-core","owner":"pageon","description":"High performance, static websites for PHP developers","archived":false,"fork":false,"pushed_at":"2024-11-26T09:25:32.000Z","size":1088,"stargazers_count":148,"open_issues_count":10,"forks_count":7,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-27T23:09:44.169Z","etag":null,"topics":["performance","php","static-site","twig"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pageon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-22T16:48:42.000Z","updated_at":"2025-02-11T21:32:22.000Z","dependencies_parsed_at":"2025-01-28T13:16:25.847Z","dependency_job_id":"c51ec95d-219b-42aa-9a74-8062fba0345d","html_url":"https://github.com/pageon/stitcher-core","commit_stats":{"total_commits":587,"total_committers":3,"mean_commits":"195.66666666666666","dds":0.495741056218058,"last_synced_commit":"9dc2d5871d7aa03e9de66f39b0ae35e77ce73772"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pageon%2Fstitcher-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pageon%2Fstitcher-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pageon%2Fstitcher-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pageon%2Fstitcher-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pageon","download_url":"https://codeload.github.com/pageon/stitcher-core/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247097993,"owners_count":20883128,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["performance","php","static-site","twig"],"created_at":"2024-11-07T20:37:53.720Z","updated_at":"2025-04-04T00:07:45.912Z","avatar_url":"https://github.com/pageon.png","language":"PHP","readme":"# Stitcher [![Build Status](https://scrutinizer-ci.com/g/pageon/stitcher-core/badges/build.png?b=develop)](https://scrutinizer-ci.com/g/pageon/stitcher-core/build-status/develop) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/pageon/stitcher-core/badges/quality-score.png?b=develop)](https://scrutinizer-ci.com/g/pageon/stitcher-core/?branch=develop) [![Code Coverage](https://scrutinizer-ci.com/g/pageon/stitcher-core/badges/coverage.png?b=develop)](https://scrutinizer-ci.com/g/pageon/stitcher-core/?branch=develop)\n\n\nHigh performance, static websites for PHP developers.\n\n```sh\ncomposer create-project pageon/stitcher\n```\n\n### Why Stitcher?\n\nStitcher 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.\n \nAlso important to note, included with Stitcher:\n\n- Automatic image optimization, as easy as `image.srcset`\n- HTTP/2 server push support\n- Markdown, YAML and JSON\n- Twig and Smarty support\n- Data set overviews and details; pagination, sorting and filtering\n- Built-in SASS support\n- JavaScript and CSS minification\n- Built-in SEO and meta tag optimizations\n\nA quick look at Stitcher:\n\n```yaml\n# site.yml\n\n/blog:\n    template: blog\n    variables:\n        posts: data/blog.yml\n    \n/blog/{id}:\n    template: blog.post\n    variables:\n        post: data/blog.yml\n    adapters:\n        collection:\n            variable: post\n            field: id\n```\n\n```yaml\n# data/blog.yml\n\nhello_world:\n    date: 2017-03-10\n    highlight: false\n    title: Hello world\n    content: blog/hello.md\n    image: hello_world.jpg\n\nfoo_bar:\n    date: 2017-03-14\n    highlight: true\n    title: Foo Bar\n    content: blog/far_bar.md\n    image: foo_bar.jpg \n```\n\n```html\n\u003c!-- blog.post.html --\u003e \n\n{% extends 'index.html' %}\n\n{% block content %}\n    \u003carticle\u003e\n        \u003ch1\u003e{{ blog.title }}\u003c/h1\u003e\n        \n       \u003cimg src=\"{{ blog.image.src }}\" \n            srcset=\"{{ blog.image.srcset }}\" \n            sizes=\"{{ blog.image.sizes }}\" alt=\"{{ blog.image.alt }}\"/\u003e\n        \n        {{ blog.content }}\n    \u003c/article\u003e\n{% endblock %}\n```\n\nYou can read more about it on [the Stitcher website](https://www.stitcher.io).\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpageon%2Fstitcher-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpageon%2Fstitcher-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpageon%2Fstitcher-core/lists"}