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

Multiple matching() and contain(), condition on related records count
How to get app directory in cakephp?
where do i get wrapper classes for the Highchart js library
Generate an OR SQL statement in CakePHP 3
Cakephp retrive data from database
Cakephp 3.0: Cast selected fields to int [duplicate]
Linking two tables with two (composite) foreign key relation
Error layout vs error500.ctp in cakephp 2
CakePHP 3.2 : POST Request type not detected
Label for Select Form Helper
How to call a controller method from an action
using newEntities on multiple edits in cakephp3
CakePHP 3.x - One form data to be saved in many tables
CakePHP Resque composer install error
A hash::combine array
Get URL of Paginator next and previous CakePHP 2

Categories

HOME
gremlin
stock
raspberry-pi
dot
enterprise-library-5
fancybox
hex-editors
vaadin7
opentracing
tostring
interop
text-rendering
riot.js
physics-engine
abi
graphicsmagick
mmap
captiveportal
lcd
rundeck
crystal-reports-2010
javacv
tdd
qhull
pepper
brunch
virtualdub
pingfederate
elasticsearch-ruby
msys2
large-file-upload
fabric8
phonegap
oracle-fusion-middleware
siesta-swift
code-contracts
webtest
accelerate-framework
ghost4j
force-layout
adobe-premiere
serve
ansible-playbook
eclipse-scout
estimote
gpx
avconv
azure-application-gateway
network-flow
zip4j
powercli
jxcore
knockout-components
iso8601
jspdf-autotable
eventkit
wdf
firebaseui
flash-cs5
lua-5.1
captivenetwork
tform
netmq
cyclomatic-complexity
qdialog
retina
spidermonkey
varargs
muse
dundas
android-imagebutton
relocation
wordpress-theme-customize
gulp-less
expected-exception
valuechangelistener
mechanize-ruby
html5-notifications
dotnetnuke-5
tws
cos
mqx
anonymous-methods
quickdialog
datawindow
automount
chrono
nsdatecomponents
hirefire
appendto
propagation
mirah
perfect-hash
firefox4
text-coloring
project-hosting
ubuntu-9.04
caching-application-block

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
Mobile App
Mobile App
Mobile App