mirror of
https://github.com/ceratic/MediaCollectorLibary.git
synced 2026-05-13 23:56:46 +02:00
- Added JWT authentication support in AuthService and JwtService. - Implemented token generation and refresh mechanisms. - Updated ApiAuthMiddleware to handle authentication for protected routes. - Created ApiController and BaseApiController for standardized API responses. - Developed MediaController for managing media items with pagination and search capabilities. - Introduced DocsController for serving API documentation via Swagger UI. - Added routes for API documentation and media management. - Improved error handling and response formatting across API endpoints. - Updated composer.json to include necessary JWT and Swagger UI dependencies.
35 lines
862 B
JSON
35 lines
862 B
JSON
{
|
|
"name": "media-collector/app",
|
|
"description": "Media Collection Dashboard",
|
|
"type": "project",
|
|
"require": {
|
|
"php": "^8.1",
|
|
"vlucas/phpdotenv": "^5.6",
|
|
"guzzlehttp/guzzle": "^7.5",
|
|
"slim/slim": "^4.10",
|
|
"slim/psr7": "^1.6",
|
|
"slim/twig-view": "^3.3",
|
|
"php-di/php-di": "^7.0",
|
|
"illuminate/database": "^10.0",
|
|
"zircote/swagger-php": "^5.7",
|
|
"php-middleware/php-debug-bar": "^1.0",
|
|
"firebase/php-jwt": "^7.0",
|
|
"swagger-api/swagger-ui": "^5.31"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"App\\": "app/"
|
|
},
|
|
"files": [
|
|
"app/helpers.php"
|
|
]
|
|
},
|
|
"config": {
|
|
"optimize-autoloader": true
|
|
},
|
|
"minimum-stability": "stable",
|
|
"require-dev": {
|
|
"maximebf/debugbar": "^1.23"
|
|
}
|
|
}
|