Download the PHP package marshung/my-composer without Composer

On this page you can find all versions of the php package marshung/my-composer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package my-composer

練習GitHub+Composer+Packagist

動態Badges (poser.pugx.org)

plastic plastic plastic

靜態Badges (shields.io)

練習內容

Git Repository 建立

在GitHub上建立Repository

clone回本地端

初始化composer.json

建立README.md

推送回GitHub

最后一步需要加origin master参数的原因是空仓库是没有分支的,所以我们需要强制推送本地的master到远端的master,在这之后可以直接用git push命令推送而不需要加后面的参数了。

composer套件架構

composer.json

建立class

提交前測試程式是否有問題

建立測試文件

發佈到 packagist.org

訪問Packagist主頁,確認自己已經登錄,然後點擊右上角大大的Submit Package,然後填入我們創建的倉庫的地址,點擊Check,然後沒問題,再點擊Submit。

網址:https://packagist.org/

設定 GitHub Service Hook

安裝並使用

版本管理

Composer的版本管理

建立新分支0.1(dev)

建立stable版本(tag)

參考

記錄


All versions of my-composer with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package marshung/my-composer contains the following files

Loading the files please wait ....