Weave Code
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

Glyph Lists Laravel Package

prinsfrank/glyph-lists

PHP package that reformats Adobe Glyph List (AGL/AGLFN) data into easy-to-use PHP enum classes. Includes derived datasets from adobe-type-tools/agl-aglfn (BSD-3) while the code is MIT-licensed, with proper attribution.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature Development:

    • Enables type-safe glyph handling in Laravel applications, critical for tools like PDF generators, font rendering systems, or Unicode normalization libraries.
    • Simplifies integration with Adobe’s AGL/AGLF data (used in professional typography tools), reducing manual parsing and errors.
    • Supports custom validation rules for glyph-specific constraints (e.g., ensuring text uses only supported glyphs in a font).
  • Roadmap Alignment:

    • Accelerates development of text-processing features (e.g., dynamic typography, font metadata APIs, or localization tools).
    • Aligns with Laravel’s PHP 8.1+ adoption by leveraging enums for stronger typing and IDE support.
    • Future-proofs glyph-related logic by providing a standardized, maintainable data source.
  • Build vs. Buy:

    • Avoids reinventing the wheel: Pre-parsed enums eliminate the need to manually parse Adobe’s raw AGL/AGLF data.
    • Reduces technical debt: Static enums are easier to maintain than custom implementations or dynamic lookups.
    • Low-risk adoption: MIT-licensed (with BSD-3 compliance for original data) and framework-agnostic, making it easy to integrate or replace.
  • Use Cases:

    • Font Libraries: Build custom typography systems (e.g., for design tools or e-books).
    • Document Processing: Integrate with PDF/LaTeX tools (e.g., barryvdh/laravel-dompdf) to validate or transform glyphs.
    • Localization/Unicode Tools: Ensure compatibility with specific glyph sets in multilingual applications.
    • Validation Layers: Add glyph-specific rules to Laravel’s validation pipeline (e.g., reject unsupported characters in user input).

When to Consider This Package

  • Adopt if:

    • Your Laravel project requires glyph enumeration (e.g., for font rendering, Unicode handling, or typography tools).
    • You’re parsing Adobe’s AGL/AGLF data manually and want to eliminate errors/overhead with pre-parsed enums.
    • Your team prioritizes type safety and maintainability over custom solutions (enums reduce runtime errors and IDE friction).
    • You’re using PHP 8.1+ (enums are not supported in older versions).
    • Glyph operations are core to your product (e.g., a font management system or PDF editor).
  • Look elsewhere if:

    • Your stack isn’t PHP/Laravel (e.g., Python/JavaScript alternatives like fonttools or unicode-data exist).
    • You need real-time glyph updates (this package provides static data; consider dynamic APIs if live updates are required).
    • Licensing concerns arise (though MIT/BSD-3 is permissive, some organizations may prefer fully proprietary or alternative sources).
    • Your use case doesn’t involve glyph-level operations (e.g., most CRUD apps or APIs won’t need this).
    • You’re on PHP < 8.1 (enums are incompatible; upgrading may not be feasible).

How to Pitch It (Stakeholders)

Executives: "This package provides pre-parsed glyph lists as PHP enums, eliminating the need to manually parse Adobe’s AGL/AGLF data—a critical step for building typography-heavy applications like PDF tools, font libraries, or Unicode normalization systems. By adopting this lightweight, MIT-licensed solution, we can reduce development time by 30–50% while ensuring consistency and type safety. It’s a low-risk way to accelerate features in our roadmap, particularly for projects where text processing or font handling is core. Ideal for teams already using PHP 8.1+ and Laravel."

Engineering: *"Stop parsing Adobe’s glyph data manually—this package gives you type-safe enums for all Adobe Glyph Lists (AGL/AGLF), making it trivial to validate, transform, or work with glyphs in your Laravel app. Perfect for:

  • PDF generation (e.g., ensuring glyphs are supported before rendering).
  • Custom font tools (e.g., validating user-uploaded fonts against standard glyph sets).
  • Unicode/localization features (e.g., checking if a string uses allowed glyphs). The package is framework-agnostic but Laravel-friendly (works with PHP 8.1+ enums), and its static nature means no runtime overhead. We’d need to upgrade to PHP 8.1+ if not already, but the tradeoff is worth it for stronger typing and maintainability. No dependencies, minimal risk, and a clear path to integration."*

Product/Design: *"This package helps us build more robust typography features without reinventing the wheel. For example:

  • Font validation: Reject unsupported glyphs in user-uploaded fonts (e.g., for a design tool).
  • PDF/LaTeX integrations: Ensure generated documents use valid glyphs for all languages.
  • Localization: Guarantee text inputs only use glyphs supported by a target font. It’s a backend-enabler for features like dynamic typography, Unicode compliance, or font metadata APIs—no UI changes needed, just cleaner data handling."*
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.
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor
spatie/laravel-javascript-views
spatie/ignition-contracts
earls/stork-command-queue-bundle