Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Templates Bundle Laravel Package

cyril-verloop/templates-bundle

View on GitHub
Deep Wiki
Context7

templates-bundle

Templates for Symfony 7+.

License

Installation

As a Composer depedency

In your project directory run

user@host project$ composer require "cyril-verloop/templates-bundle"

For development purposes

user@host ~$ cd [PATH_WHERE_TO_PUT_THE_PROJECT] # E.g. ~/projects/
user@host projects$ git clone https://github.com/cyrilverloop/templates-bundle.git
user@host projects$ cd templates-bundle

Usage

With Symfony Flex, you do not need to add the configuration. Without Symfony Flex, the templates needs to be referenced in the config/packages/twig.yaml file :

twig:
    paths:
        '%kernel.project_dir%/vendor/cyril-verloop/templates-bundle/templates': CVTemplatesBundle

You can also look at the config/packages/twig.yaml file of this project.

Then, you can inherit the templates :

{% extends "@CVTemplatesBundle/base.html.twig" %}
{# or #}
{% extends "@CVTemplatesBundle/layout.html.twig" %}

{# Your code here #}

Detailed documentation

You can find detailed informations in the documentation.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
graham-campbell/flysystem
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
directorytree/opensearch-client
directorytree/opensearch-adapter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin