Search by

1994 / social-images-core

1994

The shared core of 1994's Social Images products: the template format, the page renderer, and the rendering contract with its drivers.

Package info

github.com/1994limited/social-images-core

pkg:composer/1994/social-images-core

Statistics

Installs: 15

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v1.1.1 2026-10-17 22:37 UTC

This package is auto-updated.

Last update: 2026-10-17 22:39:40 UTC


README

The shared core of 1994's Social Images products: Social Images for Statamic, and the Craft and Filament versions to come. You don't install it yourself; the product you use requires it.

It holds what's the same in every product:

  • The template format (Templates\Schema): the JSON designer templates are saved, exported and imported as, and the checks that keep anything but layout data out of them.
  • The renderer (resources/runtime/runtime.js): the script that draws a template, in the Control Panel's designer and in the page that's screenshotted, so the two always match. Rendering\Page builds that page.
  • The rendering contract and its drivers: what turns the page into an image. Browsershot (Chrome on your server) and Cloudflare Browser Rendering are built in; others can be added. See Rendering drivers.
  • The seventeen starter templates and the eight open-licence fonts that come with every product.

Development

composer install
npm install
vendor/bin/phpunit   # unit tests, and driver conformance when a service is set up (see docs/drivers.md)
npm test             # the renderer's tests
vendor/bin/pint      # code style

Licence

Commercial, as part of the Social Images products. See LICENSE.md. The bundled fonts are under the SIL Open Font License; each has its licence beside it in resources/fonts.