---
title: "darkaonline/l5-swagger 12.0.0 Breaking Changes on Packagist"
description: "What each darkaonline/l5-swagger release removed, renamed or changed: 6 breaking changes in 1 version on Packagist, each with its source."
canonical_url: https://since.dev/packages/packagist/darkaonline/l5-swagger
last_updated: 2026-12-04
---

# darkaonline/l5-swagger breaking changes

darkaonline/l5-swagger 12.0.0 (November 27, 2026) is its newest release with breaking changes, 6 of them. The first: Drops support for swagger-php 6.x in darkaonline/l5-swagger 12.0.0. Every breaking API change we have recorded in darkaonline/l5-swagger on Packagist: 6 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `12.0.1`, released November 28, 2026. MIT license. [Source repository](https://github.com/DarkaOnLine/L5-Swagger)

Its 12.0.0 release requires [PHP 8.3](https://since.dev/calendar/php/8.3.md) or later. [PHP end of life dates](https://since.dev/calendar/php.md).

## darkaonline/l5-swagger 12.0.0 breaking changes

darkaonline/l5-swagger 12.0.0, released November 27, 2026: 6 breaking changes.

- **Removed**  

The package now requires zircote/swagger-php ^7.3. Users on swagger-php 6.x must upgrade it. [github.com](https://github.com/DarkaOnLine/L5-Swagger/releases/tag/12.0.0)
- **Removed**  

The package now requires Laravel ^12.1 or ^13.0. Apps on Laravel 11 must upgrade Laravel before updating. [github.com](https://github.com/DarkaOnLine/L5-Swagger/releases/tag/12.0.0)
- **Removed**  

The package now requires PHP ^8.3 instead of ^8.2. Users on PHP 8.2 must upgrade PHP before updating. [github.com](https://github.com/DarkaOnLine/L5-Swagger/releases/tag/12.0.0)
- **Removed** `L5Swagger\Generator::AVAILABLE_SCAN_OPTIONS`  

The unused AVAILABLE_SCAN_OPTIONS constant is gone. Stop referencing it if your code used it. [packagist.org](https://packagist.org/packages/darkaonline/l5-swagger#12.0.0)
- **Default changed** `mode`  

The default mode is now hybrid. To keep the old behaviour, set mode to classic or use L5_SWAGGER_SCAN_MODE=classic, then regenerate and review docs. [github.com](https://github.com/DarkaOnLine/L5-Swagger/releases/tag/12.0.0)
- **Signature changed** `Generator`  

Subclasses that redeclare Generator constants must add a string type to them. [github.com](https://github.com/DarkaOnLine/L5-Swagger/releases/tag/12.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
