laravel-paypal for laravel 8.x
is a fork of laravel-paypal
only compatible with laravel 8. So this project is just a VCS for the library to be compatible with Laravel in version 8.x.
For more information about the package, see the official package: https://github.com/net-shell/laravel-paypal
- In your composer.json add
"require": {
"gusta14dev/paypal": "*"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/Gusta14Dev/laravel-paypal"
}
],
- Next, add the service provider to
app/config/app.php
in theproviders
array.
'providers' => array(
// ...
Netshell\Paypal\PaypalServiceProvider::class,
)
- Finally, add an alias to
app/config/app.php
in thealiases
array.
'aliases' => array(
// ...
'Paypal' => Netshell\Paypal\Facades\Paypal::class,
)
For the use of the package see the link of the official repository.