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

On Action or Controller Change Callback in CakePHP 2.x
Cakephpw2.4.5 using MilesJohnson uploader can't upload photo
Turn off CamelCase for class names in cakephp 2.x [closed]
Image upload cakephp cms - croogo
CahePHP 2.x adding async to script tag
What will happen, if Model::$id will not be cleared by create()?
Cakephp: Passing in page count to PaginatorHelper
Login problems in CakePHP
admin panel with multiple user in cakephp
CakePHP - How to create custom exceptions?
Cakephp 2 - Use Auth-Component in another Component
Why My cakephp url not working properly?
Creating two HABTM associated records, simultaneously
Validation is not applied for a foreign key dropdown
How to properly pass multiple lists from controller to view?
CakePHP Find Condition does not appear in SQL Query

Categories

HOME
wso2
amazon-ec2
omnet++
hp-exstream
electron
spring-cloud-stream
amortized-analysis
amazon-ecs
callback
wamp
directx
gorm
metatrader4
google-cloud-ml
event-handling
clojurescript
highlight.js
windows-7-x64
finite-automata
pugjs
invantive-sql
emulator
reverse-proxy
ehcache
facebook-instant-articles
dcevm
kudan
icloud-api
firebase-crash-reporting
apache-commons-io
info.plist
linkerd
applozic
log4js-node
facebook-apps
webkitspeechrecognition
tasklet
madlib
microsoft-chart-controls
nameservers
pdb
stringtemplate
bytecode-manipulation
simplexml
hue
elasticsearch-plugin
gzipstream
checkboxlist
modelmapper
.net-4.6.2
jlink
typescript1.8
aurelia-validation
statsd
capacity
memory-alignment
objective-c-swift-bridge
httplistener
home-directory
database-optimization
adxstudio-portals
intrusion-detection
plottable.js
sigabrt
apachebench
system.management
endeca-workbench
thredds
varargs
mono-embedding
sortedlist
directoryservices
sorl-thumbnail
knuth
cctv
google-reader
seaside
centos5
intentservice
html5-notifications
jsctypes
qt-faststart
ember-app-kit
drools-planner
typoscript2
sublist
ocx
windows-phone-7.1.1
punbb
subscript
gwt-ext
php-parser
gcj
visitor-statistic
w3wp.exe
dbal
msdev





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