https://github.com/codions/laravel-themes-installer
Composer plugin to install Laravel theme packages outside the vendor directory.
https://github.com/codions/laravel-themes-installer
composer-plugin laravel themes
Last synced: 15 days ago
JSON representation
Composer plugin to install Laravel theme packages outside the vendor directory.
- Host: GitHub
- URL: https://github.com/codions/laravel-themes-installer
- Owner: codions
- License: mit
- Created: 2023-05-16T00:42:37.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-16T01:12:06.000Z (about 3 years ago)
- Last Synced: 2025-02-25T20:47:10.858Z (over 1 year ago)
- Topics: composer-plugin, laravel, themes
- Language: PHP
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Laravel Themes Installer
[](//packagist.org/packages/codions/laravel-themes-installer) [](//packagist.org/packages/codions/laravel-themes-installer) [](//packagist.org/packages/codions/laravel-themes-installer)
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
- [Laravel Themes Manager](https://github.com/codions/laravel-themes-manager): Develop multi-themes Laravel application with ease.
## Credits
- This project is a modified version of [hexadog/laravel-theme-installer](https://github.com/hexadog/laravel-theme-installer), created as a fork with additional changes.
## License
Laravel Themes Manager is open-sourced software licensed under the [MIT license](LICENSE).