Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added usage info to allow removal from packagist #2

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
zf1-empty
=========

A hack to prevent composer from including multiple Zend Frameworks. For example Magento already has ZF1 in it's library/ path. If you use composer to require a package that in turn requires ZF1, composer doens't know that ZF1 is already provided by Magento. In that case, just require this package in your project's composer.json to prevent any of your dependencies from requiring new ZF1s
A hack to prevent Composer from including multiple Zend Frameworks. For example Magento already has ZF1 in it's library/ path. If you use Composer to require a package that in turn requires ZF1, composer doens't know that ZF1 is already provided by Magento. In that case, you can use this package to prevent any of your dependencies from requiring new ZF1s.

Usage
=========
First make sure your Composer is aware of this package by adding an entry to your repositories section:

```
repositories: [
{
"type": "vcs",
"url": "https://github.com/joshribakoff/zf1-empty"
}
]
```

Then you can refer to the package in your require section:

```
require: [
{
"joshribakoff/zf1-empty": "*"
}
]
```