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

Cakephp - SQL not being generated for all records being inserted
debugging beforeSave() in cakePHP
Setting default model conditions
Cake PHP: Containable Behavior or Model Unbind - which is good for Optimizing Query in Cake PHP
Should I create a new controller in cakephp
Cakephp - Model Transactions for insert / update / delete
CakePHP Edit Not Loading foreign Table Data
How to HTML escape values for radio buttons in CakePHP?
How to save HABTM in CakePHP 2.4?
Getting two main errors when I upgrade cakephp from 1.3 to 2.0
Setting header redirect in cakephp
Cakephp manual theme not working on server
What to do about robots.txt for my CakePHP app?
how to view only the login person post in cake php blog example?
Retrieving the associated model in a hasMany through association without recursive
Cakephp: using $this->Component->load() in component

Categories

HOME
twitter
client
osgi
cloud
asp.net-core
reflection
mfc
include
hashmap
fft
sqlite3
win32gui
cross-browser
slurm
windows-10-universal
user-input
apache-cayenne
spring-tool-suite
n-gram
moonmail
gz
circuit
libtiff
tostring
plunker
angular2-aot
uninstall
vision
objectanimator
textmate
mmenu
fusionpbx
android-ble
jquery-bootgrid
multilingual
webdriver-manager
greenrobot-eventbus
texmaker
eclipse-gef
wso2carbon
auto-update
sage-one
fancybox-2
typed-lambda-calculus
vtigercrm
grails-tomcat-plugin
azure-sdk
radtreelist
packagist
oauth2client
pervasive-sql
libressl
varargs
riak-cs
unity3d-gui
inmobi
apache-commons-net
kineticjs
facebook-graph-api-v2.4
fscommand
offloading
gwidgets
wordpress-theme-customize
java-metro-framework
issuu
castle
heisenbug
reactfx
marmalade
poller
undefined-reference
picturefill
mbr
viadeo
itmstransporter
e4x
libstdc++
isnullorempty
bluepill
runas
twrequest
ohm
cufon
boost-filesystem
nsobject
data-loss
xtype
android-sdk-2.1
google-friend-connect
web-application-design
preference
iweb
avatar
phonon
noscript
geneva-server

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html