GithubHelp home page GithubHelp logo

Comments (3)

Gelaku avatar Gelaku commented on July 19, 2024

这样既可以用:composer require ganlvtech/php-enphp-decoder:^1.4安装了

from php-enphp-decoder.

ganlvtech avatar ganlvtech commented on July 19, 2024

我其实不希望这个包被广泛使用,等待那些有缘人自己来探索这些边缘地带。

不过我可以提供一个解决方法,Composer 支持直接从 git 仓库拉取代码,如果你的电脑已经安装了 git 命令行的话。

手动在 require 中加入 ganlvtech/php-enphp-decoder:^1.4,然后再额外添加一个 repositories 作为代码源就行啦。

{
    "repositories": [
        {
            "type": "git",
            "url": "https://github.com/ganlvtech/php-enphp-decoder.git"
        }
    ],
    "require": {
        "ganlvtech/php-enphp-decoder": "^1.4"
    }
}

注意,不要让你的 vendor 目录可以直接通过 web 服务访问到,因为 bin public tests 目录都是有可执行的代码的,只有 src 是功能代码,不能直接被执行。

如果你仍然觉得麻烦,可以自己上传一份到自己的 packagist 用户名下。

from php-enphp-decoder.

Gelaku avatar Gelaku commented on July 19, 2024

三克油

from php-enphp-decoder.

Related Issues (9)

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.