cakephp
unable to install cakephp plugin using composer
I have written a plugin for CakePHP 3.4.* version and uploaded to GitHub. I have also created repository with packagist Now when I run $ composer require cakephp-app-installer/installer it gives the error bellow: Using version ^1.0 for cakephp-app-installer/installer ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem 1 - Can only install one of: cakephp/cakephp[3.4.0, 3.4.6]. - Can only install one of: cakephp/cakephp[3.4.6, 3.4.0]. - Can only install one of: cakephp/cakephp[3.4.0, 3.4.6]. - cakephp-app-installer/installer v1.0.0 requires cakephp/cakephp 3.4 -> satisfiable by cakephp/cakephp[3.4.0]. - Installation request for cakephp-app-installer/installer ^1.0 -> satisfiable by cakephp-app-installer/installer[v1.0.0]. - Installation request for cakephp/cakephp (locked at 3.4.6, required as 3.4.*) -> satisfiable by cakephp/cakephp[3.4.6]. Installation failed, reverting ./composer.json to its original content. My composer.json file looks like: { "name": "cakephp-app-installer/installer", "description": "GUI Installer plugin for CakePHP", "type": "cakephp-plugin", "require": { "cakephp/cakephp": "^3.4" }, "license": "MIT", "authors": [ { "name": "Anuj Sharma", "email": "anujsharma9196#gmail.com" } ], "autoload": { "psr-4": { "Installer\\": "src" } }, "autoload-dev": { "psr-4": { "Installer\\Test\\": "tests", "Cake\\Test\\": "./vendor/cakephp/cakephp/tests" } }, "minimum-stability": "dev" } Testing on freshly created cakephp application with 3.4.6 version. Couldn't understand, why it is not working.
Related Links
elements or view extensions or something else? reference app?
CakePHP 2.2 random notice message
Cakephp how to change the link /app/webroot/blog to /blog
First 'find' call does not return associated data. Second 'find' call does
Cakephp contain and belongsTo hasMany conditions
Cakephp Fatal error rendering issue
CakePHP Internationalization locale codes
cakephp 2.0 joins
Avoid black-holed request after back button CakePHP2.2
CakePHP multiple HABTM associations in containable find
How can i delete a session in view in cakephp 2.0?
CakePHP2 Get Associated Model from DataSource
Load a PHP file as a CSS file from the plugin webroot folder
CakePHP : Custom Query in Controller: How to check if it was successful?
CakeResponse Download file is not working
How to add index to database with belongsTo association