linotype/symfony

Linotype Symfony bundle

Installs: 117

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:symfony-bundle

v1.2.2 2021-04-09 23:51 UTC

This package is auto-updated.

Last update: 2023-03-10 00:12:13 UTC


README

Installation

Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.

Applications that use Symfony Flex

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

$ composer require linotype/symfony

Step 2: Install a linotype project starter

Create a linotype repository project or use the official starter

$ composer require linotype/starter

Step 3: Edit config files

Create route config file to enable linotype routes system

// config/routes/linotype.yaml

linotype:
  resource: '@LinotypeBundle/Resources/config/routes.yaml'

Change the default twig path to linotype project directory

// config/packages/twig.yaml

twig:
    default_path: '%kernel.project_dir%/linotype'