Ricorocks-Digital-Agency / Soap

A Laravel SOAP client that provides a clean interface for handling requests and responses.
MIT License
406 stars 33 forks source link

fix aliases attribute in composer.json #49

Closed baueri closed 2 years ago

baueri commented 2 years ago

Regarding to the docs of laravel package management's package discovery section the aliases attribute in composer.json should be a key-value paired list where the key is the alias class name, and the value is the class name with full namespace you want to alias.

See https://laravel.com/docs/9.x/packages#package-discovery

Currently this causes the following issue: The ide-helper generator generates an alias like this: class 0 extends \RicorocksDigitalAgency\Soap\Facades\Soap {}

But I think it also prevents developers to use the alias itself e.g. Soap::to('...') without namespace