Packagist · packagist:spatie/php-cloneable
spatie/php-cloneable active
A trait that allows you to clone readonly properties in PHP 8.1
| Latest stable version | 1.0.2 |
|---|---|
| Published | 2024-02-06 20:31:19+00:00 |
| Install | composer require spatie/php-cloneable |
| Required PHP version (composer.json) | PHP ^8.1 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-10-09 15:05:34 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2024-02-06 20:31:19 UTC · 976 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 3 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
1.0.2 | 2024-02-06 20:31:19 UTC |
1.0.1 | 2023-02-20 06:57:26 UTC |
1.0.0 | 2021-11-15 12:29:49 UTC |
Showing the 3 most recent of 3 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 | none |
php 8.0 | none |
php 8.1 | 1.0.2 |
php 8.2 | 1.0.2 |
php 8.3 | 1.0.2 |
php 8.4 | 1.0.2 |
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 spatie/php-cloneable?
The latest stable version of spatie/php-cloneable is 1.0.2, published on 2024-02-06. Verified by Vigia on 2026-10-09.
How do I install the latest version of spatie/php-cloneable?
Run composer require spatie/php-cloneable. The latest stable version is 1.0.2 (verified 2026-10-09).
Is spatie/php-cloneable deprecated?
No. spatie/php-cloneable is not marked as deprecated in the registry.
Which PHP version does spatie/php-cloneable require?
spatie/php-cloneable 1.0.2 declares this requirement: PHP ^8.1.
Does spatie/php-cloneable 1.0.2 have known vulnerabilities?
No known advisories affect spatie/php-cloneable 1.0.2 according to the data Vigia checks.
Is spatie/php-cloneable still maintained?
spatie/php-cloneable published 0 stable releases in the last 12 months; the most recent was 976 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- spatie/mjml-php
- nikic/iter
- shopware/storefront
- pion/laravel-chunk-upload
- spatie/laravel-feed
- wamania/php-stemmer
- commerceguys/intl
- lucatume/wp-browser
- alexpechkarev/google-maps
- open-telemetry/opentelemetry-auto-psr18
- nunomaduro/mock-final-classes
- wnx/sidecar-browsershot
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/packagist/spatie/php-cloneable) [](https://vigia.coredls.cloud/packagist/spatie/php-cloneable) [](https://vigia.coredls.cloud/packagist/spatie/php-cloneable)
For agents
GET https://vigia.coredls.cloud/v1/packages/packagist/spatie/php-cloneable
GET https://vigia.coredls.cloud/v1/packages/packagist/spatie/php-cloneable/versions/{version}