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 3 : Unable to apply Localization in a simple text.
How to get only selected fields from contain in cakephp3
How to truncate table
Cloning a record in controller CakePHP
Print SQL query of ORM query builder in cakephp3
CakePHP 3 Plugin Routes don't seem to be loading
How do form validation in Cakephp?
Can I work on cakephp 2 and 3 on same xamp server on my pc
How to reduce the amount of fields for _joinData in Cake 3.x?
Finding results from primary and associated tables
CakePHP 3 left join and union in same query
CakePHP3 - How to get hasMany-Association for child elements
Cakephp foreach
CakePHP CakeDC users plugin social login
Accessing POST query parameters from HTTPS to HTTP
Cakephp - MissingControllerException Controller class Robots.txt

Categories

HOME
ms-access
xamarin
relative-path
stock
mean-stack
sqlite3
survey
callback
ojdbc
in-app-purchase
esper
slick-slider
awesome-wm
communication
ssl-client-authentication
volttron
postgres-xl
orchardcms
libtiff
text-rendering
php-openssl
javacv
facet
dynamic-featured-image
selectedindexchanged
bootstrap-duallistbox
uninstall
elasticsearch-ruby
nouislider
sql-server-2012-express
binary-data
.net-4.0
ioio
commit
xmlreader
ghost4j
cloud-code
ssjs
eclipse-scout
core-plot
quadratic-programming
elmah
http-redirect
qcombobox
executenonquery
qwt
auto-update
smartcontracts
azure-application-gateway
apache-fop
jlink
sage-one
windows-iot-core-10
sqldf
pycaffe
migradoc
cubes
spring-android
adxstudio-portals
transmitfile
player
livequery
oauth2client
goose
eclipse-clp
ideamart
graph-drawing
cisco-ios
graph-api-explorer
proj4js
c3
websocket4net
internet-connection
article
contenttype
htmlcleaner
coverflow
orchardcms-1.7
mqx
ocunit
simba
onsubmit
osql
postgresql-performance
bigcouch
gcj
file-comparison
winbugs14
blitz++
routedevent
firefox4
nintendo-ds
post-build
rtml

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