Closed dhistira closed 6 years ago
Can you please paste your composer.json
file?
{
"name": "stil/gd-text",
"description": "A class drawing multiline and aligned text on pictures. Uses GD extension.",
"license": "MIT",
"require": {
"php": ">=5.3",
"ext-gd": "*",
"phpunit/phpunit": "6.2"
},
"require-dev": {
},
"autoload": {
"psr-4": {
"GDText\\": "src/",
"GDText\\Tests\\": "tests/"
}
}
}
Firstly, it's not your composer.json
, you pasted project's composer.json
instead.
To install stil/gd-text
follow those steps:
stil/gd-text
:
composer require stil/gd-text
If you see output similiar to this:
Using version ^1.1 for stil/gd-text
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Installing stil/gd-text (v1.1.0): Downloading (100%)
Writing lock file
Generating autoload files
it means it successfully has been installed.
Thanks! It works now just by re-installing it
Problem 1:
I'm running on WAMP, apache 2.4.23, php 7.0.10. Any ideas?