The Dingo API package is meant to provide you, the developer, with a set of tools to help you easily and quickly build your own API. While the goal of this package is to remain as flexible as possible it still won't cover all situations and solve all problems.
This package provides tools for the following, and more:
- Content Negotiation
- Multiple Authentication Adapters
- API Versioning
- Rate Limiting
- Response Transformers and Formatters
- Error and Exception Handling (AMH Usecase)
- Internal Requests
- API Blueprint Documentation
Extension of Dingos Exception Handler to make it usable with Amh specific Domains and it's Errorcodes.
Find the new Allmyhomes
namespace under Dingo\Api\Exceptions
.
Custom Exception Types (extending from AmhHttpException
) get handled differently, allowing for nested Exceptions and the retrieval of messages and domain by providing errorcodes when throwing.
Please refer to our extensive Wiki documentation for more information.
For answers you may not find in the Wiki, avoid posting issues. Feel free to ask for support on the dedicated Slack room. Make sure to mention @jasonlewis so he is notified.
This package is licensed under the BSD 3-Clause license.