![]() ![]() ![]() you can configure Composer so that particular package will be taken directly from your computer, from another folder ( I don't remember exact recipe but it should be in documentation as I have seen quite a few mentions in different places). is instead of telling Composer to download it from GitHub/etc (as it would normally do if published on packagist). The code is already local (it can be run locally) so it can be debugged. I guess that's only possible when the package is installed in laravel, but not through composer. >But before that, while i'm still developing the package I will need to run/debug my code somehow. Once you are happy with it (you feel it's time to have v1 that you are not afraid to show to the public) - you can separate it into an standalone project and then publish it on GitHub (if not yet) and packagist (so it can be easily installed via composer by others). it can be placed anywhere in your project and do not have any composer.json - let it be just part of your project. ![]() How should i setup phpstorm for this? I already setup Git VCS but depending on question 1 i need to do it differently.Should i create MyRepo inside my Laravel project or should i create a separate phpstorm project for this?.Questions i'm asking myself right now and can't seem to find concrete information about: It will also rely on other packages like GuzzleHttp I'm going to refer to MyRepo as the package i want to publish on github which will mainly be a collection of classes with a Laravel facace that makes calls to an API. Now i'm a bit stuck on how i should set this up in phpstorm and what principle i should follow. Therefore i want to create my own package and eventually publish it on github. I'm creating my first Laravel project and i've already pulled in a few packages from github but now i have this API i want to use, but there are no packages available on github. I'm afraid i stood still for to long and i've missed a train. I'm new to laravel, github and the whole packages deal, and i'm liking it. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |