Download the PHP package jarir-ahmed/uncensored-search without Composer

On this page you can find all versions of the php package jarir-ahmed/uncensored-search. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package uncensored-search

jarir-ahmed/uncensored-search

A framework-agnostic meta web-search client for PHP. Point it at several search-API keys and it gives you one clean interface with automatic failover — if one provider is down, rate-limited, or returns nothing, the next one covers. Results are unfiltered by default (safe-search off); you opt back into filtering when you want it.

Supported providers: Serper, Tavily, SearchApi.io, Scavio, Firecrawl, ScrapingBee. All six have free tiers.

This is web search (the open internet via search APIs). For searching your own indexed data (Elasticsearch, Meilisearch, …) see jarir-ahmed/search.

Install

Requires PHP 7.4+ and ext-curl.

Quick start

Loading keys

Both naming styles are accepted in arrays and files: provider names (serper) or env-var names (SERPER_API_KEY).

Two search modes

The Query object

Safe-search is off by default. Everything is fluent and immutable.

Working with results

search() never throws on provider failure — failures land in errors() and an all-failed run simply returns an empty set you can inspect.

Choosing / ordering providers

Default failover order (best free quota / quality first): serper → tavily → searchapi → scavio → firecrawl → scrapingbee.

Command-line tool

Provider reference

Provider Free tier Safe-search switch Notes
Serper 2,500/mo yes Google SERP JSON; default first choice
Tavily 1,000/mo no AI-tuned snippets, relevance score
SearchApi free credits yes Google + many engines
Scavio 250/mo no Google/Amazon/YouTube/Reddit
Firecrawl 1,000/mo no AI search; data.web results
ScrapingBee 1,000/mo partial Google SERP; key in query string

Get keys from each provider's site, drop them in a KEY=value file, and never commit it — .gitignore already excludes *.env / *keys.txt.

Extending

Implement Contracts\ProviderInterface (or extend Providers\AbstractProvider for the shared mapping/decoding helpers) and pass your provider into the UncensoredSearch constructor. The failover engine and aggregator work against the interface, so no core changes are needed.

Testing

Tests use a fake HTTP client fed with real captured provider JSON, so no network or API quota is touched. 31 tests, 86 assertions, all green.

License

MIT © Jarir Ahmed


All versions of uncensored-search with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jarir-ahmed/uncensored-search contains the following files

Loading the files please wait ...