descom/descommarket-seo

Descommarket SEO
4,493
Install
composer require descom/descommarket-seo
Latest Version:1.3.0
PHP:^8.4
License:MIT
Last Updated:Apr 8, 2026
Links: GitHub  ·  Packagist
Maintainer: cesargb

DescomMarket Seo

tests analyze

Installation

composer require descom-es/descommarket-seo
php artisan migrate

Usage

Configure yor model to use Seo

Add Trait DescomMarket\Seo\Traits in your Model that required Seo.

Add Seo to your model

    $product->addMeta('title', 'new title to product');
    $product->addMeta('description', 'Meta description to product');

Get MetaResource to your API

    public function toArray($request)
    {
        return [
            'id' => $this->id,
            'meta' => $this->whenLoaded('meta', new MetaResource($this->meta)),
        ];
    }

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

637,827,751 9,703
laravel/framework

The Laravel Framework.

589,172,971 34,950
laravel/tinker

Powerful REPL for the Laravel framework.

498,216,183 7,442
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

413,412,504 609
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

391,429,217 4,660