mankingkaew / laravel-theme
Laravel 10 Themes: Asset & Views folder per theme. Theme inheritance. Blade integration and more...
3.0.0
2023-03-23 10:05 UTC
Requires
- illuminate/contracts: 5.4.* || 5.5.* || 5.6.* || 5.7.* || 5.8.* || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0
Suggests
- orchestra/asset: Use '@css' and '@js' in Blade files
This package is not auto-updated.
Last update: 2025-03-21 17:33:55 UTC
README
This is a Laravel package that adds basic support for managing themes. It allows you to build your views & your assets in seperate folders, and supports for theme extending! Awesome :)
Features:
- Views & Asset separation in theme folders
- Theme inheritance: Extend any theme and create Theme hierarchies (WordPress style!)
- Integrates Orchestra/Asset to provide Asset dependencies managment
- Your App & Views remain theme-agnostic. Include new themes with (almost) no modifications
- Themes are distributable! Create a single-file theme Package and install it on any Laravel application.
- Ships with console commands to manage themes
Documentation
Check the Documentation
If you are upgrading from v1.x please read the migration guide
Compability
- For Laravel 5.0 & 5.1, please use the v1.0.x branch
- For Laravel 5.2 & 5.3, please use the v1.1.x branch
- For Laravel >10, please use the v3.0.x branch
Tests
This package is fully tested. Check the testing repository