assely / framework

Assely is a PHP framework which brings a little joy to the WordPress development. Develop structured, easily scalable and complex WordPress websites and web applications with true pleasure.
MIT License
57 stars 7 forks source link

Install framework via composer (usage with bedrock) #6

Closed marcwieland95 closed 7 years ago

marcwieland95 commented 7 years ago

When trying to install the package with bedrock, we need to add "minimum-stability": "dev" to the composer.json inside the /site directory.

Note this inside the documentation or match it in the composer.json of assely.

When running composer require assely/framework: Could not find package assely/framework at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability.

When adding package manually to composer.json ("assely/framework": "^0.1.0"): Your requirements could not be resolved to an installable set of packages.

We need to add it this way: "assely/framework": "dev-master" -> add releases inside the repo

jedrzejchalubek commented 7 years ago

I don't want to tag any release until framework be "patched" enough for beta.

However, as you point out installation guide tells to use release. I will update docs, thanks.

tobeycodes commented 7 years ago

You can specify version with Composer in CLI. In this case

composer require assely/framework:dev-master

marcwieland95 commented 7 years ago

Yes, that's default. For now it's fine, but later we want to specify versions like it was in the docu. Thanks @jedrzejchalubek, the installation guide is right now.