# Stichoza/google-translate-php

🔤 Free Google Translate API PHP Package. Translates totally free of charge.

Repository: https://github.com/Stichoza/google-translate-php
Canonical: https://ross.abutalabs.com/products/google-translate-php
Language: PHP
License: MIT
License Family: permissive
Topics: translation, language-detection, detect-language, php, translate, google-translate
Last push: 2026-08-24T18:37:46+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 67, longevity 100
- inputs: {"age_days": 4794, "days_push": 9, "days_rel": 9, "gap_med": 230.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1937, forks 387 (observed 2026-08-28T04:05:57.105061+00:00)

## What it is
A free PHP library that wraps Google Translate's unofficial API to translate text between languages without an API key. It also supports automatic source-language detection and configurable HTTP clients.

## Use cases
- translate text in a php application for free
- detect the language of a string in php
- translate user-generated content without paying for an api key
- add multilingual support to a php website
- batch translate strings in a php script

## When to choose
- you need free machine translation in a PHP 8+ project
- you want automatic language detection alongside translation
- you need a lightweight composer package with no API credentials

## When to avoid
- you need a SLA-backed, officially supported translation API
- you cannot tolerate breakage from Google's unofficial endpoint changes
- you are not using PHP

## Facets
- artifact type: library
- maturity: active
- function: nlp, http-client, sdk
- domain: apis
- platform: php, cli
- tags: translation, google-translate, language-detection, scraper, composer, natural-language-processing, localization, web-server

## Member repositories
- Stichoza/google-translate-php (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:57.105061+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:08:14.010444+00:00, confidence not recorded.
  - readme: https://github.com/Stichoza/google-translate-php (fetched 2026-08-28T04:05:57.105061+00:00, sha 5a152f693f80)
- Data as of 2026-08-30T08:39:29.467469+00:00.
