weareindi / pillar-core
A TWIG powered pattern system
Requires
- php: ^8.4
- symfony/console: ^8.1
- symfony/dotenv: ^8.1
- symfony/error-handler: ^8.1
- symfony/filesystem: ^8.1
- symfony/framework-bundle: ^8.1
- twig/intl-extra: ^3.26
- twig/twig: ^3.28
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-master
- 2.0.0
- 1.10.2
- 1.10.1
- 1.10.0
- 1.9.8
- 1.9.7
- 1.9.6
- 1.9.5
- 1.9.4
- 1.9.3
- 1.9.1
- 1.9.0
- 1.8.1
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.2
- 1.0.1
- 1.0.1-beta
- 1.0.0-beta
- dev-update
- dev-bf-errors
- dev-dev
- dev-ft-update
- dev-ft-add-twig-intl
- dev-ft-gen-boilerplates
- dev-ft-html-export
- dev-ft-alt-page-data
This package is auto-updated.
Last update: 2026-09-30 22:07:32 UTC
README
Pillar Core provides the PHP application, Twig integration, console commands, interface templates, and interface assets used by the Pillar pattern system.
Requirements
- PHP 8.4 or newer
- Composer 2
- Node.js and npm for interface asset development
Installation
Pillar projects normally install Core through Composer:
composer require weareindi/pillar-core
The companion Pillar boilerplate can also symlink a sibling pillar-core checkout for local development.
Core asset development
Install the Node dependencies and create the local Gulp environment file:
npm install cp .env.gulp.example .env.gulp
Available commands:
npm run build # compile and minify the interface CSS and JavaScript npm run watch # rebuild changed core source files
The build uses Gulp 5, Dart Sass, PostCSS, and esbuild. Sass uses the module system (@use and @forward), with _src/scss configured as a load path.
Runtime performance
Twig templates use an automatically reloading compilation cache. Pattern previews are rendered once, while code-viewer Twig, HTML, and JSON content is loaded and syntax-highlighted only when its Pre or Post panel is opened.
Version
Current development version: 2.0.0.