Packagist · packagist:sebastian/code-unit
sebastian/code-unit active
Collection of value objects that represent the PHP code units
| Latest stable version | 3.0.3 |
|---|---|
| Published | 2025-03-19 07:56:08+00:00 |
| Install | composer require sebastian/code-unit |
| Required PHP version (composer.json) | PHP >=8.2 |
| License | BSD-3-Clause |
| Advisories on latest version | none known |
| Last verified | 2026-10-08 19:59:34 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2025-03-19 07:56:08 UTC · 568 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 14 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
3.0.3 | 2025-03-19 07:56:08 UTC |
3.0.2 | 2024-12-12 09:59:06 UTC |
3.0.1 | 2024-07-03 04:44:28 UTC |
3.0.0 | 2024-02-02 05:50:41 UTC |
2.0.0 | 2023-02-03 06:58:43 UTC |
1.0.8 | 2020-10-26 13:08:54 UTC |
1.0.7 | 2020-10-02 14:47:54 UTC |
1.0.6 | 2020-09-28 05:28:46 UTC |
1.0.5 | 2020-06-26 12:50:45 UTC |
1.0.4 | 2020-06-26 12:02:26 UTC |
1.0.3 | 2020-06-15 13:11:26 UTC |
1.0.2 | 2020-04-30 05:58:10 UTC |
1.0.1 | 2020-04-27 06:25:01 UTC |
1.0.0 | 2020-03-30 11:59:20 UTC |
Showing the 14 most recent of 14 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
php 7.4 | 1.0.8 |
php 8.0 | 1.0.8 |
php 8.1 | 2.0.0 |
php 8.2 | 3.0.3 |
php 8.3 | 3.0.3 |
php 8.4 | 3.0.3 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of sebastian/code-unit?
The latest stable version of sebastian/code-unit is 3.0.3, published on 2025-03-19. Verified by Vigia on 2026-10-08.
How do I install the latest version of sebastian/code-unit?
Run composer require sebastian/code-unit. The latest stable version is 3.0.3 (verified 2026-10-08).
Is sebastian/code-unit deprecated?
No. sebastian/code-unit is not marked as deprecated in the registry.
Which PHP version does sebastian/code-unit require?
sebastian/code-unit 3.0.3 declares this requirement: PHP >=8.2.
Does sebastian/code-unit 3.0.3 have known vulnerabilities?
No known advisories affect sebastian/code-unit 3.0.3 according to the data Vigia checks.
Is sebastian/code-unit still maintained?
sebastian/code-unit published 0 stable releases in the last 12 months; the most recent was 568 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- paragonie/random_compat
- phpstan/phpstan
- aws/aws-crt-php
- filp/whoops
- mockery/mockery
- phpseclib/phpseclib
- hamcrest/hamcrest-php
- symfony/var-exporter
- jean85/pretty-package-versions
- symfony/options-resolver
- sebastian/code-unit-reverse-lookup
- masterminds/html5
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/packagist/sebastian/code-unit) [](https://vigia.coredls.cloud/packagist/sebastian/code-unit) [](https://vigia.coredls.cloud/packagist/sebastian/code-unit)
For agents
GET https://vigia.coredls.cloud/v1/packages/packagist/sebastian/code-unit
GET https://vigia.coredls.cloud/v1/packages/packagist/sebastian/code-unit/versions/{version}