PHPackages                             phpcfdi/csf-sat-scraper - 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. phpcfdi/csf-sat-scraper

ActiveLibrary

phpcfdi/csf-sat-scraper
=======================

Scraper para descargar la Constancia de Situación Fiscal del SAT México

v0.1.0(3mo ago)5362—6.3%2MITPHPPHP &gt;=8.2CI passing

Since Jan 21Pushed 3mo agoCompare

[ Source](https://github.com/phpcfdi/csf-sat-scraper)[ Packagist](https://packagist.org/packages/phpcfdi/csf-sat-scraper)[ Docs](https://github.com/phpcfdi/csf-sat-scraper)[ RSS](/packages/phpcfdi-csf-sat-scraper/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

phpcfdi/csf-sat-scraper
=======================

[](#phpcfdicsf-sat-scraper)

[![Source Code](https://camo.githubusercontent.com/8fbc74c87896a6a25f8cc44fab499cf67e7418bd954ee3d8132f54a5a743d6f1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d706870636664692f6373662d2d7361742d2d736372617065722d626c75653f6c6f676f3d676974687562)](https://github.com/phpcfdi/csf-sat-scraper)[![PHP Version](https://camo.githubusercontent.com/0ba14ac8613a1a20a329e8e54999e6908c7333908ff10b64d3c33c721ceca594/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f706870636664692f6373662d7361742d736372617065722f7068703f6c6f676f3d706870)](https://packagist.org/packages/phpcfdi/csf-sat-scraper)[![Latest Version](https://camo.githubusercontent.com/30642e192a9f6d04f05aa6cf3900b5719c101c9d871ade0bb0fbe259e3348bfb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f706870636664692f6373662d7361742d736372617065723f6c6f676f3d676974)](https://github.com/phpcfdi/csf-sat-scraper/releases)[![Software License](https://camo.githubusercontent.com/3f5c2d5c3c4bef90acd1905d6ef6baa3198acd37faa82e053d5fd39aa0e4bda0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f706870636664692f6373662d7361742d736372617065723f6c6f676f3d6f70656e2d736f757263652d696e6974696174697665)](https://github.com/phpcfdi/csf-sat-scraper/blob/main/LICENSE)[![Build Status](https://camo.githubusercontent.com/11aa69536c7b2b31477f0d3f91a40a10129d8d736890977b0daa9898542e2816/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f706870636664692f6373662d7361742d736372617065722f6275696c642e796d6c3f6272616e63683d6d61696e266c6f676f3d6769746875622d616374696f6e73)](https://github.com/phpcfdi/csf-sat-scraper/actions/workflows/build.yml?query=branch:main)[![Reliability](https://camo.githubusercontent.com/d6be47c2be900f583e31ef808261dfb8085e959c208904cfc64645627b42d50b/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d706870636664695f6373662d7361742d73637261706572266d65747269633d72656c696162696c6974795f726174696e67)](https://sonarcloud.io/component_measures?id=phpcfdi_csf-sat-scraper&metric=Reliability)[![Maintainability](https://camo.githubusercontent.com/387ead8e716a58cfbfed136bc584175b1779f589b36f67adc48e12798e42fef1/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d706870636664695f6373662d7361742d73637261706572266d65747269633d7371616c655f726174696e67)](https://sonarcloud.io/component_measures?id=phpcfdi_csf-sat-scraper&metric=Maintainability)[![Code Coverage](https://camo.githubusercontent.com/b2261462bd10f65b64e7f14b7580b9521690412ebf28bd39289c049f95b700d2/68747470733a2f2f696d672e736869656c64732e696f2f736f6e61722f636f7665726167652f706870636664695f6373662d7361742d736372617065722f6d61696e3f6c6f676f3d736f6e617271756265636c6f7564267365727665723d6874747073253341253246253246736f6e6172636c6f75642e696f)](https://sonarcloud.io/component_measures?id=phpcfdi_csf-sat-scraper&metric=Coverage)[![Violations](https://camo.githubusercontent.com/933d5085a71d3e13ca5b7d07af8f68d68bca809fb4116fc1657590dba95dc20c/68747470733a2f2f696d672e736869656c64732e696f2f736f6e61722f76696f6c6174696f6e732f706870636664695f6373662d7361742d736372617065722f6d61696e3f666f726d61743d6c6f6e67266c6f676f3d736f6e617271756265636c6f7564267365727665723d6874747073253341253246253246736f6e6172636c6f75642e696f)](https://sonarcloud.io/project/issues?id=phpcfdi_csf-sat-scraper&resolved=false)[![Total Downloads](https://camo.githubusercontent.com/d68909ad19d16ba92591cf9f884a59746386f1937b9543c8179d69347dc330c4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f706870636664692f6373662d7361742d736372617065723f6c6f676f3d7061636b6167697374)](https://packagist.org/packages/phpcfdi/csf-sat-scraper)

> Scraper para descargar la Constancia de Situación Fiscal del SAT México.

🇺🇸 The documentation of this project is in Spanish, as this is the natural language for the intended audience.

Acerca de phpcfdi/csf-sat-scraper
---------------------------------

[](#acerca-de-phpcfdicsf-sat-scraper)

Esta herramienta se conecta usando [*Guzzle*](https://docs.guzzlephp.org/) como cliente HTTP a la página del SAT en México para descargar la Constancia de Situación Fiscal usando los datos de RFC y clave CIEC.

Requiere un resolvedor de *Captcha*, para lo que se puede utilizar alguno de los que ya se encuentran implementados en [`phpcfdi/image-captcha-resolver`](https://github.com/phpcfdi/image-captcha-resolver).

Instalación usando composer
---------------------------

[](#instalación-usando-composer)

```
composer require phpcfdi/csf-sat-scraper
```

Uso Básico
----------

[](#uso-básico)

```
