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 2.3: How to send an array of data to an action in another controller for rendering?
Nginx CakePHP rewrite issue
CakePHP support for initial configuration / web app installation?
CakePHP - render whole page as HTML to attach to email
How to store the data in database using cakephp?
CakePHP 2.0 : Database connection “Mysql” is missing, or could not be created
Creating buttons with links using CakePHP's HTML/Form Helpers
Cakephp foreach data for options in select (form)
How do I pass data from the controller to a view in CakePHP? [closed]
The add method in a CakePHP Controller doesn't work
Cakephp i18n, how exclude by default the plugin folder?
Stuck with HasMany through saving and error array_merge()
cakephp separated meta keywords & description
How to save HABTM association in CakePhp?
SEO Friendly URL in CakePHP pagination
cake php pagination not displaying the array

Categories

HOME
pdf
netbeans
cookies
deezer
reserved
fme
mean-stack
rsyslog
jira
graphql
cakephp-2.5
twitter-bootstrap-4
session-variables
windows-10-universal
facebook-php-sdk
wheelnav.js
google-cloud-spanner
apache-cayenne
usergrid
size
ups
jsdoc
angular-ui
excel-vba-mac
samoa
web-sql
selectedindexchanged
info.plist
filezilla
fopen
applozic
strncpy
srcset
ecto
galsim
vsts-build-task
lxd
azure-sql-database
overriding
plsql-psp
neuroscience
event-driven
user-controls
broadcastreceiver
unoconv
android-tabhost
gulp-sourcemaps
powershell-dsc
keydown
turbogears
http-redirect
total-commander
segment
websphere-mq-fte
youcompleteme
jedis
hendrix
worksheet
boost-multi-index
dropbox-php
yii2-extension
directory-structure
qtwebview
pintos
gstreamer-0.10
ipconfig
two-factor-authentication
freedesktop.org
ios8-today-widget
r-tree
varargs
oberon
python-green
android-nested-fragment
responsive-slides
wp-query
picturefill
algebraic-data-types
inbox
hungarian-algorithm
smtp-auth
free-variable
dmoz
manchester-syntax
javaspaces
ticoredatasync
gnu-prolog
heartbeat
yetanotherforum
recent-documents
w3wp.exe
.nettiers
jquery-ui-droppable
perfect-hash
compiler-specific
photoshop-cs4
thread-local-storage

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