{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/webmozart-assert/","markdown":"https://findsoftware.frbit.cloud/webmozart-assert.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"webmozart-assert","name":"webmozart/assert","urls":{"repository":"https://github.com/webmozarts/assert","docs":"https://github.com/webmozarts/assert/blob/master/README.md"},"category":["library"],"description":"PHP library of assertions that validate method input and output with readable error messages.","maintainer":"Bernhard Schussek","firstRelease":2015,"hosting":["php"],"language":"php","runtime":["php"],"runtimeMin":"php 8.2","contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"runsAs":null,"renderingModes":null,"installMethod":"composer","licenseModel":"open-source","license":"MIT","currentMajor":"2","latestReleaseDate":"2026-11-15T00:00:00.000Z","githubStargazers":7648,"contributors":88,"packagistDownloads":1011654924,"npmWeeklyDownloads":null,"packagistMonthlyDownloads":25323633,"dependentRepos":528993,"dependentPackages":1007,"checkedAt":"2026-11-17T00:00:00.000Z","addedAt":"2026-11-17T00:00:00.000Z","sources":[{"field":"urls","url":"https://api.github.com/repos/webmozarts/assert","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"urls","url":"https://github.com/webmozarts/assert/blob/master/README.md","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"firstRelease","url":"https://repo.packagist.org/p2/webmozart/assert.json","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"maintainer","url":"https://raw.githubusercontent.com/webmozarts/assert/master/LICENSE","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/webmozarts/assert","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"runtime","url":"https://raw.githubusercontent.com/webmozarts/assert/2.5.1/composer.json","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"runtimeMin","url":"https://raw.githubusercontent.com/webmozarts/assert/2.5.1/composer.json","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"category","url":"https://raw.githubusercontent.com/webmozarts/assert/master/README.md","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"installMethod","url":"https://raw.githubusercontent.com/webmozarts/assert/master/README.md","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"packagistDownloads","url":"https://packagist.org/packages/webmozart/assert.json","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"packagistMonthlyDownloads","url":"https://packagist.org/packages/webmozart/assert.json","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"currentMajor","url":"https://api.github.com/repos/webmozarts/assert/releases?per_page=100","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://api.github.com/repos/webmozarts/assert/releases?per_page=100","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/webmozarts/assert","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/webmozarts/assert/contributors?per_page=1","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"license","url":"https://raw.githubusercontent.com/webmozarts/assert/master/LICENSE","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"dependentPackages","url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/webmozart%2Fassert","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"dependentRepos","url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/webmozart%2Fassert","checkedAt":"2026-11-17T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"webmozart/assert is a PHP library of assertions for checking the input and output of methods. Each assertion throws an exception when it fails, and a custom message can use a placeholder for the tested value, with the same placeholder order for every assertion. The README says the library is heavily inspired by beberlei/assert and fixes a usability issue with that package's error messages."}