Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hexadog/laravel-theme-installer
Composer plugin to install laravel-theme packages outside vendor directory
https://github.com/hexadog/laravel-theme-installer
composer laravel laravel-theme laravel-themes theme theme-development theme-installer theme-manager theme-packages themes
Last synced: 20 days ago
JSON representation
Composer plugin to install laravel-theme packages outside vendor directory
- Host: GitHub
- URL: https://github.com/hexadog/laravel-theme-installer
- Owner: hexadog
- License: mit
- Created: 2020-10-02T11:57:19.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-18T10:49:27.000Z (4 months ago)
- Last Synced: 2024-12-01T08:42:40.821Z (27 days ago)
- Topics: composer, laravel, laravel-theme, laravel-themes, theme, theme-development, theme-installer, theme-manager, theme-packages, themes
- Language: PHP
- Homepage:
- Size: 76.2 KB
- Stars: 9
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Laravel Theme Installer
[![Latest Stable Version](https://poser.pugx.org/hexadog/laravel-theme-installer/v)](//packagist.org/packages/hexadog/laravel-theme-installer) [![Total Downloads](https://poser.pugx.org/hexadog/laravel-theme-installer/downloads)](//packagist.org/packages/hexadog/laravel-theme-installer) [![License](https://poser.pugx.org/hexadog/laravel-theme-installer/license)](//packagist.org/packages/hexadog/laravel-theme-installer)This package is a fork of [Laravel Module Installer](https://github.com/joshbrw/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 `hexadog/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 hexadog/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
- [Laravel Themes Manager](https://github.com/hexadog/laravel-themes-manager): Develop multi-themes Laravel application with ease.