Looking to hire Laravel developers? Try LaraJobs

laravel-theme-installer maintained by snowsoft

Author
Last update
2023/12/23 13:02 (dev-master)
License
Links
Downloads
5

Comments
comments powered by Disqus

Laravel Theme Installer

Latest Stable Version Total Downloads License

This package is a fork of Laravel Module Installer to work with Theme packages. It allows installation of standalone Theme package into the themes/ directory instead of vendor/.

For example if your Theme package name is snowsoft/admin-theme then the package will be installed into themes/hexadog/admin directory.

You can specify an alternate directory by including a theme-dir in the extra data in your composer.json file:

"extra": {
    "theme-dir": "custom"
}

Installation

  1. Ensure you have the type set to laravel-theme in your theme's composer.json
  2. Require this package: composer require snowsoft/laravel-theme-installer
  3. Require your bespoke theme using Composer

Notes

When working on a theme that is version controlled within an app that is also version controlled, you have to commit and push from inside the Theme directory and then composer update within the app itself to ensure that the latest version of your theme (dependant upon constraint) is specified in your composer.lock file.

Related projects