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: Custom Authentication Object authenticate not called
CakePHP saveField — beforeSave has no effect? (2.4.3)
CakePHP show post comments with user
how to retrieve the current user id in cakephp
Cakephp - Custom authentification (basicauth) in a plugin
Authentication component in CakePHP doesn't work
CakePHP Issue - Query second table
cakephp change layout for different users
Can't upload image using Miles Johnson Uploader
CAKEPHP - Find count of related model (with conditions)
CakePHP re-populate list box
Cron jobs and cakephp
jQuery image upload & crop by cakephp
Error using saveAssociated with CakePHP
cakePHP model update issue
How do I insert a Font Awesome glyph/icon in a CakePHP submit button?

Categories

HOME
office365api
iot
youtube-dl
google-oauth
cmd
gps
blueprintjs
uber-api
append
quickbooks
windows-phone-7
tostring
fatal-error
google-static-maps
undefined
ab-testing
paging
tar
cultureinfo
icloud-api
blazemeter
status
bootstrap-duallistbox
intel-pin
subdomains
react-chartjs
kendo-ui-grid
windows-dev-center
form-data
fusionpbx
jmonkeyengine
overlap
hot-module-replacement
mixture-model
starteam
bootstrapper
lumberjack
nomethoderror
unixodbc
websphere-mq-fte
outlook-2013
appcompat
komodoedit
dropbox-php
dotnetzip
darcs
csound
nsarray
sybase-asa
pillow
pycaffe
nested-sets
etsy
livequery
associative-array
historian
javax.sound.midi
execute
metaclass
atk4
android-listview
graph-drawing
createprocessasuser
unity5.2.3
nstableviewcell
websocket4net
mesa
eol
dealloc
centos5
viadeo
intentservice
gnu-smalltalk
flashvars
wsdl-2.0
path-separator
chuck
manchester-syntax
errai
spring-portlet-mvc
locationlistener
krl
disclosure
lpeg
fluent-interface
sudzc
perfect-hash
gacutil

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App