Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Scramble Laravel Package

dedoc/scramble

View on GitHub
Deep Wiki
Context7
v0.13.22

What's Changed

Security: addresses a potential code execution issue under specific conditions.

New Contributors

Full Changelog: https://github.com/dedoc/scramble/compare/v0.13.21...v0.13.22

v0.13.21

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.13.20...v0.13.21

v0.13.20

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.13.19...v0.13.20

v0.13.19

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.13.18...v0.13.19

v0.13.18

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.13.17...v0.13.18

v0.13.17

What's Changed

New Contributors

Full Changelog: https://github.com/dedoc/scramble/compare/v0.13.16...v0.13.17

v0.13.16

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.13.15...v0.13.16

v0.13.15

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.13.14...v0.13.15

v0.13.14

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.13.13...v0.13.14

v0.13.13

What's Changed

New Contributors

Full Changelog: https://github.com/dedoc/scramble/compare/v0.13.12...v0.13.13

v0.13.12

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.13.11...v0.13.12

v0.13.11

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.13.10...v0.13.11

v0.13.10

What's Changed

New Contributors

Full Changelog: https://github.com/dedoc/scramble/compare/v0.13.9...v0.13.10

v0.13.9

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.13.8...v0.13.9

v0.13.8

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.13.7...v0.13.8

v0.13.7

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.13.6...v0.13.7

v0.13.6

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.13.5...v0.13.6

v0.13.5

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.13.4...v0.13.5

v0.13.4

What's Changed

New Contributors

Full Changelog: https://github.com/dedoc/scramble/compare/v0.13.3...v0.13.4

v0.13.3

🚨 Breaking changes

While unlikely this is going to affect you, RulesToParameter class has been removed. It was the internal not documented class, so it wasn't intended to be used on its own. Due to the low possibility of this affecting someone, I'm not tagging a new 0.14.x release.

What's Changed

New Contributors

Full Changelog: https://github.com/dedoc/scramble/compare/v0.13.2...v0.13.3

v0.13.2

What's Changed

  • Added support of variables used in validation rules by @chaikivskyi in https://github.com/dedoc/scramble/pull/1005
  • Fixed isInstanceOf could've returned null for template type.
  • Fixed infinite recursion for cases when [@mixin](https://github.com/mixin) of the class alias is used on the same class 😵‍💫

New Contributors

Full Changelog: https://github.com/dedoc/scramble/compare/v0.13.1...v0.13.2

v0.13.1

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.13.0...v0.13.1

v0.13.0

While this release has no breaking changes itself, the resulting OpenAPI document may be more accurate for your specific application, and hence may be considered as the one containing breaking changes. Due to this, I've decided to mark this release as 0.13.x. It means that you'll need to explicitly update the version in composer.json if you rely on ^0.12.0 or earlier versions.

Full type inference

Starting from Laravel 11.x (and especially from 12.x), Laravel comes with great and accurate PHPDoc annotations. With Scramble supporting these types, you'll enjoy focusing more on the app codebase rather than writing type annotations.

use App\Models\Appointment;

Route::get('/appointments', function (Request $request) {
    $items = Appointment::query()
        ->where('status', $request->string('status'))
        ->get();

    return $items;
});

In this case, Scramble can infer the type of $items: it is a collection of appointments, specifically: Illuminate\Database\Eloquent\Collection<int, App\Models\Appointment>!

This gives nice documentation just by analyzing the source, without any additional annotations.

Closure-based routes support

Previously, Scramble only supported controller-based routes. Now, the routes defined using closures also get their share of love and are documented automatically.

Closure-based routes support all the attributes (for manual parameters, headers, responses, etc.) that are supported by controller-based methods.

What's Changed

New Contributors

Full Changelog: https://github.com/dedoc/scramble/compare/v0.12.36...v0.13.0

v0.12.36

What's Changed

  • Added config for flattening query object parameters
  • Replace api path only if it appears at the beginning
  • Improve date_format rule documentation
  • Added enum names extension property support
  • Add support for wildcard array keys in validation rules

Full Changelog: https://github.com/dedoc/scramble/compare/v0.12.35...v0.12.36

v0.12.35

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.12.34...v0.12.35

v0.12.34

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.12.33...v0.12.34

v0.12.32

What's Changed

New Contributors

Full Changelog: https://github.com/dedoc/scramble/compare/v0.12.31...v0.12.32

v0.12.31

What's Changed

Full Changelog: https://github.com/dedoc/scramble/compare/v0.12.30...v0.12.31

v0.12.30

What's Changed

New Contributors

Full Changelog: https://github.com/dedoc/scramble/compare/v0.12.29...v0.12.30

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
comsave/common
alecsammon/php-raml-parser
chrome-php/wrench
lendable/composer-license-checker
typhoon/reflection
mesilov/moneyphp-percentage
mike42/gfx-php
bookdown/themes
aura/view
aura/html
aura/cli
povils/phpmnd
nayjest/manipulator
omnipay/tests
psr-mock/http-message-implementation
psr-mock/http-factory-implementation
psr-mock/http-client-implementation
voku/email-check
voku/urlify
rtheunissen/guzzle-log-middleware