Weave 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

Testing Laravel Package

laravel-json-api/testing

View on GitHub
Deep Wiki
Context7
3.2.0

Added

  • Package now supports Laravel 13.
3.1.0

Added

  • Package now supports Laravel 11 and 12.
3.0.2

Changed

  • Bump cloudcreativity/json-api-testing package to fix deprecation notices in PHP 8.4.
3.0.1

Fixed

  • Remove deprecation notices on PHP 8.4.
3.0.0

Changed

  • Package is now licensed under the MIT license.
  • BREAKING Package now requires Laravel 11.
  • BREAKING Package now requires cloudcreativity/json-api-testing version 6.
  • Minimum PHP version is now 8.2.
2.1.0

Added

  • Add support for PHPUnit 10.
2.0.0

Changed

  • Upgraded to Laravel 10 and set minimum PHP version to 8.1.
1.1.2

Fixed

  • The TestBuilder::withData() method no longer converts the provided data to a Collection if it implements the JsonSerializable interface. This change was required because Laravel changed how they converted objects to collections. It is not strictly necessary to convert objects that implement the JSON serializable interface, because they will be converted when the test JSON value is JSON encoded. Technically this is a breaking fix if the TestBuilder class has been extended. However, this change is being done as a bug fix because the bug was caused by a minor release of Laravel.
1.1.1

Fixed

  • The Symfony response class can return false for the response content. This caused a fatal error when the content was passed to JSON:API assertions - as the assertion methods type-hint the content as a string in version 4 of that dependency. This has been fixed by adding a TestResponse::getContent() method that returns an empty string if the Symfony method returns false.
1.1.0

Added

  • Package now supports Laravel 9.
  • Added support for cloudcreativity/json-api-testing version 4.0.
  • Values passed to the test builder filter() and page methods can now include UrlRoutable objects (i.e. models). Routable objects are converted to their route key value. This also applies when a filter or page value is set via the query() method.

Deprecated

  • The following page assertions will be removed in the next major release. You should use the fluent methods instead to assert the resources fetched, meta and links. Deprecated methods are:
    • assertFetchedPage() - use assertFetchedMany(), assertMeta() and assertLinks().
    • assertFetchedPageInOrder() - use assertFetchedManyInOrder(), assertMeta() and assertLinks().
    • assertFetchedEmptyPage() - use assertFetchedNone(), assertMeta() and assertLinks().
1.0.0

Changed

  • Updated cloudcreativity/json-api-testing dependency to 3.3.0.
1.0.0-beta.1

Initial beta release. No changes since alpha.1.

1.0.0-alpha.1

Initial release.

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.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings