Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

codefreak's avatar

Laravel5 pure PHP based asset management (not elixir)

Hi,

Is there any asset management package written in pure PHP.

I know elixir is great. But due to some client's server stack I am not able to install node and other dependency on server.

In laravel4 is used https://github.com/CodeSleeve/asset-pipeline fro assect management. But this package is no more support Laravel5.

I tried couple of pure PHP based packages like SerafimArts / Asset, weboap/carabiner

But not satisfied with them.

Please help me with this.

0 likes
4 replies
thomaskim's avatar

Why would you need this on the server though? Wouldn't you just run elixir locally and then push the changes onto the server?

martinbean's avatar

@codefreak As @thomaskim says, just compile assets locally and then upload the generated files. It’s what I do for clients who are stuck using shared hosts with no SSH access, or ability to install command line utilities to run things like Gulp and Grunt.

1 like
codefreak's avatar

Thanks @thomaskim and @martinbean for your replies. :)

Sometimes I stuck on some quick and dirty fixes on direct on client server. At that time I don't have all the Gulp and Grunt set-up. So for that reason I want some PHP based solutions, So I can use that on my local development as well as on server.

Currently I am trying to use https://github.com/kriswallsmith/assetic for the same.

But your suggestion for some other packages or workaround are most welcome. :)

zackward's avatar

Check out Robo. =) It's a pure PHP task runner that can be used to compile sass, concatenate, minify, etc.

http://robo.li/

1 like

Please or to participate in this conversation.