codions/laravel-themes-installer

v1.0.1 2023-05-16 01:11 UTC

This package is auto-updated.

Last update: 2024-11-16 04:42:53 UTC


README

Latest Stable Version Total Downloads License

This package facilitates working with theme packages by enabling the installation of standalone theme packages directly into the themes/ directory instead of the vendor/ directory.

For example if your Theme package name is prismalms/admin-theme then the package will be installed into themes/prismalms/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 codions/laravel-themes-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

Credits

License

Laravel Themes Manager is open-sourced software licensed under the MIT license.