Download the PHP package qirolab/laravel-themer without Composer
On this page you can find all versions of the php package qirolab/laravel-themer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download qirolab/laravel-themer
More information about qirolab/laravel-themer
Files in qirolab/laravel-themer
Package laravel-themer
Short Description A Laravel theme manager, that will help you organize and maintain your themes inside Laravel projects.
License MIT
Homepage https://qirolab.com
Informations about the package laravel-themer
Multi theme support for Laravel application
This Laravel package adds multi-theme support to your application. It also provides a simple authentication scaffolding for a starting point for building a Laravel application. And it also has preset for Bootstrap
, Tailwind
, Vue
, and React
. So, I believe it is a good alternative to the laravel/ui
& laravel/breeze
package.
Features
- Any number of themes
- Fallback theme support (WordPress style); It allows creating a child theme to extend any theme
- Provides authentication scaffolding similar to
laravel/ui
&laravel/breeze
- Exports all auth controllers, tests, and other files similar to
laravel/breeze
- Provides frontend presets for
Bootstrap
,Tailwind
,Vue 2
,Vue 3
andReact
If you don't want to use auth scaffolding of this package, instead you want to use Laravel Fortify, no problem with that. You can use Laravel Themer with Fortify. Laravel Fortify only gives backend implementation authentication, it does not provide views or frontend presets. So, use Fortify for backend auth and Laravel Themer for views and presets.
Tutorial
Here is the video for Laravel Themer Tutorial.
Installation and setup
NOTE:
Laravel Themer v2.x and the above versions support Vite. If you want to use Laravel Mix then try Laravel Themer v1.7.1
You can install this package via composer using:
Publish a configuration file:
Creating a theme
Run the following command in the terminal:
This command will ask you to enter theme name, CSS framework, js framework, and optional auth scaffolding.
Useful Theme methods:
Middleware to set a theme
Register ThemeMiddleware
in app\Http\Kernel.php
:
Examples for middleware usage:
Asset compilation
To compile the theme assets, first you need to add the following lines in the scripts
section of the package.json
file.
Now, to compile a particular theme run the following command:
Testing
Support us
We invest a lot of resources into video tutorials and creating open-source packages. If you like what I do or if you ever made use of something I built or from my videos, consider supporting us. This will allow us to focus even more time on the tutorials and open-source projects we're working on.
<img src="https://i.imgur.com/zHowozE.png" alt="Buy Me A Coffee" style="height: 60px !important; width: 217px !important;">
Thank you so much for helping us out! 🥰
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
Authentication scaffolding stubs and presets are taken from laravel/ui, laravel/breeze, and laravel-frontend-presets/tailwindcss.
- Harish Kumar
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-themer with dependencies
facade/ignition-contracts Version ^1.0
illuminate/support Version ^9.19|^10.0|^11.0