jolanuk/filament-postcodes
Composer 安装命令:
composer require jolanuk/filament-postcodes
包简介
A valid UK postcode generator for FilamentPHP.
README 文档
README
A valid UK postcode generator for FilamentPHP, structurally inspired by the Brazilian equivalent developed by Otávio Araújo. This version uses the API found at postcodes.io.
Installation
You can install the package via composer:
composer require jolanuk/filament-postcodes
Usage
Similar to SmartCEP, Filament Postcodes also implements field bindings.
use jolanUK\FilamentPostcodes\Forms\Components\PostcodeField; PostcodeField::make('postcode') ->bindQualityField('quality') ->bindEastingsField('eastings') ->bindNorthingsField('northings') ->bindCountryField('country') ->bindNHSHAField('nhs_ha') ->bindLongitudeField('longitude') ->bindLatitudeField('latitude') ->bindEuropeanElectoralRegionField('european_electoral_region') ->bindPrimaryCareTrustField('primary_care_trust') ->bindRegionField('region') ->bindLSOAField('lsoa') ->bindMSOAField('msoa') ->bindIncodeField('incode') ->bindOutcodeField('outcode') ->bindParliamentaryConstituencyField('parliamentary_constituency') ->bindParliamentaryConstituency2024Field('parliamentary_constituency_2024') ->bindAdminDistrictField('admin_district') ->bindParishField('parish') ->bindAdminCountyField('admin_county') ->bindDateOfIntroductionField('date_of_introduction') ->bindAdminWardField('admin_ward') ->bindCEDField('ced') ->bindCCGField('ccg') ->bindNUTSField('nuts') ->bindPFAField('pfa') ->bindNHSRegionField('nhs_region') ->bindTTWAField('ttwa') ->bindNationalParkField('national_park') ->bindBUAField('bua') ->bindICBField('icb') ->bindCancerAllianceField('cancer_alliance') ->bindLSOA11Field('lsoa11') ->bindMSOA11Field('msoa11') ->bindLSOA21Field('lsoa21') ->bindMSOA21Field('msoa21') ->bindOA21Field('oa21') ->bindRUC11Field('ruc11') ->bindRUC21Field('ruc21') ->bindLEP1Field('lep1') ->bindLEP2Field('lep2'),
This will bind to a field in the same schema, with the matching machine name.
TextInput::make('quality'), TextInput::make('eastings'), TextInput::make('northings'), TextInput::make('country'), TextInput::make('nhs_ha'), TextInput::make('longitude'), TextInput::make('latitude'), TextInput::make('european_electoral_region'), TextInput::make('primary_care_trust'), TextInput::make('region'), TextInput::make('lsoa'), TextInput::make('msoa'), TextInput::make('incode'), TextInput::make('outcode'), TextInput::make('parliamentary_constituency'), TextInput::make('parliamentary_constituency_2024'), TextInput::make('admin_district'), TextInput::make('parish'), TextInput::make('admin_county'), TextInput::make('date_of_introduction'), TextInput::make('admin_ward'), TextInput::make('ced'), TextInput::make('ccg'), TextInput::make('nuts'), TextInput::make('pfa'), TextInput::make('nhs_region'), TextInput::make('ttwa'), TextInput::make('national_park'), TextInput::make('bua'), TextInput::make('icb'), TextInput::make('cancer_alliance'), TextInput::make('lsoa11'), TextInput::make('msoa11'), TextInput::make('lsoa21'), TextInput::make('msoa21'), TextInput::make('oa21'), TextInput::make('ruc11'), TextInput::make('ruc21'), TextInput::make('lep1'), TextInput::make('lep2'),
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security Vulnerabilities
Please email me directly to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
jolanuk/filament-postcodes 适用场景与选型建议
jolanuk/filament-postcodes 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 5 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 03 月 01 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「filament」 「filament-plugin」 「filamentphp」 「jolanUK」 「filament-postcodes」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 jolanuk/filament-postcodes 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 jolanuk/filament-postcodes 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 jolanuk/filament-postcodes 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
jitone-ai is a powerful FilamentPHP plugin that integrates AI-powered features directly into your Filament forms.
Send Notification to discord channel Webhook using native FilamentPHP Notification Facade class
Alfabank REST API integration
Database-driven onboarding for Filament: progress checklists and guided spotlight tours, translatable to any locale.
Laravel package for Accurate Online API integration.
Create-project starter for a Laravel application with the public Capell CMS foundation.
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 31
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-01