Git Product home page Git Product logo

Comments (6)

MacDada avatar MacDada commented on August 15, 2024 4

Hi, I can see phar creator, but I don't know how could it help me.

I want to install phpmnd via https://phar.io. I try:

$ bin/composer.phar phive:run install povils/phpmnd
Phive 0.12.1 - Copyright (C) 2015-2019 by Arne Blankerts, Sebastian Heuer and Contributors
[WARNING] povils/phpmnd 2.0.0: No downloadable PHAR
[WARNING] povils/phpmnd 1.1.1: No downloadable PHAR
[WARNING] povils/phpmnd 1.1.0: No downloadable PHAR
[WARNING] povils/phpmnd 1.0.3: No downloadable PHAR
[WARNING] povils/phpmnd 1.0.2: No downloadable PHAR
[WARNING] povils/phpmnd 1.0.1: No downloadable PHAR
[WARNING] povils/phpmnd 1.0.0: No downloadable PHAR
[ERROR]   No matching release found!

Probably because there are no PHARs attached to the releases: https://github.com/povils/phpmnd/releases

Example of releases with PHARs attached: https://github.com/wapmorgan/PhpCodeFixer/releases

Can you add PHPMND PHARs to existing releases? Or maybe publish a new release with PHAR included?

from phpmnd.

jakzal avatar jakzal commented on August 15, 2024 1

@patrickjahns in the meantime take a look at the composer-bin-plugin. You could use it to install any composer tool global in isolation.

from phpmnd.

povils avatar povils commented on August 15, 2024

Hey, thanks for the issue. yeah it makes sense

from phpmnd.

jakzal avatar jakzal commented on August 15, 2024

Feature is no longer urgent to me, as I'm planning to introduce the composer-bin-plugin in phpqa. It should help solving the conflicts problem.

A phar archive could still be beneficial to others though.

from phpmnd.

patrickjahns avatar patrickjahns commented on August 15, 2024

Joining the conversation - as I would also appreciate a phar release.

Main reasoning for me is, that our large code bases currently supports php5.6 - php7.2. To be able to solve this we required to set the platform to php 5.6 in composer.json. Thus we are not able to require the tool via composer.

However - our CI environment ( as well as some testing environments) are running in php7.1 - so they can parse+analyze the code base easily when running it from a phar

box makes building phar releases very easy
Played around with box and automated phar building - would be happy to help here
https://github.com/patrickjahns/cli-phar-experiments

from phpmnd.

exussum12 avatar exussum12 commented on August 15, 2024

Added a PR #77 which allows a phar to be generated

from phpmnd.

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.