Derafu: API - API with Autodiscovery

GitHub last commit CI Workflow GitHub code size in bytes GitHub Issues Total Downloads Monthly Downloads


WIP: Work In Progress.


Ideas

  • Automatic Endpoint Discovery: Detect and register API endpoints automatically based on registered services, controllers, routes, or annotations.
  • OpenAPI/Swagger Documentation: Generate API documentation dynamically using annotations or conventions.
  • Framework-Agnostic Support: Ensure compatibility with different PHP frameworks (Symfony, Laravel, etc.) or provide middleware-based integration.
  • Authentication and Security: Support for JWT, OAuth, and API key-based authentication.
  • API Versioning: Automatic detection and handling of API versions via URL, headers, or query parameters.
  • Interactive API Explorer: Built-in web interface for testing API endpoints.
  • Middleware & Hooks: Allow customization via middleware or event-driven hooks for request processing.
  • Service Discovery Integration: Optional registration with service discovery tools like Consul or Eureka.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

License

This package is open-sourced software licensed under the MIT license.