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

Call to a member function getEmbedHtml() on a non-object
CakePHP TranslateBehavior saving to both i18n table and model table
Fatal error: Class 'Configure' not found in ..\cakephp\2.3\lib\Cake\bootstrap.php
How to use “set” in component especially in cakephp?
setSource not taken into account by Cakephp tree behavior
CakePHP default layout for xlsx
cakephp 1.2 saving multiple checkboxes
CakePHP i18n without multiple po files
How to know webroot in core.php
How to updateAll using cakephp
CakePHP beginner - MVC relationship
cakePHP - Slug with array of named arguments
Relative path to CSS file?
Does CakePHP make tables in database when installing?
CakePHP 1.3 - Having problems baking with oracle
Model accessible to all other classes

Categories

HOME
google-chrome-extension
debugging
server
bookshelf.js
gis
cmd
alpha
serverspec
wamp
datastax-java-driver
here-api
user-input
imacros
numeral.js
vb.net-2010
usergrid
hex-editors
decomposition
carthage
openrefine
highlight.js
saxon
angular-ui
firefox-webextensions
textfield
physics-engine
chromium-embedded
django-storage
bootstrap-material-design
entitlements
windows-error-reporting
fifo
wtx
gsmcomm
galsim
.net-4.0
winrt-xaml-toolkit
vsts-build-task
google-api-nodejs-client
amazon-kinesis-kpl
main
libvpx
avro4s
node-gyp
firebase-admin
scorm
jquery-validate
worksheet
jxcore
gcsfuse
sqldf
spring-cache
django-scheduler
orthogonal
gnome-shell-extensions
vmware-tools
radtreelist
trash
etsy
clang-static-analyzer
ubuntu-10.04
pervasive-sql
vhd
spim
intellij-14
django-unittest
wordml
fluid-dynamics
directoryservices
nsmutabledictionary
facebook-graph-api-v2.4
dia
gui-test-framework
nsbutton
internet-connection
php-5.4
android-2.2-froyo
terminal-services
commoncrypto
bulkloader
random-seed
factory-method
errai
hgsubversion
gnustep
subgurim-maps
winbugs14
xfbml
visitor-statistic
kdbg
simpletest
phonon
project-hosting
aquaticprime
gacutil
zune
ntvdm.exe

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