nWidart / laravel-modules

Module Management In Laravel
https://docs.laravelmodules.com
MIT License
5.52k stars 959 forks source link

How to share a module to Github and Packagist #44

Closed szewang2805 closed 8 years ago

szewang2805 commented 8 years ago

Hello, i have installed your package and organized laravel into modular structure. I have created a module call User for example, how can i share to github ? i want to know which folder of my module i need to GIT INIT?

can you show me some step?

thx Create A Module. Push the module to github. Submit your module to the packagist website. Submit to packagist is very easy, just give your github repository, click submit and you done.

nWidart commented 8 years ago

That would be up to you to find the approach you prefer most.

One way is to go into your User module folder, and git init in there.

ghost commented 8 years ago

Hi @nWidart. Just need a concept on how to force the modules to install into the Modules folder instead of vendor. Also the package name to begin Caps.

nWidart commented 8 years ago

that's up to you to do. On asgardcms I use composer installer plugin.