PHPackages                             quintype/seo - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. quintype/seo

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

quintype/seo
============

1.9.6(4y ago)117.1k2PHP

Since Aug 25Pushed 4y ago56 watchersCompare

[ Source](https://github.com/quintype/quintype-seo-php)[ Packagist](https://packagist.org/packages/quintype/seo)[ RSS](/packages/quintype-seo/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)DependenciesVersions (41)Used By (0)

quintype-seo-php
================

[](#quintype-seo-php)

A composer package for SEO for all quintype projects

\###Important : If any change is made to the package, do the following.

- Create a new release.
- Update the package in [Packagist](https://packagist.org/).
- To use the new version of the package in any project, change the version number in composer.json file and run `$ composer update `

Note : We are making use of a package called Meta () forked from  for dynamically adding the meta tags into the pages.

Instructions to include the package into a project.

#### In composer.json, require Meta and SEO packages.

[](#in-composerjson-require-meta-and-seo-packages)

```
"require": {
        ...
        ...
        "quintype/seo":"1.0.0",
        "quintype/meta":"2.0.0"
    },
```

#### Install or update the composer packages.

[](#install-or-update-the-composer-packages)

```
$ composer install
or
$ composer update
```

#### In the Laravel config/app.php file, add aliases to the packages for convenience.

[](#in-the-laravel-configappphp-file-add-aliases-to-the-packages-for-convenience)

```
'aliases' => [
        ...
        ...
        'Meta' => Quintype\Meta\Meta::class,
        'Seo' => Quintype\Seo\Seo::class
    ],
```

#### Add an attribute called 'title' in config/quintype.php file as a fall-back value if it is not received from the config API.

[](#add-an-attribute-called-title-in-configquintypephp-file-as-a-fall-back-value-if-it-is-not-received-from-the-config-api)

```
return [
    ...
    ...
    "title" => "Pina Colada"
];
```

#### Include both Meta and SEO classes in the necessary controllers.

[](#include-both-meta-and-seo-classes-in-the-necessary-controllers)

```
use Meta;
use Seo;
```

#### Create a constructor function to initialize the Meta and SEO objects. Do not forget to pass the config(merge local config and config from API response) while initializing the Seo instance.

[](#create-a-constructor-function-to-initialize-the-meta-and-seo-objects-do-not-forget-to-pass-the-configmerge-local-config-and-config-from-api-response-while-initializing-the-seo-instance)

```
public function __construct(){
  $this->client = new Api(config("quintype.api-host"));
  $this->config = array_merge($this->client->config(), config('quintype'));
  $this->meta = new Meta();
  $this->seo = new Seo($this->config);
}
```

#### Prepare the data required for meta tags using [these available functions](https://github.com/quintype/quintype-seo-php/blob/master/README.md#available-functions).

[](#prepare-the-data-required-for-meta-tags-using-these-available-functions)

```
$setSeo = $this->seo->FUNCTION_NAME($args);
$this->meta->set($setSeo->prepareTags());
```

#### In the function to render the view, pass the meta data.

[](#in-the-function-to-render-the-view-pass-the-meta-data)

```
return view('home', $this->toView([
      ...
      ...
      "meta" => $this->meta
    ])
  );
```

#### In the &lt;head&gt; tag of layout.twig file(or the container twig file of the project), call the function to add the meta tags.

[](#in-the-head-tag-of-layouttwig-fileor-the-container-twig-file-of-the-project-call-the-function-to-add-the-meta-tags)

```
{{ meta.display([], true)|raw }}
```

---

\##AVAILABLE FUNCTIONS

- **home(**$pageType\*\*)\*\*
- **search(**$searchKeyword\*\*)\*\*
- **section(**$pageType, $sectionName, $sectionId\*\*)\*\*
- **staticPage(**$title\*\*)\*\*
- **story(**$pageType, $storyArray\*\*)\*\*
- **tag(**$tagName\*\*)\*\*

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 67.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~49 days

Recently: every ~340 days

Total

40

Last Release

1657d ago

Major Versions

0.0.13 → 1.0.02016-10-14

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8854520?v=4)[Quintype Technologies India Ltd](/maintainers/quintype)[@quintype](https://github.com/quintype)

![](https://www.gravatar.com/avatar/d59deb3632457afb5aa21cd1f195e4513fb350392f5590d1fa33e560705a0b42?d=identicon)[anaghp](/maintainers/anaghp)

![](https://avatars.githubusercontent.com/u/1692868?v=4)[Ravigopal Kesari](/maintainers/rvgpl)[@rvgpl](https://github.com/rvgpl)

![](https://avatars.githubusercontent.com/u/1055422?v=4)[Ajay Menon](/maintainers/ajaymenon0)[@ajaymenon0](https://github.com/ajaymenon0)

---

Top Contributors

[![anagh-p](https://avatars.githubusercontent.com/u/14992025?v=4)](https://github.com/anagh-p "anagh-p (50 commits)")[![rssbhargaw](https://avatars.githubusercontent.com/u/26813814?v=4)](https://github.com/rssbhargaw "rssbhargaw (6 commits)")[![munirajun](https://avatars.githubusercontent.com/u/8831098?v=4)](https://github.com/munirajun "munirajun (5 commits)")[![Deokumarjnu](https://avatars.githubusercontent.com/u/40450564?v=4)](https://github.com/Deokumarjnu "Deokumarjnu (4 commits)")[![gja](https://avatars.githubusercontent.com/u/34746?v=4)](https://github.com/gja "gja (2 commits)")[![ajaymenon0](https://avatars.githubusercontent.com/u/1055422?v=4)](https://github.com/ajaymenon0 "ajaymenon0 (2 commits)")[![rashmirmittal](https://avatars.githubusercontent.com/u/46313225?v=4)](https://github.com/rashmirmittal "rashmirmittal (2 commits)")[![sharangj](https://avatars.githubusercontent.com/u/2473594?v=4)](https://github.com/sharangj "sharangj (1 commits)")[![PriyankaBasnet](https://avatars.githubusercontent.com/u/22210327?v=4)](https://github.com/PriyankaBasnet "PriyankaBasnet (1 commits)")[![rvgpl](https://avatars.githubusercontent.com/u/1692868?v=4)](https://github.com/rvgpl "rvgpl (1 commits)")

### Embed Badge

![Health badge](/badges/quintype-seo/health.svg)

```
[![Health](https://phpackages.com/badges/quintype-seo/health.svg)](https://phpackages.com/packages/quintype-seo)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
