The installation instructions say "Just add this line to your composer.json file:
Code: Select all
"phpmailer/phpmailer": "^6.2"
Code: Select all
{
"name": "phpmailer/phpmailer",
Code: Select all
No lock file found. Updating dependencies instead of installing from lock file. Use composer update over composer install
if you do not have a lock file.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- phpmailer/phpmailer is present at version 1.0.0+no-version-set and cannot be modified by Composer
- phpmailer/phpmailer 1.0.0+no-version-set conflicts with roave/security-advisories dev-latest.
- Root composer.json requires roave/security-advisories dev-latest -> satisfiable by roave/security-advisories[dev-latest].
Code: Select all
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- phpmailer/phpmailer is present at version 1.0.0+no-version-set and cannot be modified by Composer
- phpmailer/phpmailer 1.0.0+no-version-set conflicts with roave/security-advisories dev-latest.
- Root composer.json requires roave/security-advisories dev-latest -> satisfiable by roave/security-advisories[dev-latest].