GithubHelp home page GithubHelp logo

sf-extension's Introduction

TehlaExtensionBundle :

Installation :

composer require tehla/sf-extension

Components :

schema_filter :

Prevent doctrine modifications with doctrine:schema:update command on tables defined in doctrine.dbal.schema_filter

See https://symfony.com/doc/current/bundles/DoctrineBundle/configuration.html#doctrine-dbal-configuration

Example:

doctrine:
    dbal:
        schema_filter: '/^((?!view_).)*$/'

To enable this feature in services.yaml :

tehla_extension:
    component:
        schema_filter: true

maker_twig:

Use twig templates with symfony maker :

tehla_extension:
    component:
        maker_twig: true

Warning should appear during the making from your twig templates. You can ignore them.

maker_generator:

The symfony maker bundle only generates classes into src folder with unwanted App\ namespace. You can now make your code anywhere in your project, by declaring the namespaces you want to host your generated code :

tehla_extension:
    component:
        maker_generator: 
            - My\NameSpace\Out\Of\Src
            - Other\Namespace

This feature should only work with Generator::generateFile(), where you can specify the destination path of your generated code.

Warning should appear during the making from your twig templates. You can ignore them.

sf-extension's People

Contributors

tehla avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.