Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nguyenanhung/seo

Search Engine Optimization with PHP
https://github.com/nguyenanhung/seo

hashids php php-seo seo slugify

Last synced: 2 months ago
JSON representation

Search Engine Optimization with PHP

Awesome Lists containing this project

README

        

[![Latest Stable Version](https://img.shields.io/packagist/v/nguyenanhung/seo.svg?style=flat-square)](https://packagist.org/packages/nguyenanhung/seo)
[![Total Downloads](https://img.shields.io/packagist/dt/nguyenanhung/seo.svg?style=flat-square)](https://packagist.org/packages/nguyenanhung/seo)
[![Daily Downloads](https://img.shields.io/packagist/dd/nguyenanhung/seo.svg?style=flat-square)](https://packagist.org/packages/nguyenanhung/seo)
[![Monthly Downloads](https://img.shields.io/packagist/dm/nguyenanhung/seo.svg?style=flat-square)](https://packagist.org/packages/nguyenanhung/seo)
[![License](https://img.shields.io/packagist/l/nguyenanhung/seo.svg?style=flat-square)](https://packagist.org/packages/nguyenanhung/seo)
[![PHP Version Require](https://img.shields.io/packagist/dependency-v/nguyenanhung/seo/php)](https://packagist.org/packages/nguyenanhung/seo)

# Search Engine Optimization Package

## Version

- [x] V1.x, V2.x support all PHP version `>=5.6`
- [x] V3.x support all PHP version `>=7.0`

## Usage

Một số hàm tiện ích dùng cho SEO Website

### Get AddThis Script

```php
setAppId('1234')
->setAdminId('456')
->setRedirectUrl('https://nguyenanhung.com');

// FB Share Link
$data = $fb->createShareLink('link')->getLink();

// FB Share Count
$data = $fb->graphShare('link')->shareCount();

// FB Comment Count
$data = $fb->graphShare('link')->commentCount();

```

### Google Plus

```php
createShareLink('link')->getLink();

```

### Twitter

```php
createShareLink('link')->getLink();
```

## Liên hệ

Nếu có bất cứ thông tin nào cần trao đổi và tìm hiểu, vui lòng liên hệ theo thông tin sau

| Name | Email | Skype | Facebook |
|-------------|----------------------|------------------|---------------|
| Hung Nguyen | [email protected] | nguyenanhung5891 | @nguyenanhung |

From Hanoi with Love <3