shihabudheen's avatar

Error when adding illuminate/mail via composer in Lumen

I want to use email service in lumen, based on guide, I tried to add illuminate/mailpackage via composer by running following statement in command line.

composer require illuminate\mail

Now am getting following error,

[Invalid argument exception] Could not find package illuminate\mail at any version for your minimum-stability (stable).Check package spelling or your minimum-stability

How can I resolve this? How can I use email service in Lumen?

0 likes
2 replies
shihabudheen's avatar

It was my mistake,I used wrong slash and it should be composer require illuminate/mail

or adding following in composer.json

"illuminate/mail": "5.0.*"

and the run composer update from command line.

Please or to participate in this conversation.