3 ms·
It is not difficult but it can end up being more hard-coded than it should be. The author of this package is attempting to help Laravel users standardize their
by deweller 5y ago
It is not difficult but it can end up being more hard-coded than it should be.
The author of this package is attempting to help Laravel users standardize their API client code and centralize those hard-coded bits in one place.
It isn't groundbreaking, but it could be useful in larger projects or across several projects.
- 9dev 5y agoMy feeling is the opposite- this is just overengineering, adding more code to test and maintain. The simple solution is what countless others have suggested - build a simple client, configure it using standard Laravel mechanisms and dependency injection. An API Call is just a method on the service class.