Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel Theme for managing layouts

I'm starting to develop my master's thesis in laravel 4 and now needed a package for managing themes. The app would have, for example, 3 themes: admin, Theme1 and Theme2.

Do you suggest any?

some features that would be interesting to have the package:

  • management styles and scripts (add assets)
  • minification of assets
  • compilation lesscss (optional)
like image 567
Miguel Borges Avatar asked Dec 08 '25 10:12

Miguel Borges


2 Answers

Sounds like you need to get your hands on the Cartalyst Themes package. Ticks all your boxes as far as I can tell.

If you're not keen on paying for a subscription then you might need to look at rolling your own. There's a number of asset management packages out there (Assetic, Basset, and Jeffrey Way's Laravel Guard) to help you get started on that front. As for the actual swapping out themes portion you'll need to implement something yourself there.

like image 90
Jason Lewis Avatar answered Dec 09 '25 23:12

Jason Lewis


I wrote a package name "Theme".

https://github.com/teepluss/laravel4-theme

like image 37
Tee Plus Avatar answered Dec 10 '25 01:12

Tee Plus