anomaly/email-field_type
An email field type for the PyroCMS Streams platform on Laravel, adding a reusable, validated email input to custom fields and entry forms so modules can capture and store addresses consistently.
What the package actually is
anomaly/email-field_type is a single-purpose Streams Platform field type addon for PyroCMS 3.x (Anomaly Labs). It registers an email field type that supplies three things: an input view (text input rendered in Streams forms), server-side validation rules (an email rule plus length constraint), and a presenter/output view that typically renders a mailto: link. It is a thin subclass of the platform's FieldType abstraction — likely a handful of PHP files, a config/lang file, and two Twig views.
Architecture fit
FieldTypeServiceProvider + FieldType subclass + addon manifest + namespaced lang/view). Outside PyroCMS/Streams it has no meaningful integration surface.anomaly.field_type.email) where the addon is silently shadowed or the container binding conflicts.Integration feasibility
composer require, autoload, register the provider (Streams addon discovery or explicit config/app.php entry depending on version), clear caches, dump-autoload.Technical risk — HIGH
Key questions
email field type? If yes, this package is redundant — recommend removal, not adoption.streams_fields rows with field_type = 'email' that depend on this binding surviving?email server-side, or only via client-side/HTML5 validation?mailto: anchor (injection risk in href)?Stack fit
Migration path (in order of preference)
email field type (or a text field type with an email validation rule configurable in field settings), configure that and drop this package. This is the lowest-risk path and should be the default recommendation.addons/{yourvendor}/{yourname}-field_type/ or an internal package with your own vendor prefix and slug (e.g. acme.field_type.email). Eliminates the collision risk, gives you PHP 8/Laravel-version portability, and converts an unmaintained dependency into owned code (MIT permits this; retain the license header).Compatibility checks before merge
composer.json constraint on anomaly/streams-platform and PHP.FieldType (getInput, getOutput, getRules, getColumnType) still match your platform version — these changed across Streams releases.addon.anomaly.field_type.email::…) and Twig loader can find the views.Sequencing
streams_fields (and any streams_assignments) for field_type = 'email'; count affected streams and entry volume.composer dump-autoload, clear Streams/addon caches, confirm the field type appears in the field-type picker exactly once.Maintenance
Support
Scaling
Failure modes
email field type wins; your addon is inert and you don't notice until a form behaves unexpectedly.mailto: from raw field value without escaping; crafted input breaks out of the href.FieldType produces fatals at boot, not at the form, which is worse (whole admin down).Ramp-up
How can I help you explore Laravel packages today?