0

I am having error in installing laravel/socialite in my laravel 5.2 project.

I tried this -- composer laravel/socialite but gets an error like this.

enter image description here

Please help me.

pedrorijo91
  • 7,635
  • 9
  • 44
  • 82
donnah
  • 43
  • 4

2 Answers2

1

You should write this

composer require laravel/socialite

this is the command. Use this

Jahid Mahmud
  • 1,136
  • 1
  • 12
  • 32
0

To install a package to laravel using composer you need to add require method after composer

Try doing like this

composer require laravel/socialite
Advaith
  • 2,490
  • 3
  • 21
  • 36