Giter Site home page Giter Site logo

PHP-Parser PEAR channel about php-parser HOT 10 CLOSED

nikic avatar nikic commented on May 3, 2024
PHP-Parser PEAR channel

from php-parser.

Comments (10)

leth avatar leth commented on May 3, 2024

It'd be great to be able to install this via PEAR.
This parser would be good in the PHP code coverage tool as well: currently the only way to detect php source lines in uncovered files is to include them :(

from php-parser.

nikic avatar nikic commented on May 3, 2024

Really, I'd love to make this available via PEAR, but my past experiences with PEAR were so terrible that I don't think that I can do it :( I'm glad that after several hours of hard work I actually have a running pear command on my computer ^^ I don't want to know what a hassle it has to be to publish a package...

from php-parser.

sebastianbergmann avatar sebastianbergmann commented on May 3, 2024

Thanks to Pirum, providing a PEAR channel is a non-issue.

from php-parser.

leth avatar leth commented on May 3, 2024

I found this after a bit of googling: http://blog.stuartherbert.com/php/2011/09/22/php-components-publishing-your-pear-channel-on-github/

Edit: this one is shorter: http://saucelabs.com/blog/index.php/2011/04/how-to-serve-php-packages-with-github/

Hope that helps!

from php-parser.

runekaagaard avatar runekaagaard commented on May 3, 2024

http://www.pearhub.org/ is really easy too! Highly recommended. If you want, I can register PHP-Parser there for you. Pearhub will then automatically pick up new tags and create releases for them. http://www.pearhub.org/faq

from php-parser.

sasezaki avatar sasezaki commented on May 3, 2024

There is alternative http://openpear.org/ :-) , openpear supports PEAR packaging from git.

from php-parser.

nikic avatar nikic commented on May 3, 2024

@sebastianbergmann Thanks to the articles posted by @leth setting up the PEAR channel was surprisingly easy. But I can't figure out how one can now generate a package.xml. Do you use some kind of tool for that? All blog posts I found on the topic were using some old, deprecated and not even installing cli tool.

@runekaagaard I actually tried that, but it didn't work out. Just says "Building" (for a week already ^^)

from php-parser.

avalanche123 avatar avalanche123 commented on May 3, 2024

generating package.xml is pretty ad-hoc or at least I am not familiar with a tool that would do that. Here is how I do it in Imagine - https://github.com/avalanche123/Imagine/blob/develop/Rakefile#L110, hope this helps

from php-parser.

leth avatar leth commented on May 3, 2024

How about PEAR_PackageFileManager_Cli? :)

from php-parser.

nikic avatar nikic commented on May 3, 2024

Thanks to all the help I was able to create a PEAR channel and publish the package: http://nikic.github.com/pear/ I hope everything worked out fine :)

from php-parser.

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.