Giter Site home page Giter Site logo

dotkernel / dot-twigrenderer Goto Github PK

View Code? Open in Web Editor NEW
7.0 5.0 1.0 162 KB

DotKernel component providing twig extensions and customizations

Home Page: https://docs.dotkernel.org/dot-twigrenderer/

License: MIT License

PHP 100.00%
twig-extension

dot-twigrenderer's Introduction

dot-twigrenderer

Important

dot-twigrenderer is a wrapper on top of mezzio/mezzio-twigrenderer

Dynamic JSON Badge

DotKernel component providing twig extensions and customizations.

OSS Lifecycle PHP from Packagist (specify version)

GitHub issues GitHub forks GitHub stars GitHub license

Build Static codecov

SymfonyInsight

dot-twigrenderer's People

Contributors

alexmerlin avatar arhimede avatar bidi47 avatar calin23 avatar gabidj avatar jurj-bogdan avatar n3vrax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

jurj-bogdan

dot-twigrenderer's Issues

remove doctrine-module

dot-twigrender require
doctrine -module which require
laminas -cache which require
psr/cache 1.0

conflict with roave/psr-container-doctrine which require
psr/cache 2 or 3

@alexmerlin we need advice here

Replace usage of `twig_date_converter` with own solution

The issue:

  • Function 'twig_date_converter' is deprecated
  • Function 'twig_date_converter' is marked as @ internal

Where:
File: src/Extension/DateExtension.php
Lines: 43-44

Recommendation from vendor:
None

Todo:

  • Find a solution to achieve the same results with our own function directly in the DateExtension class.
  • Remove file psalm-baseline.xml
  • Remove line errorBaseline="psalm-baseline.xml" from psalm.xml

Static analysis badge

Please add missing static analysis badge.
Place it before the SymfonyInsight one.

dot-user twigrenderer

since in version 3.0 we removed the package dot-user
check what happens with dot-user tiwg rendered

conflict doctrine module for version 3.4.0

`composer require dotkernel/dot-twigrenderer:3.4.0
./composer.json has been updated
Running composer update dotkernel/dot-twigrenderer
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- doctrine/doctrine-module[5.1.0, ..., 5.2.1] require doctrine/collections ^1.6.8 -> found doctrine/collections[1.6.8, ..., 1.8.0] but the package is fixed to 2.1.2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- doctrine/doctrine-module 5.3.0 requires doctrine/collections ^1.8.0 -> found doctrine/collections[1.8.0] but the package is fixed to 2.1.2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- dotkernel/dot-twigrenderer 3.4.0 requires doctrine/doctrine-module ^5.1 -> satisfiable by doctrine/doctrine-module[5.1.0, ..., 5.3.0].
- Root composer.json requires dotkernel/dot-twigrenderer 3.4.0 -> satisfiable by dotkernel/dot-twigrenderer[3.4.0].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.`

Add Codecov badge

codecov

[![codecov](https://codecov.io/gh/dotkernel/dot-twigrenderer/graph/badge.svg?token=M2WTS4DCKX)](https://codecov.io/gh/dotkernel/dot-twigrenderer)

crash when zend-expressive-twigrender is 2.5.0

zend-expressive-twigrenderer 2.4.0 everything if fine
zend-expressive-twigrenderer 2.5.0 is crashing at :

Got error 'PHP message: PHP Fatal error: Uncaught Error: Class 'Twig_Extension' not found in /var/www/vhosts/v3.dotkernel.net/httpdocs/vendor/dotkernel/dot-twigrenderer/src/Extension/AuthenticationExtension.php:19\nStack trace:\n#0 /var/www/vhosts/v3.dotkernel.net/httpdocs/vendor/composer/ClassLoader.php(444): include()\n#1 /var/www/vhosts/v3.dotkernel.net/httpdocs/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/var/www/vhosts...')\n#2 [internal function]: Composer\Autoload\ClassLoader->loadClass('Dot\\Twig\\Extens...')\n#3 /var/www/vhosts/v3.dotkernel.net/httpdocs/vendor/dotkernel/dot-twigrenderer/src/Factory/AuthenticationExtensionFactory.php(28): spl_autoload_call('Dot\\Twig\\Extens...')\n#4 /var/www/vhosts/v3.dotkernel.net/httpdocs/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(764): Dot\Twig\Factory\AuthenticationExtensionFactory->__invoke(Object(Zend\ServiceManager\ServiceManager), 'Dot\\Twig\\Extens...', NULL)\n#5 /var/www/vhosts/v3.dotkernel.net/httpdocs/vendor/zendfr...'

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.