PHPackages                             sharpapi/sharpapi-php-client - 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. [API Development](/categories/api)
4. /
5. sharpapi/sharpapi-php-client

AbandonedLibrary[API Development](/categories/api)

sharpapi/sharpapi-php-client
============================

\[DEPRECATED\] This package is no longer maintained. Please use specific endpoint packages instead. SharpAPI.com - AI-Powered Swiss Army Knife API.

v2.0.0(4mo ago)4161[1 PRs](https://github.com/sharpapi/sharpapi-php-client/pulls)MITPHPPHP ^8.1

Since Dec 10Pushed 4mo agoCompare

[ Source](https://github.com/sharpapi/sharpapi-php-client)[ Packagist](https://packagist.org/packages/sharpapi/sharpapi-php-client)[ Docs](https://github.com/sharpapi/sharpapi-php-client)[ RSS](/packages/sharpapi-sharpapi-php-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (4)Versions (6)Used By (0)

[![SharpAPI GitHub cover](https://camo.githubusercontent.com/768c0a4d95d0dd8ce5f50098068c41606bd133a05c4742da26feb781ff5154ba/68747470733a2f2f73686172706170692e636f6d2f73686172706170692d6769746875622d7068702d62672e6a7067 "SharpAPI PHP Client")](https://camo.githubusercontent.com/768c0a4d95d0dd8ce5f50098068c41606bd133a05c4742da26feb781ff5154ba/68747470733a2f2f73686172706170692e636f6d2f73686172706170692d6769746875622d7068702d62672e6a7067)

⚠️ DEPRECATED: SharpAPI PHP Client SDK
======================================

[](#️-deprecated-sharpapi-php-client-sdk)

🔴 This Package is No Longer Maintained
--------------------------------------

[](#-this-package-is-no-longer-maintained)

**This monolithic package (`sharpapi/sharpapi-php-client`) has been deprecated and replaced with specialized, endpoint-specific packages.**

### Why the Change?

[](#why-the-change)

- **Better Performance**: Install only what you need
- **Smaller Dependencies**: Reduced package size
- **Easier Maintenance**: Each endpoint has its own repository
- **Clearer Documentation**: Focused docs for each feature
- **Faster Updates**: Independent versioning per endpoint

### ✅ What Should You Use Instead?

[](#-what-should-you-use-instead)

Please migrate to the **new specialized packages** listed below. Each package is focused on a specific SharpAPI endpoint and provides a cleaner, more maintainable solution.

---

📦 New Specialized Packages
--------------------------

[](#-new-specialized-packages)

### 📝 Content &amp; Marketing Automation

[](#-content--marketing-automation)

PackageDescriptionInstallation[php-content-summarize-text](https://packagist.org/packages/sharpapi/php-content-summarize-text)AI-powered text summarization`composer require sharpapi/php-content-summarize-text`[php-content-text-translator](https://packagist.org/packages/sharpapi/php-content-text-translator)Advanced text translator (80+ languages)`composer require sharpapi/php-content-text-translator`[php-content-paraphrase-text](https://packagist.org/packages/sharpapi/php-content-paraphrase-text)Paraphrase and rephrase content`composer require sharpapi/php-content-paraphrase-text`[php-content-proofread-grammar](https://packagist.org/packages/sharpapi/php-content-proofread-grammar)Proofread text and check grammar`composer require sharpapi/php-content-proofread-grammar`[php-content-keywords-tags](https://packagist.org/packages/sharpapi/php-content-keywords-tags)Generate keywords and tags from content`composer require sharpapi/php-content-keywords-tags`[php-content-spam-detector](https://packagist.org/packages/sharpapi/php-content-spam-detector)Detect spam content with confidence score`composer require sharpapi/php-content-spam-detector`[php-content-phone-detector](https://packagist.org/packages/sharpapi/php-content-phone-detector)Extract and format phone numbers`composer require sharpapi/php-content-phone-detector`[php-content-url-detector](https://packagist.org/packages/sharpapi/php-content-url-detector)Extract and validate URLs from text`composer require sharpapi/php-content-url-detector`[php-content-email-detector](https://packagist.org/packages/sharpapi/php-content-email-detector)Extract and validate email addresses`composer require sharpapi/php-content-email-detector`### 🛒 E-commerce

[](#-e-commerce)

PackageDescriptionInstallation[php-ecommerce-product-review-sentiment](https://packagist.org/packages/sharpapi/php-ecommerce-product-review-sentiment)Analyze product review sentiment`composer require sharpapi/php-ecommerce-product-review-sentiment`[php-ecommerce-product-categorization](https://packagist.org/packages/sharpapi/php-ecommerce-product-categorization)Categorize products with AI`composer require sharpapi/php-ecommerce-product-categorization`[php-ecommerce-product-intro-generator](https://packagist.org/packages/sharpapi/php-ecommerce-product-intro-generator)Generate product introductions`composer require sharpapi/php-ecommerce-product-intro-generator`[php-ecommerce-thank-you-email](https://packagist.org/packages/sharpapi/php-ecommerce-thank-you-email)Generate personalized thank you emails`composer require sharpapi/php-ecommerce-thank-you-email`### 🧑‍💻 HR Tech

[](#‍-hr-tech)

PackageDescriptionInstallation[php-hr-related-skills](https://packagist.org/packages/sharpapi/php-hr-related-skills)Find related skills with relevance scores`composer require sharpapi/php-hr-related-skills`[php-hr-related-job-positions](https://packagist.org/packages/sharpapi/php-hr-related-job-positions)Find similar job positions`composer require sharpapi/php-hr-related-job-positions`[php-hr-job-description-generator](https://packagist.org/packages/sharpapi/php-hr-job-description-generator)Generate professional job descriptions`composer require sharpapi/php-hr-job-description-generator`### ✈️ Travel, Tourism &amp; Hospitality

[](#️-travel-tourism--hospitality)

PackageDescriptionInstallation[php-travel-review-sentiment](https://packagist.org/packages/sharpapi/php-travel-review-sentiment)Analyze travel review sentiment`composer require sharpapi/php-travel-review-sentiment`[php-travel-hospitality-categorization](https://packagist.org/packages/sharpapi/php-travel-hospitality-categorization)Categorize hospitality products`composer require sharpapi/php-travel-hospitality-categorization`[php-travel-tours-activities-categorization](https://packagist.org/packages/sharpapi/php-travel-tours-activities-categorization)Categorize tours and activities`composer require sharpapi/php-travel-tours-activities-categorization`### 🔍 SEO

[](#-seo)

PackageDescriptionInstallation[php-seo-tags-generator](https://packagist.org/packages/sharpapi/php-seo-tags-generator)Generate SEO and social media META tags`composer require sharpapi/php-seo-tags-generator`### 🛠️ Utilities

[](#️-utilities)

PackageDescriptionInstallation[php-utility-airports](https://packagist.org/packages/sharpapi/php-utility-airports)Global airports database (30,000+ airports)`composer require sharpapi/php-utility-airports`[php-utility-job-positions](https://packagist.org/packages/sharpapi/php-utility-job-positions)Job positions database API`composer require sharpapi/php-utility-job-positions`---

🔄 Migration Guide
-----------------

[](#-migration-guide)

### Before (Old Package)

[](#before-old-package)

```
use SharpAPI\SharpApiService\SharpApiService;

$sharpApi = new SharpApiService(SHARP_API_KEY);
$statusUrl = $sharpApi->summarizeText($text, 'English');
$result = $sharpApi->fetchResults($statusUrl);
```

### After (New Specialized Package)

[](#after-new-specialized-package)

```
use SharpAPI\ContentSummarize\SummarizeTextClient;

$client = new SummarizeTextClient(apiKey: SHARP_API_KEY);
$statusUrl = $client->summarizeText(
    content: $text,
    language: 'English'
);
$result = $client->fetchResults($statusUrl);
```

### Key Differences

[](#key-differences)

1. **Focused Imports**: Import only the client you need
2. **Named Parameters**: Use modern PHP 8.0+ named arguments
3. **Better Type Safety**: Improved type hints and validation
4. **Smaller Footprint**: Only install dependencies for features you use

---

⚠️ Important Notes
------------------

[](#️-important-notes)

### For Existing Users

[](#for-existing-users)

**This package will continue to work** for projects that already use it. The source code remains unchanged, so your existing implementations won't break.

However, we **strongly recommend migrating** to the new specialized packages because:

- ✅ This package will not receive any new features
- ✅ Bug fixes and security updates will be limited
- ✅ New SharpAPI endpoints will only be available in specialized packages
- ✅ Better performance and smaller dependency footprint
- ✅ Active development and support

### When to Migrate

[](#when-to-migrate)

- **New Projects**: Always use the new specialized packages
- **Existing Projects**: Migrate during your next major update
- **composer update**: You'll see deprecation warnings, but your code will still work

---

📚 Resources
-----------

[](#-resources)

- **SharpAPI Website**:
- **API Documentation**:
- **GitHub Organization**:
- **All Packages on Packagist**:

---

💬 Need Help?
------------

[](#-need-help)

- **Questions?** Open an issue on the specific package's GitHub repository
- **Feature Requests?** Submit them to the relevant specialized package
- **General Support?** Visit

---

📜 Old Documentation (For Reference Only)
----------------------------------------

[](#-old-documentation-for-reference-only)

Click to expand old documentation (for existing users)### Installation

[](#installation)

```
composer require sharpapi/sharpapi-php-client
```

### Requirements

[](#requirements)

- PHP &gt;= 8.1

### Basic Usage

[](#basic-usage)

```
$sharpApi = new \SharpAPI\SharpApiService\SharpApiService(SHARP_API_KEY);

$statusUrl = $sharpApi->summarizeText($text, 'English');
$result = $sharpApi->fetchResults($statusUrl);

var_dump($result->getResultJson());
```

For complete documentation, please refer to the specialized packages listed above.

---

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

---

**Thank you for using SharpAPI! Please migrate to our new specialized packages for the best experience.**

[![SharpAPI](https://camo.githubusercontent.com/d739afef6a2c3632a69bd633dd9d82cdcff64c61e9899fc9e0f1641c561c168e/68747470733a2f2f73686172706170692e636f6d2f73686172706170692d6c6f676f2e737667)](https://sharpapi.com)

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance76

Regular maintenance activity

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Every ~190 days

Total

5

Last Release

129d ago

Major Versions

v1.2.0 → v2.0.02026-01-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/2b500dd3d9b470b50b1ed911cd24a6fdcce51dd97dceb4f97879f727a14495a8?d=identicon)[dawid-makowski](/maintainers/dawid-makowski)

---

Top Contributors

[![makowskid](https://avatars.githubusercontent.com/u/6271194?v=4)](https://github.com/makowskid "makowskid (16 commits)")

---

Tags

aiai-poweredapiartificial-intelligencecontent-analysiscontent-automatione-commercee-commerce-automatione-commerce-integrationgpt-4hospitality-automationhrtechhrtech-automationmarketing-automationphpphp-librarysharpapitravel-automationworkflow-automationphpapiRESTful APItourisme-commerceSharpAPIartificial intelligencenatural language processingsoftware developmentContent Analysisai apiAI-poweredapi integrationai capabilitiesMarketing AutomationtravelContent Generationhospitalityhr tech

### Embed Badge

![Health badge](/badges/sharpapi-sharpapi-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/sharpapi-sharpapi-php-client/health.svg)](https://phpackages.com/packages/sharpapi-sharpapi-php-client)
```

PHPackages © 2026

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