php-markdown icon indicating copy to clipboard operation
php-markdown copied to clipboard

About composer.json

Open phoenixg opened this issue 10 years ago • 3 comments

I have already have a composer.json file which content is : { "require": { "torophp/torophp": "dev-master", "mustache/mustache": "dev-master" } }

How to include your composer.json content to mine?

phoenixg avatar Dec 19 '13 09:12 phoenixg

Add the line "michelf/php-markdown": "1.4.1" in the require object of your composer.json file. https://packagist.org/packages/michelf/php-markdown

@michelf perhaps this could be mentioned in the README.md ?

paazmaya avatar Jan 18 '15 20:01 paazmaya

You should not require a specific version like that. Use a version constraint.

GrahamCampbell avatar Jan 18 '15 20:01 GrahamCampbell

Indeed, it's probably better to use a version constrain in most cases. I'm not too sure what to recommend though, beside that people should read the section about version numbering in the Readme.

michelf avatar Jan 18 '15 21:01 michelf