Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

codeigniter4/codeigniter4 package not exists in packagist #2753

Closed
samsonasik opened this issue Mar 25, 2020 · 5 comments
Closed

codeigniter4/codeigniter4 package not exists in packagist #2753

samsonasik opened this issue Mar 25, 2020 · 5 comments

Comments

@samsonasik
Copy link
Member

For example, I want to get the latest develop branch of the framework to my current app-starter app. The only way is by clone the project and copy into vendor directory or manually register this repository into composer.json.

How about add codeigniter4/codeigniter4 to packagist ?

@lonnieezell
Copy link
Member

codeigniter4/codeigniter4 is not intended to be directly installed and make it available as a composer package would encourage that use and create many more support headaches.

You can easily add it to your composer.json file as a repository. See this example file: https://github.com/lonnieezell/myth-auth/blob/develop/composer.json#L19

@MGatner
Copy link
Member

MGatner commented Mar 25, 2020

Actually you probably want to use the builds script that toggles between framework and codeigniter4: admin/starter/builds. If you're using a post-release version of the AppStarter this should be in your project root. Simply run ./builds development and it will switch you to using the latest develop branch of codeigniter4/codeigniter4 so when you run composer update you'll always be fresh.

EDIT: https://codeigniter4.github.io/userguide/installation/installing_composer.html#latest-dev

@samsonasik
Copy link
Member Author

ok, thank you ;)

@lonnieezell
Copy link
Member

That sounds like a much better way of doing it, @MGatner Thanks for the reminder. :)

@samsonasik
Copy link
Member Author

@MGatner I created PR #2756 to handle ./builds development try to get all dev version of dependencies with prefer-stable" => true, which should only get dev version when required in composer.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants