LogoLogo
Data
  • Introduction
  • Installation
  • About
  • Design principles
  • Templating
    • Templating
    • Debugging
    • Twig filters & functions
      • Table of Contents
    • Pagination
  • Development
    • Caching
    • URLs
Powered by GitBook
On this page
  • Requirements
  • Symfony
  • Twig helpers
  • Standalone

Installation

PreviousIntroductionNextAbout

Last updated 2 years ago

You can install Strata Frontend via . You can either install to a Symfony project or into your PHP project.

Support for Symfony 6 and Laravel is under development.

Requirements

  • PHP 7.4+

Symfony

Install into your Symfony 5 project:

composer require strata/symfony-frontend:^0.8

Twig helpers

Register these with your config/services.yaml:

# Register Frontend Twig helpers
Strata\Symfony\TwigExtension:
    tags: ['twig.extension']

Standalone

Install into your PHP project:

composer require strata/frontend:^0.8
Composer
Composer