Download the PHP package artisanpack-ui/seo without Composer
On this page you can find all versions of the php package artisanpack-ui/seo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download artisanpack-ui/seo
More information about artisanpack-ui/seo
Files in artisanpack-ui/seo
Package seo
Short Description SEO utilities and meta tag management for Laravel applications
License MIT
Informations about the package seo
ArtisanPack UI SEO
ArtisanPack UI SEO is a comprehensive SEO management package for Laravel applications. Built on Livewire 3, it provides complete control over meta tags, Open Graph, Twitter Cards, Schema.org markup, XML sitemaps, URL redirects, robots.txt generation, and SEO content analysis.
Quick Start
Installation
Basic Usage
Key Features
- Meta Tag Management: Title, description, robots directives, and canonical URLs with automatic fallbacks
- Social Media Tags: Open Graph for Facebook/LinkedIn and Twitter Cards with image support
- Schema.org Markup: 14 built-in JSON-LD schema types for rich search results
- Multi-Language Support: Hreflang tags for international SEO
- URL Redirects: Exact, regex, and wildcard redirects with hit tracking
- XML Sitemaps: Standard, image, video, and news sitemaps with automatic indexing
- Dynamic Robots.txt: Configurable rules with bot-specific directives
- SEO Analysis: 8 built-in analyzers for content quality scoring
- Performance Caching: Comprehensive caching for meta tags, sitemaps, and redirects
- Admin Components: Livewire components for visual SEO management
- AI Features: Five AI agents for title/description suggestions, content analysis, schema generation, and hreflang gap detection (requires
artisanpack-ui/ai)
Components
Blade Components
| Component | Purpose |
|---|---|
<x-seo-meta> |
All-in-one SEO output (meta, OG, Twitter, schema) |
<x-seo-meta-tags> |
Basic meta tags only |
<x-seo-open-graph> |
Open Graph tags for social sharing |
<x-seo-twitter-card> |
Twitter Card meta tags |
<x-seo-schema> |
Schema.org JSON-LD markup |
<x-seo-hreflang> |
Hreflang link tags for multi-language |
Livewire Components
| Component | Purpose |
|---|---|
<livewire:seo-meta-editor> |
Full SEO editing interface with tabs |
<livewire:redirect-manager> |
URL redirect management |
<livewire:seo-dashboard> |
SEO overview and statistics |
<livewire:seo-analysis-panel> |
Content analysis results |
<livewire:hreflang-editor> |
Multi-language URL editor |
<livewire:meta-preview> |
Search result preview |
<livewire:social-preview> |
Social share preview |
<livewire:seo::ai-meta-title-suggestor> |
AI-generated title variants |
<livewire:seo::ai-meta-description-suggestor> |
AI-generated meta description |
<livewire:seo::ai-content-analyzer> |
AI content quality scoring with recommendations |
<livewire:seo::ai-schema-suggestor> |
AI JSON-LD schema type suggestion + starter object |
<livewire:seo::ai-hreflang-suggestor> |
AI hreflang gap detection |
Schema Types
Article, BlogPosting, Product, Organization, Person, LocalBusiness, Event, Recipe, FAQPage, HowTo, BreadcrumbList, WebSite, WebPage, VideoObject
AI Features
Five agents are shipped for use with the artisanpack-ui/ai foundation package. When artisanpack-ui/ai is installed and configured with credentials, the SEO service provider auto-registers each feature via aiFeatures().
| Feature key | Default model | Description |
|---|---|---|
seo.suggest_meta_title |
claude-haiku-4-5 |
Generate 3-5 SEO title variants (≤60 chars). |
seo.suggest_meta_description |
claude-haiku-4-5 |
Generate one 150-160 character meta description. |
seo.analyze_content |
claude-sonnet-4-6 |
Score content across keyword usage, readability, structure, and semantic completeness. |
seo.generate_schema |
claude-haiku-4-5 |
Pick a JSON-LD schema type from the supported list and produce a starter object. |
seo.suggest_hreflang |
claude-haiku-4-5 |
Cross-reference hreflang tags and surface missing or inconsistent relationships. |
Trigger surfaces
Every feature ships trigger UI on all three supported frontends:
- Livewire — the components listed above. Drop them into your editor views.
- React —
MetaTitleSuggestor,MetaDescriptionSuggestor,ContentAnalyzer,SchemaSuggestor,HreflangSuggestorunder@artisanpack-ui/seo/react(or the published path). Backed by theuseAiAgenthook. - Vue — the same five components under
@artisanpack-ui/seo/vue, backed by theuseAiAgentcomposable.
React and Vue triggers call the JSON API at /api/seo/ai/{feature} — see the routes registered under Route::prefix('ai') in routes/api.php (suggest-meta-title, suggest-meta-description, analyze-content, generate-schema, suggest-hreflang).
Feature toggles
Each feature honors the shared registry toggle. A disabled feature returns a FeatureDisabledException from the agent and a 409 from the API. Toggle at runtime via the FeatureRegistry facade:
Or set the initial state in config/artisanpack.php:
Documentation
Comprehensive documentation is available at docs.artisanpackui.dev:
- Getting Started - Quick start guide
- Installation - Detailed setup instructions
- Configuration - All configuration options
- Meta Tags - Meta tag management
- Social Media - Open Graph and Twitter Cards
- Schema.org - Structured data markup
- Components - Blade and Livewire components
- API Reference - Models, services, and events
Configuration
Publish the configuration file:
Key Configuration Options
Environment Variables
| Variable | Description | Default |
|---|---|---|
SEO_SITE_NAME |
Site name for titles | APP_NAME |
SEO_TITLE_SEPARATOR |
Separator between title and site name | \| |
SEO_DEFAULT_ROBOTS |
Default robots directive | index, follow |
SEO_CACHE_ENABLED |
Enable SEO caching | true |
SEO_CACHE_TTL |
Cache TTL in seconds | 3600 |
SEO_REDIRECTS_ENABLED |
Enable redirect handling | true |
SEO_SITEMAP_ENABLED |
Enable sitemap generation | true |
SEO_ANALYSIS_ENABLED |
Enable SEO analysis | true |
Artisan Commands
Requirements
- PHP 8.2 or higher
- Laravel 10, 11, 12, or 13
- Livewire 3.6+
Dependencies
This package integrates with the ArtisanPack UI ecosystem:
- artisanpack-ui/core - Core utilities
- artisanpack-ui/livewire-ui-components - UI components
- artisanpack-ui/hooks - WordPress-style hooks for extensibility
Events
The package dispatches events for key actions:
Helper Functions
Extensibility
Custom Schema Types
Custom Analyzers
Filter Hooks
The package fires the following filter hooks from the artisanpack-ui/hooks package:
| Hook | Fired in | Payload |
|---|---|---|
ap.seo.metaTags |
MetaTagService::generate() |
(array $tags, ?Model $subject, Request $request) |
ap.seo.sitemapEntries |
SitemapGenerator::generate() and generateFromProvider() |
(array $entries, string $sitemapType) |
It also subscribes to ap.visualEditor.prePublishChecks (fired by artisanpack-ui/visual-editor) to append SEO checks to the pre-publish workflow.
Middleware
Add the redirect middleware to handle URL redirects:
Contributing
Contributions are welcome! To contribute:
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Merge Request
Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting merge requests.
License
ArtisanPack UI SEO is open-sourced software licensed under the MIT license.
All versions of seo with dependencies
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
artisanpack-ui/core Version ^1.0
artisanpack-ui/hooks Version ^1.3