Laravel-modules: How to add package in module?

Created on 29 Mar 2017  路  1Comment  路  Source: nWidart/laravel-modules

Suppose i have product module and i need image intervention for this module how can i add this package in my product module, i want to wrap up every things with in module is this possible?

Most helpful comment

If module will be re used

You can add that dependency in the module compose.json file, and then run php artisan module:update yourmodule. This will add your dependency to the main composer.json file & install the requirement.

If module won't be re-used

Add your dependency to the main composer.json file only.

>All comments

If module will be re used

You can add that dependency in the module compose.json file, and then run php artisan module:update yourmodule. This will add your dependency to the main composer.json file & install the requirement.

If module won't be re-used

Add your dependency to the main composer.json file only.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

FoksVHox picture FoksVHox  路  11Comments

esipavicius picture esipavicius  路  13Comments

uncodable picture uncodable  路  21Comments

Alercard picture Alercard  路  29Comments

designvoid picture designvoid  路  10Comments