PHPackages                             athena272/php-course-search-engine - 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. athena272/php-course-search-engine

ActiveLibrary[API Development](/categories/api)

athena272/php-course-search-engine
==================================

Project that fetches courses from the Alura website

00PHP

Since May 18Pushed 1y ago1 watchersCompare

[ Source](https://github.com/athena272/php-course-search-engine)[ Packagist](https://packagist.org/packages/athena272/php-course-search-engine)[ RSS](/packages/athena272-php-course-search-engine/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

php-course-search-engine
========================

[](#php-course-search-engine)

[![Latest Stable Version](https://camo.githubusercontent.com/accff62f013aa4e7b9d1650b30bc957485eda95c2a87ceab0ea14e02742b2176/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617468656e613237322f7068702d636f757273652d7365617263682d656e67696e652e737667)](https://packagist.org/packages/athena272/php-course-search-engine)[![License](https://camo.githubusercontent.com/1a4ec416018194913c6365efe626ca498922517ea617aa9b59bdf31897d83948/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f617468656e613237322f7068702d636f757273652d7365617263682d656e67696e652e737667)](LICENSE)

Biblioteca PHP para buscar cursos automaticamente no site da Alura, usando scraping com Guzzle e Symfony DomCrawler.

Instalação
----------

[](#instalação)

Via [Composer](https://getcomposer.org/):

```
composer require athena272/php-course-search-engine
```

Exemplo de uso
--------------

[](#exemplo-de-uso)

```
require 'vendor/autoload.php';

use Athena272\CourseSearchEngine\Models\CourseFetcher;
use GuzzleHttp\Client;
use Symfony\Component\DomCrawler\Crawler;

$client = new Client([
    'verify' => false,
    'base_uri' => 'https://www.alura.com.br/'
]);
$crawler = new Crawler();

$fetcher = new CourseFetcher($client, $crawler);

try {
    $courses = $fetcher->getCourses('/cursos-online-programacao/php');
    foreach ($courses as $course) {
        echo $course . PHP_EOL;
    }
} catch (\GuzzleHttp\Exception\GuzzleException $e) {
    echo 'Error: ' . $e->getMessage();
}
```

Testes
------

[](#testes)

```
composer install
composer test
```

Dependências
------------

[](#dependências)

- guzzlehttp/guzzle
- symfony/dom-crawler
- symfony/css-selector

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a1332a42ad4444bf7a07b5963bf969fc134460c252c4bcb9d1970f14302a8cbe?d=identicon)[athena272](/maintainers/athena272)

---

Top Contributors

[![athena272](https://avatars.githubusercontent.com/u/58920070?v=4)](https://github.com/athena272 "athena272 (45 commits)")

### Embed Badge

![Health badge](/badges/athena272-php-course-search-engine/health.svg)

```
[![Health](https://phpackages.com/badges/athena272-php-course-search-engine/health.svg)](https://phpackages.com/packages/athena272-php-course-search-engine)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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