{"id":21970934,"url":"https://github.com/librecodecoop/impostos","last_synced_at":"2025-09-13T14:36:07.882Z","repository":{"id":226125883,"uuid":"767837583","full_name":"LibreCodeCoop/impostos","owner":"LibreCodeCoop","description":"Cálculo de impostos de INSS e IRPF","archived":false,"fork":false,"pushed_at":"2025-03-06T23:35:52.000Z","size":49,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-08T19:32:46.878Z","etag":null,"topics":["composer-library","imposto","impostos","inss","irpf","php","receita-federal"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LibreCodeCoop.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":"librecodecoop"}},"created_at":"2024-03-06T01:28:37.000Z","updated_at":"2025-03-06T23:35:36.000Z","dependencies_parsed_at":"2024-03-09T00:45:32.963Z","dependency_job_id":null,"html_url":"https://github.com/LibreCodeCoop/impostos","commit_stats":null,"previous_names":["librecodecoop/impostos"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/LibreCodeCoop/impostos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreCodeCoop%2Fimpostos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreCodeCoop%2Fimpostos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreCodeCoop%2Fimpostos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreCodeCoop%2Fimpostos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LibreCodeCoop","download_url":"https://codeload.github.com/LibreCodeCoop/impostos/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreCodeCoop%2Fimpostos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274976892,"owners_count":25384285,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-13T02:00:10.085Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["composer-library","imposto","impostos","inss","irpf","php","receita-federal"],"created_at":"2024-11-29T14:44:40.345Z","updated_at":"2025-09-13T14:36:07.842Z","avatar_url":"https://github.com/LibreCodeCoop.png","language":"PHP","readme":"# Cálculo de impostos\n\nImpostos suportados:\n\n* INSS\n* IRPF\n\n## Informações úteis\n\n### INSS\n* **TODO**: Identificar qual a fonte dos dados da tabela do INSS e corrigir os cálculos.\n\n### IRPF\n* Calculadora de teste: https://www27.receita.fazenda.gov.br/simulador-irpf/\n* Fonte de dados: https://www.gov.br/receitafederal/pt-br/assuntos/meu-imposto-de-renda/tabelas\n\n## Exemplo\n\n```php\n$bruto = 5000;\n$ano = 2024;\n$mes = 1;\n$dependentes = 0;\n\n$inss = (new INSS($ano))-\u003ecalcula($bruto);\n$IRPF = new IRPF($ano, $mes);\n$base = $IRPF-\u003ecalculaBase($bruto, $inss, $dependentes);\n$paraReter = $IRPF-\u003ecalcula($base, $dependentes);\n$tipoDeducaoAtual = $IRPF-\u003egetTipoDeducao();\n\necho \"INSS: R$ $inss\\n\";\necho \"Base de cálculo IRPF: R$ $base\\n\";\necho \"Tipo de dedução atual: $tipoDeducaoAtual\\n\";\necho \"Será retido o valor de: R$ $paraReter\\n\";\n```\nSaída:\n\n```\nINSS: R$ 1000\nBase de cálculo IRPF: R$ 4000\nTipo de dedução atual: tradicional\nSerá retido o valor de: R$ 248.27\n```","funding_links":["https://github.com/sponsors/librecodecoop"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibrecodecoop%2Fimpostos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibrecodecoop%2Fimpostos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibrecodecoop%2Fimpostos/lists"}