PHPackages                             minulhasanrokan/customer-social-finder - 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. minulhasanrokan/customer-social-finder

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

minulhasanrokan/customer-social-finder
======================================

Find customer social profiles by name, profession, company, and location using Google Custom Search.

v1(1y ago)14MITPHPPHP ^8.0

Since Apr 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/minulhasanrokan/Customer-Social-Finder)[ Packagist](https://packagist.org/packages/minulhasanrokan/customer-social-finder)[ Docs](http://github.com/minulhasanrokan/customer-social-finder)[ RSS](/packages/minulhasanrokan-customer-social-finder/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

📦 Customer Social Finder
========================

[](#-customer-social-finder)

A Laravel package to help find social media profiles (LinkedIn, Facebook, Twitter) of a person based on their name, profession, company, and location — using the Google Custom Search API.

---

🚀 Features
----------

[](#-features)

- 🧠 Accepts name, profession, company, and location as input
- 🔍 Searches LinkedIn, Facebook, and Twitter using Google Custom Search
- 📷 Displays title, link, snippet, and thumbnail (if available)
- 🎨 Includes a ready-to-use Blade view

---

📥 Installation
--------------

[](#-installation)

### Step 1: Require via Composer

[](#step-1-require-via-composer)

```
composer require minulhasanrokan/customer-social-finder
```

---

📂 Publish Views (Optional)
--------------------------

[](#-publish-views-optional)

To publish the default Blade view:

```
php artisan vendor:publish --tag=views
```

---

⚙️ Configuration
----------------

[](#️-configuration)

### Step 1: Add Google API credentials to `.env`

[](#step-1-add-google-api-credentials-to-env)

```
GOOGLE_API_KEY=your_google_api_key
GOOGLE_CX_ID=your_custom_search_engine_id
```

### Step 2: Update `config/services.php`

[](#step-2-update-configservicesphp)

```
'google' => [
    'key' => env('GOOGLE_API_KEY'),
    'cx' => env('GOOGLE_CX_ID'),
],
```

---

🔗 Route Setup
-------------

[](#-route-setup)

You can add a route in your `web.php` to use the form:

```
use Minulhasanrokan\CustomerSocialFinder\Http\Controllers\SocialProfileController;

Route::match(['get', 'post'], '/social-finder', [SocialProfileController::class, 'index']);
```

---

🖼️ Blade View Example
---------------------

[](#️-blade-view-example)

Here’s how the output is structured:

```
@foreach ($results as $result)

        {{ $result['title'] }}
        {{ $result['link'] }}
        {{ $result['snippet'] }}
        @if($result['image'])

        @endif

@endforeach
```

---

🔐 How to Get Google API Credentials
-----------------------------------

[](#-how-to-get-google-api-credentials)

1. Visit [Google Cloud Console](https://console.cloud.google.com/)
2. Create a new project
3. Enable **Custom Search JSON API**
4. Go to [Programmable Search Engine](https://programmablesearchengine.google.com/)
5. Create a new search engine with sites like: ```
    *.linkedin.com, *.facebook.com, *.twitter.com

    ```
6. Get your **Search Engine ID (cx)** and **API key**

---

🧾 Example Search Query
----------------------

[](#-example-search-query)

The search will build something like:

```
John Doe Software Engineer Acme Inc New York site:linkedin.com OR site:facebook.com OR site:twitter.com

```

This query is passed to Google’s Custom Search API.

---

🛠 Requirements
--------------

[](#-requirements)

- PHP ^8.0
- Laravel ^10.0 || ^11.0 || ^12.0
- Google Custom Search API credentials

---

📁 Project Structure
-------------------

[](#-project-structure)

src/ ├── Http/ │ └── Controllers/ │ └── SocialProfileController.php ├── resources/ │ └── views/ │ └── form.blade.php ├── routes/ │ └── web.php └── CustomerSocialFinderServiceProvider.php

🙋 License
---------

[](#-license)

MIT License © [Md. Minul Hasan](https://github.com/minulhasanrokan)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance48

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

386d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/278d341db7973fabc70f2d59ee677c2cc0858ff8ab9ca1df5bc0794a38391cdc?d=identicon)[minulhasanrokan](/maintainers/minulhasanrokan)

---

Top Contributors

[![minulhasanrokan](https://avatars.githubusercontent.com/u/70903774?v=4)](https://github.com/minulhasanrokan "minulhasanrokan (6 commits)")

### Embed Badge

![Health badge](/badges/minulhasanrokan-customer-social-finder/health.svg)

```
[![Health](https://phpackages.com/badges/minulhasanrokan-customer-social-finder/health.svg)](https://phpackages.com/packages/minulhasanrokan-customer-social-finder)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M213](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)

PHPackages © 2026

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