Giter Site home page Giter Site logo

fabiang / assetic-module Goto Github PK

View Code? Open in Web Editor NEW

This project forked from widmogrod/zf2-assetic-module

5.0 5.0 6.0 552 KB

Laminas, Zend Framework and Mezzio module for Assetic. Asset management system for your vendor folders.

License: MIT License

PHP 99.78% CSS 0.05% JavaScript 0.17%
assetic assets assets-management laminas laminas-mvc mezzio php zend-framework

assetic-module's People

Contributors

ahendri avatar denniswinter avatar dshafik avatar fabiang avatar fabiankoestring avatar francisdaigle avatar ftdebugger avatar googoid avatar gordonschmidt avatar gregorybesson avatar kersten avatar krmarien avatar lcf avatar matthiaskuehneellerhold avatar melliol avatar nyholm avatar parktrip avatar perfect-web avatar powturns avatar rhysr avatar robertmarsal avatar saeven avatar tgarbiak avatar thestanislav avatar ufomelkor avatar vahid-sohrabloo avatar vierbergenlars avatar widmogrod avatar zmicier avatar zygous avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

assetic-module's Issues

Listener on dispatch instead of render

Hi,

I am implementing this library, but now I run into the fact that the listener listens on an dispatch event with quite high priority. What is the reason for this?
As you are triggering a function renderAssets this does not make sense. For instance if your controller forwards to another controller, you cannot use that information because that happens on a lower prio dispatch event.
Could it be changed to trigger on render?

See \Fabiang\AsseticBundle\Listener->attach

PHP8 Install, assetic/framework require directive is interfering

Hello Fabian!

I was hopeful to give your module a try, I saw your message in widmogrod/assetic, that you were working on PHP8 in here - and that's exactly what I need.

Issue I've run into is that this module requires assetic/framework ^2.0, however, that version does not support PHP8. It's necessary to move to dev branches of assetic/framework for now.

In other words, this doesn't work:

    "fabiang/assetic-module": "3.0.1",
    "assetic/framework": "dev-develop",

Would you be open to a simple PR that adjusts "assetic/framework" to a newer version?

Media selector support for stylesheet

Hi Fabian,

Great work on maintaining this module, however I'm missing a small feature.

When using the ViewHelperStrategy there is no option to specify the media selector, which causes it to be 'screen' this is an issue when trying to print the page.
In the View/Helper/Asset class there seems to be support for the media option.

Could you add it to the strategy?

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.