Below we have created an analysis of the basic features available in Laminas API Tools and Dotkernel API. It's intended to highlight the differences between the two and also to showcase why Dotkernel API is a good alternative for Laminas API Tools, especially considering the latter's archived status.
The table below refers to Dotkernel API V7.
| API Tools (formerly Apigility) | Dotkernel API | |
|---|---|---|
| URL | api-tools | Dotkernel API |
| First Release | 2012 | 2018 |
| PHP Version | <= 8.2 | |
| Architecture | MVC, Event Driven | Middleware |
| OSS Lifecycle | Archived | |
| Style | REST, RPC | REST |
| Versioning | Yes | Deprecations (API Evolution) * |
| Documentation | Swagger (Automated) | Postman (Manual), OpenAPI 3.0 (Swagger) |
| Content-Negotiation | Custom | Custom |
| License | BSD-3 | MIT |
| Default DB Layer | laminas-db | doctrine-orm 3.x |
| Authorization | ACL | RBAC-guard |
| Authentication | HTTP Basic/Digest OAuth2.0 | OAuth2.0 |
| CI/CD | Yes | Yes |
| Unit Tests | Yes | Yes |
| Code (Endpoint) Generator | Yes | dot-maker |
| PSR | PSR-7 | PSR-7, PSR-15 |
Note
- Versioning is replaced by Deprecations, using an evolution strategy.
Frequently Asked Questions
What is the purpose of this comparison? +
It highlights the differences between Laminas API Tools and Dotkernel API, and shows why Dotkernel API is a good alternative now that Laminas API Tools is archived.
Which version of Dotkernel API does the comparison table refer to? +
Dotkernel API V7.
What architecture does each project use? +
Laminas API Tools uses an MVC, event-driven architecture, while Dotkernel API uses a middleware architecture.
What license does each project use? +
Laminas API Tools is licensed under BSD-3, while Dotkernel API is licensed under MIT.
How does Dotkernel API handle API versioning? +
Instead of traditional versioning, Dotkernel API replaces it with Deprecations, using an evolution (API Evolution) strategy.
What documentation options does each project support? +
Laminas API Tools generates Swagger documentation automatically, while Dotkernel API supports manual Postman documentation as well as automated OpenAPI 3.0 (Swagger) documentation.