{"id":36992275,"url":"https://github.com/bborrel/google-scholar-profile-parser","last_synced_at":"2026-01-13T23:44:26.191Z","repository":{"id":48260738,"uuid":"173875898","full_name":"bborrel/google-scholar-profile-parser","owner":"bborrel","description":"Google Scholar Profile Parser is a PHP library which parses the HTML of a scholar's profile page from Google Scholar website and transforms its data into a regular PHP data structure.","archived":false,"fork":false,"pushed_at":"2025-04-29T17:50:45.000Z","size":206,"stargazers_count":14,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-11-27T14:42:54.060Z","etag":null,"topics":["google-scholar","parser","php","publications","scholar","statistics"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bborrel.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-05T04:53:16.000Z","updated_at":"2025-07-24T07:38:14.000Z","dependencies_parsed_at":"2025-02-13T02:21:43.106Z","dependency_job_id":"5d24528e-7565-4043-86b1-8837b0f3c400","html_url":"https://github.com/bborrel/google-scholar-profile-parser","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/bborrel/google-scholar-profile-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bborrel%2Fgoogle-scholar-profile-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bborrel%2Fgoogle-scholar-profile-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bborrel%2Fgoogle-scholar-profile-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bborrel%2Fgoogle-scholar-profile-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bborrel","download_url":"https://codeload.github.com/bborrel/google-scholar-profile-parser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bborrel%2Fgoogle-scholar-profile-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28405185,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["google-scholar","parser","php","publications","scholar","statistics"],"created_at":"2026-01-13T23:44:26.131Z","updated_at":"2026-01-13T23:44:26.183Z","avatar_url":"https://github.com/bborrel.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Scholar Profile Parser\n\n[![Latest Stable Version](https://poser.pugx.org/bborrel/google-scholar-profile-parser/v/stable)](https://packagist.org/packages/bborrel/google-scholar-profile-parser)\n[![Minimum PHP Version](https://img.shields.io/packagist/php-v/bborrel/google-scholar-profile-parser.svg?maxAge=3600)](https://packagist.org/packages/bborrel/google-scholar-profile-parser)\n[![Total Downloads](https://poser.pugx.org/bborrel/google-scholar-profile-parser/downloads)](https://packagist.org/packages/bborrel/google-scholar-profile-parser)\n[![License](https://poser.pugx.org/bborrel/google-scholar-profile-parser/license)](https://packagist.org/packages/bborrel/google-scholar-profile-parser)\n\n[![Tested on PHP 7.2 to 8.3](https://img.shields.io/badge/tested%20on-PHP%207.2%20|%207.3%20|%207.4%20|%208.0%20|%208.1%20|%208.2%20|%208.3-brightgreen.svg?maxAge=2419200)](https://travis-ci.com/bborrel/google-scholar-profile-parser)\n[![Build Status](https://app.travis-ci.com/bborrel/google-scholar-profile-parser.svg?token=GRFWf5QKer9Sw41QTo4e\u0026branch=main)](https://app.travis-ci.com/bborrel/google-scholar-profile-parser)\n[![Coverage Status](https://coveralls.io/repos/github/bborrel/google-scholar-profile-parser/badge.svg?branch=master)](https://coveralls.io/github/bborrel/google-scholar-profile-parser?branch=master)\n[![Mutation testing badge](https://badge.stryker-mutator.io/github.com/bborrel/google-scholar-profile-parser/master)](https://stryker-mutator.github.io)\n[![Maintainability](https://api.codeclimate.com/v1/badges/a99a88d28ad37a79dbf6/maintainability)](https://codeclimate.com/github/codeclimate/codeclimate/maintainability)\n\nGoogle Scholar Profile Parser is a PHP library which parses the HTML of a scholar's profile page from Google Scholar \nwebsite and transforms its data into a regular PHP data structure.\n\nThe parsed data from a scholar is:\n\n- his/her list of publications (title, link, authors, publisher details, citations)\n- his/her citations' statistics (number of citations, h-index, i10-index)\n\n## Table of content\n\n- [Project Rationale](#project-rationale)\n- [Requirements](#requirements)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Versioning](#versioning)\n- [Code Quality](#code-quality)\n- [Author](#author)\n- [License](#license)\n\n## Project Rationale\n\nAs explained by this [Wikipedia page][1]:\n\n\u003e Google Scholar is a freely accessible web search engine that indexes the full text or metadata of scholarly literature\n\u003e across an array of publishing formats and disciplines.Google Scholar is a website which indexes scholars' publications\n\u003e and citations.\n\nUnfortunately [Google Scholar][2] website doesn't provide an API and I needed a way to fetch a scholar's data.\n\nSo, while I was looking for a PHP library which parses a profile page from Google Scholar website, I only found \n[Scholar parser][3] from [Daniel Schreij][4]. But I was unhappy with this library's dependency upon [PhantomJS][5] \nwhich development is suspended (and will likely not resume, leaving users without support). So I decided to rewrite this\nlibrary redesigning it to depend only on PHP, and no more Javascript.\n\n## Requirements\n\nMajor versions vs. PHP:\n- 3.x: PHP 8.1+\n- 2.x: PHP 7.1+\n- 1.x: PHP 5.6+\n\nAs stated in [composer.json][6], it requires PHP extension DOM.\n\n## Installation\n\nUse [Composer][7] to download and install this library as well as its dependencies.\n\n```bash\ncomposer require bborrel/google-scholar-profile-parser\n```\n\n## Usage\n\nSee the examples in the [library's documentation][8].\n\n## Versioning\n\nThis library use [SemVer][9] for versioning. For available versions, see the [tags on this repository][10]. For feature\nchanges, see the [CHANGELOG.md][11] file for details.\n\n## Code Quality\n\nThe code of this library:\n\n- follows the [PSR-1][12] and [PSR-12][13] coding standards\n- follows the [PSR-4][14] autoloading standard\n- is statically analysed with [PHPQA][15] (which wraps several tools, notably [PHPCS][16], [PHPMD][17], [PHPStan][18] \nand [Psalm][19]), and by Code Climate (which is setup with plugins [Phan][20], [PHPMD][17], [SonarPHP][21])\n- is unit tested with [PHPUnit][22] (code coverage on [Coveralls][23])\n- is mutation tested with [Infection][24]\n- is tested for compatibility with different versions of PHP (see [.travis.yml][25] for details)\n- has its dependencies checked for known security issues by [Packagist API][26]\n- is continuously integrated on [TravisCI][27]\n\nThese tools are installed with the library as long as you do not specify the option `--no-dev` when running the \n`install` or `update` [Composer][7] commands.\n\nTo run the static analysis tools and the unit tests via [PHPQA][15]:\n\n```bash\n./vendor/bin/phpqa\n```\n\nTo see the reports generated by [PHPQA][15] use a browser to open the file `./build/phpqa.html`. \n\n## Author\n\n[Benoit Borrel][28]\n\n## License\n\nThis library is licensed under the GPL-3.0-only License, see the [LICENSE.md][29] file for details.\n\n[1]: https://en.wikipedia.org/wiki/Google_Scholar\n[2]: https://scholar.google.com/\n[3]: https://github.com/dschreij/scholar_parser\n[4]: https://github.com/dschreij\n[5]: http://phantomjs.org/\n[6]: composer.json\n[7]: https://getcomposer.org/\n[8]: doc\n[9]: http://semver.org/\n[10]: https://github.com/bborrel/google-scholar-profile-parser/tags\n[11]: CHANGELOG.md\n[12]: https://www.php-fig.org/psr/psr-1/\n[13]: https://www.php-fig.org/psr/psr-12/\n[14]: https://www.php-fig.org/psr/psr-4/\n[15]: https://github.com/EdgedesignCZ/phpqa\n[16]: https://github.com/squizlabs/PHP_CodeSniffer\n[17]: https://phpmd.org/\n[18]: https://github.com/phpstan/phpstan\n[19]: https://psalm.dev/\n[20]: https://github.com/phan/phan\n[21]: https://www.sonarsource.com/products/codeanalyzers/sonarphp.html\n[22]: https://phpunit.de/\n[23]: https://coveralls.io/github/bborrel/google-scholar-profile-parser?branch=master\n[24]: https://github.com/infection/infection\n[25]: .travis.yml\n[26]: https://packagist.org/apidoc#list-security-advisories\n[27]: https://travis-ci.com/bborrel/google-scholar-profile-parser\n[28]: https://github.com/bborrel\n[29]: LICENSE.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbborrel%2Fgoogle-scholar-profile-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbborrel%2Fgoogle-scholar-profile-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbborrel%2Fgoogle-scholar-profile-parser/lists"}