Replies: 3 comments 3 replies
-
Well you don't need to modify composer. The thing is that you need to get the "plugin" from somewhere. Composer helps to download it into your app in a standardized way. But you could also just put your plugin files in a separate folder in your app and use them. But here's the thing: To load "plugins" like in wp is more a feature for an application not for a framework. You could use Laravel to build your own CMS and implement a feature that users can install plugins. Is there a particular reason why you wouldn't want to modify the composer file? |
Beta Was this translation helpful? Give feedback.
-
This is the key. Laravel is a framework, not a CMS. Wordpress is both, but you are describing a feature of the CMS part. Here's a couple Laravel-based CMSes that appear to have modules/plugins: |
Beta Was this translation helpful? Give feedback.
-
how would i implement this feature myself in my own app? anyone know of a tutorial? or i have to dig through these cmses and figure it out. Is it kind of like installing a composer package and exporting assets to their locations on the fly? so if i setup in my gui to run a artisan command that executes composer install app_name then php artisan vendor:publish #3 or something. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
it would be great if there was a way to add plugins into a laravel application like how wordpress plugins are installed without having to modify composer.
Beta Was this translation helpful? Give feedback.
All reactions