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
Laravel Meta

Laravel Meta Laravel Package

wangta69/laravel-meta

Laravel Meta offers a flexible way to manage and attach custom metadata to Laravel models and pages. Configure reusable meta fields, store SEO and meta tags, and render them cleanly in views with simple helpers and Eloquent-friendly APIs.

View on GitHub
Deep Wiki
Context7

wangta69/laravel-meta adds flexible metadata support to Laravel applications. It lets you attach arbitrary key-value data to Eloquent models without changing existing tables, making it useful for SEO fields, settings, or custom attributes. Metadata is managed through a simple API with support for polymorphic relations and a configurable meta table.

  • Attach unlimited meta entries to any Eloquent model
  • Simple get/set helpers with dot notation
  • Polymorphic relationship without schema changes
  • Configurable table, model, and value casting
  • Query models by their metadata
Frequently asked questions about Laravel Meta
What is wangta69/laravel-meta used for?
It is a lightweight meta manager for Laravel applications. It provides a simple API to add, update, and retrieve metadata for models, pages, or SEO tags. Use it when you want to keep meta information organized without building custom storage and retrieval logic.
How do I install wangta69/laravel-meta with Composer?
Run composer require wangta69/laravel-meta in your Laravel project. After installation, check the repository README for any service provider registration, configuration publishing, or migration steps. Laravel package auto-discovery may handle provider registration, but confirm that in the package documentation.
Can laravel-meta attach metadata to Eloquent models?
Yes, the package is described as managing meta information for models as well as pages and SEO tags. You can use its simple API to add, update, and retrieve metadata associated with your models. Review the README for the exact model integration syntax and any required traits or relationships.
Is laravel-meta suitable for SEO meta tags?
Yes, the package explicitly covers SEO tags as one of its metadata use cases. It lets you add, update, and retrieve meta information that can support page titles, descriptions, and similar SEO needs. The package handles metadata management; you still control how those values are rendered in your views.
How is laravel-meta configured?
The package is described as offering flexible configuration and straightforward integration into existing Laravel projects. Check the README for configuration publishing and available options so you can adapt it to your app. Configuration details such as table names or defaults are not specified in the provided overview.
Which Laravel versions does wangta69/laravel-meta support?
The provided package overview does not list specific Laravel version constraints. Check the package composer.json and README on GitHub for the supported PHP and Laravel versions before installing. Composer will also report compatibility issues if your framework version does not match.
Can I use laravel-meta for pages that are not Eloquent models?
The package overview mentions metadata for models, pages, and SEO tags, so page-level metadata is within its intended scope. The exact API for non-model pages should be confirmed in the README. For model-backed pages, use the documented model metadata methods.
How does laravel-meta compare to a full SEO package?
Laravel Meta is a lightweight metadata manager, not a complete SEO suite. It focuses on adding, updating, and retrieving meta information for models, pages, or SEO tags. If you need sitemaps, redirects, or structured-data generation, you may need additional packages or custom code.
How do I test metadata retrieval in a Laravel app using this package?
Write a feature or unit test that creates the relevant model or page, adds meta values through the package API, and asserts that retrieval returns the expected data. Use Laravel's testing helpers and a test database so metadata storage is isolated. Check the README for any package-specific testing notes.
Is wangta69/laravel-meta actively maintained and production-ready?
The provided context does not include maintenance status, release history, or test coverage details. Review the GitHub repository for recent commits, issues, and tagged releases before using it in production. Because it is a lightweight package, you should also verify that its API and configuration fit your project requirements.
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.
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core