Coder Social home page Coder Social logo

Comments (10)

farazdagi avatar farazdagi commented on July 30, 2024

Yep, indeed. Will also meditate on what is the best way to include it :)

PR is always welcome!

from phrozn.

farrelley avatar farrelley commented on July 30, 2024

One way is to just get Exception stuff from github with package type zip.

{
            "type": "package",
            "package": {
                "name": "pear/Pear_Exception",
                "version": "dev-master",
                "dist": {
                    "url": "https://github.com/pear/PEAR_Exception/archive/master.zip",
                    "type": "zip"
                }
            }
        }

then Include require:

"pear/Pear_Exception": "dev-master"

All it needs to do is to be autoloaded correctly.

from phrozn.

farazdagi avatar farazdagi commented on July 30, 2024

Seems quite a good solution to me. Pls, feel free to file the pull request.

from phrozn.

Pawka avatar Pawka commented on July 30, 2024

It is Console_CommandLine bug. I'm currently fixing phrozn-related pear repositories and it will be enough just to have Console_CommandLine in Phrozn/composer.json. Not sure how long it will take until they'll accept all my PRs.

@farazdagi This would be temporary fix. I would suggest to wait until PEAR repos will be fixed and do not include this PR.

from phrozn.

farrelley avatar farrelley commented on July 30, 2024

@Pawka That's probably the best way to fix this.

from phrozn.

farazdagi avatar farazdagi commented on July 30, 2024

@Pawka @farrelley Agreed, let's wait and see when PEAR component is fixed.

from phrozn.

fgrehm avatar fgrehm commented on July 30, 2024

hey @farrelley, would you mind pasting your composer.json down here? wasn't able to get it working
I really wanted to try out phrozn but it's been I while since I last used PHP and composer is brand new to me :p

tks!

from phrozn.

farrelley avatar farrelley commented on July 30, 2024

@fgrehm - #68 (comment) I just added that. Just need to add in the autoloading to psr-0 section. That's the work around.

from phrozn.

fgrehm avatar fgrehm commented on July 30, 2024

@farralley tks for the answer but I wasn't able to get it working
here's what I tried:
https://gist.github.com/8f7c995b344a339dc250

from phrozn.

Pawka avatar Pawka commented on July 30, 2024

@fgrehm Add "pear/Pear_Exception": "dev-master" part to required instead of autoload.

from phrozn.

Related Issues (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.