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

Atp Schema Laravel Package

socialdept/atp-schema

PHP package for working with AT Protocol (ATProto/Bluesky) schemas, offering generated classes and tooling for Lexicon definitions, validation, and type-safe access to records, requests, and responses in Laravel or standalone PHP applications.

View on GitHub
Deep Wiki
Context7

ATProto Lexicon parser and validator with DTO generation for Laravel

Frequently asked questions about Atp Schema
What is socialdept/atp-schema used for?
It is a PHP package for working with AT Protocol and Bluesky/ATProto schemas. It provides generated classes and schema definitions for Lexicon records, requests, and responses, with typed access and validation-friendly structures. In Laravel apps it helps keep ATProto payload handling consistent instead of relying on manual arrays.
How do I install socialdept/atp-schema with Composer?
Install it through Composer, typically with composer require socialdept/atp-schema. The package uses PSR-4 autoloading, so run composer dump-autoload after updating dependencies. If you use Laravel package discovery, check whether any service provider, facade, or config reference needs to be registered or refreshed.
Which Laravel and PHP versions does socialdept/atp-schema support?
The provided evaluation does not list exact Laravel or PHP version constraints, so confirm them in the package composer.json before upgrading. The package is described as framework-ready for Laravel services and workflows, but Laravel version support should be treated as conditional until verified. Test against your app’s current Laravel and PHP versions in a branch.
Why was SocialDept\Schema renamed to SocialDept\AtpSchema?
The rename aligns the package namespace with SocialDept’s broader AT Protocol package family. That improves naming consistency and long-term discoverability across related packages. It is still a breaking change for any code that imports classes from the old namespace.
Is socialdept/atp-schema v0.3.0 backward compatible with SocialDept\Schema?
The assessment describes v0.3.0 as a hard breaking namespace change, not a drop-in upgrade. It does not identify compatibility aliases or a deprecation bridge for SocialDept\Schema. Existing consumers should expect class-not-found errors until references are updated.
How do I migrate from SocialDept\Schema to SocialDept\AtpSchema?
Treat it as a coordinated upgrade: inventory all old namespace references, pin production to the previous version, then create an upgrade branch. Update the Composer constraint, replace SocialDept\Schema with SocialDept\AtpSchema in application code, tests, config, fixtures, and docs, then clear and rebuild Laravel caches. Also audit serialized data or database records that may contain fully qualified class names.
Can I use socialdept/atp-schema outside Laravel?
Yes, it is described as usable in Laravel or standalone PHP applications. It relies on standard Composer and PSR-4 autoloading rather than requiring Laravel itself. Laravel-specific integration mainly matters for service providers, facades, config publishing, and cache behavior if those are present.
How does socialdept/atp-schema help validate AT Protocol records?
The package provides validation-friendly schema definitions for Lexicon record and object types. Typed schema access reduces manual array handling, which makes record processing safer and more consistent. Exact validation APIs are not detailed in the provided context, so check the package source and tests for the supported validation methods.
Is socialdept/atp-schema safe for production use?
It is still pre-1.0, so API changes and limited semver guarantees should be expected. v0.3.0 is a breaking release for existing SocialDept\Schema consumers. Production use is reasonable only with version pinning, migration testing, and a rollback plan to the prior version.
What are alternatives to socialdept/atp-schema for ATProto in PHP?
The provided context does not name direct alternatives, so evaluate packages by Lexicon generation, typed record access, validation support, and Laravel compatibility. If you need stability, compare pre-1.0 packages against maintaining your own generated schema classes. Also check SocialDept’s related AT Protocol packages for overlapping functionality before adding another dependency.
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.
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo
bernskioldmedia/laravel-harvest
bernskiold/laravel-data-scrubber
bernskiold/laravel-currency-converter
bernskiold/laravel-campaign-monitor
bernskioldmedia/laravel-autotranslate
siberfx/telegram-bot
roy-sandip/laravel-view-extended
gregsphotography/site-builder-core
roy-sandip/laravel-view
anodyne/blade-fluentui-icons
webx-ui/module-catalog-collections