Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • E extensions.typo3.org
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 84
    • Issues 84
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • servicesservices
  • t3o sites
  • extensions.typo3.org
  • extensions.typo3.org
  • Merge requests
  • !653

[FEATURE] Add Middleware for composer manifest generation

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Oliver Bartsch requested to merge 515-add-middleware-for-composer-manifest-generation into develop Apr 09, 2021
  • Overview 0
  • Commits 5
  • Pipelines 6
  • Changes 5

This adds a new middleware dealing with a new /composerize API endpoint.

Following routes are registered with this patch:

  • GET /composerize: Generates the extension composer name map
  • POST /composerize/{key}: Generates a composer.json file for the given extension key

The middleware is easily extensible. New routes can be added in the $routes array,
by defining the endpoint (including the route parameters) and the allowed HTTP method.

The request will automatically be forwarded to the ComposerizeController request
handler, containing the PSR-7 request object, which is extended with the full routeResult.

Closes #515 (closed)

Edited Apr 12, 2021 by Oliver Bartsch
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 515-add-middleware-for-composer-manifest-generation