1994 / social-images-core
The shared core of 1994's Social Images products: the template format, the page renderer, and the rendering contract with its drivers.
v1.1.1
2026-10-17 22:37 UTC
Requires
- php: ^8.2
- ext-json: *
- ext-mbstring: *
Requires (Dev)
- laravel/pint: ^1.20
- phpunit/phpunit: ^11.0|^12.0
- spatie/browsershot: ^5.0
Suggests
- ext-curl: For the Cloudflare renderer.
- ext-gd: For check() to look at its test image.
- spatie/browsershot: For the Browsershot renderer (Chrome on your own server, with Node.js and Puppeteer).
Provides
None
Conflicts
None
Replaces
None
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\Pagebuilds 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.