Code Monkey home page Code Monkey logo

cakephp-composer's People

Contributors

eithe avatar graemetait avatar kdelchev avatar uzyn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cakephp-composer's Issues

update bootstrap after installing plugin

I use the composer plugin, but I can't update the bootsrap to add CakePlugin::load('plugin'); if I add it before running Console/cake composer.c install I'll get an error that this plugin doesn't exist and the composer won't work.

is there a way to include a -y option when I run Console/cake composer.c update?

I am implementing your Plugin as part of a CI setup.

I am stuck at the stage where I get prompted

server$ Console/cake composer.c update
Composer is not installed.
Would you like to install the latest version of Composer? (y/n)
[y] >

Because I run Console/cake composer.c update as part of phing task, I am unable to get the script to press y at the right place.

Is tehre a way I can run Console/cake composer.c update -y so taht I do not trigger this question?

Usage of composer for cakephp

Hi Uzyn,

this is not an issue of your plugin per se. More to do with the use of Composer in a CakePHP app.

Elaboration below:

I am having some weird issues with git submodule update for a Plugin dependency with Jenkins @ CloudBees.

So I am switching some, if not, all my dependencies from git submodule to Composer.

I came across this repo called composer installers. https://github.com/composer/installers

I was wondering how to use this for both Plugin and Vendor dependencies.

I am not familiar with Composer and even after reading the docs, I am uncertain how to say, place this dependency specifically to Plugin/xxx

I know how to do this with git submodule add.

So how do I do the same but with Composer or better yet, Composer installers, please advise me.

To make things easier, I want to use 2 actual examples.

Class 'Composer\Installers\Installer' not found

Following along with the info on installing this plugin into a cakephp project, and when attempting to install the plugins specified in composer.json, via cake composer.c install, getting:

PHP Fatal error: Class 'Composer\Installers\Installer' not found in phar:///Library/WebServer/Documents/Server-PHP/app/Plugin/Composer/Vendor/Composer/composer.phar/src/Composer/Plugin/PluginManager.php on line 216

Fetching cakephp-composer via Composer?

Hi!

cakephp-composer docs suggest that it should be installed into the project manually: either by extracting an archive or cloning the repo.

But here you suggest that Plugins/ and Vendor/ should be ignored via .gitignore.

These two facts combined make it impossible to share the project via version control. After cloning the repo, it will be impossible to install dependencies due to cakephp-composer not existing in the cloned project.

Not ignoring Plugins/ and Vendor/ is also bad: Nested .git folders are treated as broken submodules; git pull would fail:

Imgur

Please advise.

Cake Component - Autoloading

Composers Autoloader is not loading the php components that were downloaded from Composer from within a CakePHP Component - ie:

    app/Controller/Component/MyComponent.php
    Fatal error: Class 'ApplePusher' not found in /path/to/cake/app/Controller/Component/MyComponent.php on line 20

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.