# Install a module package (for private packages) To install a module package open ***composer.json*** Add a repositories section : ``` "repositories": [ { "name": "putrakuningan/auth-module", "type": "vcs", "url": "https://git.putrakuningan.com/putrakuningan/auth-module", "branches-path": "api" } ] ``` ***branches-path according to what will be installed And in the ***require*** section type: ``` "putrakuningan/auth-module": "^1.0" ``` Now you can run composer update to install the package. Or you can install with : ``` composer require putrakuningan/auth-module:1.0.0 ``` After add repositories ## Setup Module To activate the module type: ``` php artisan module:enable Auth ``` Now the module is ready to be migrated and seeded: ``` php artisan module:migrate Auth php artisan module:seed Auth ``` ## Uninstall Packages If you uninstall a package from composer.json the module WILL be removed from the modules directory.