Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class 'CssMin' not found #875

Open
scones opened this issue Feb 23, 2018 · 3 comments
Open

Class 'CssMin' not found #875

scones opened this issue Feb 23, 2018 · 3 comments

Comments

@scones
Copy link

scones commented Feb 23, 2018

I get the following error, when using the CssMinFilter class.

The reason is obvious: The class was used, but never declared.

Type: Error
Message: Class 'CssMin' not found
File: /var/www/dev/zelos/vendor/kriswallsmith/assetic/src/Assetic/Filter/CssMinFilter.php
Line: 70

@marvinborner
Copy link

marvinborner commented Apr 13, 2018

Install the corresponding class from composer
composer require natxet/CssMin
this worked for me.

@scones
Copy link
Author

scones commented Apr 14, 2018

my point is not that i can install it. i am aware of it.
my point is: there should be a suggest or dependency in the assetic composer.json, as it is obviously needed.

@LukeTowers
Copy link

Assetic lives on at https://github.com/assetic-php/assetic & under assetic/framework on Packagist. We've just released the 2.0 release that addresses a number of existing issues and dependency updates, see https://github.com/assetic-php/assetic/releases/tag/v2.0.0 for more information! Please try it out and let us know if you have any issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants