gabordemooij / redbean

ORM layer that creates models, config and database on the fly
https://www.redbeanphp.com
2.31k stars 279 forks source link

The package version installation should be modified #661

Closed peter279k closed 6 years ago

peter279k commented 6 years ago

As title, the Installation via Composer section in README has this sentences: (e.g. "gabordemooij/redbean": "dev-master").

It should be changed into (e.g. "gabordemooij/redbean": "^5.1") because using the stable version is the proper way to do this.

gabordemooij commented 6 years ago

Hm, strange. I never use composer but the other composer-users here agreed upon using this sentence. Feel free to send in a pull request.

gabordemooij commented 6 years ago

It's generally safe to use the master branch.

peter279k commented 6 years ago

@gabordemooij, thank you for your explanation.

At sometimes, I just want to install the stable released version, not master branch version in the production.

I don't think installing the master version for the production environment is the proper way :confused:.

gabordemooij commented 6 years ago

@peter279k that's why you can download RedBeanPHP as a tarball from the website (those are the official releases).

However with RedBeanPHP the master is quite safe, even for production. The library is very mature and we care a great deal about backward compatibility. Version 5 is almost completely compatible with version 4 for example. There are also no breaking changes on the roadmap. Also every pull request is tested and carefully reviewed.