{"id":25972029,"url":"https://github.com/orkan/tlc","last_synced_at":"2025-08-27T01:40:49.390Z","repository":{"id":280540314,"uuid":"942325953","full_name":"orkan/tlc","owner":"orkan","description":"Simple PHP/cURL/FlareSolverr framework with Logger, Cache and more!","archived":false,"fork":false,"pushed_at":"2025-04-05T15:41:44.000Z","size":236,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-17T17:14:03.985Z","etag":null,"topics":["crawler","curl","flaresolverr","net","scrap"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orkan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.txt","contributing":null,"funding":null,"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}},"created_at":"2025-03-03T23:49:48.000Z","updated_at":"2025-04-05T15:41:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"0a2f9794-46f1-46e2-8351-4a865a576cbc","html_url":"https://github.com/orkan/tlc","commit_stats":null,"previous_names":["orkan/tlc"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/orkan/tlc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orkan%2Ftlc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orkan%2Ftlc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orkan%2Ftlc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orkan%2Ftlc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orkan","download_url":"https://codeload.github.com/orkan/tlc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orkan%2Ftlc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272277254,"owners_count":24905446,"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-08-26T02:00:07.904Z","response_time":60,"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":["crawler","curl","flaresolverr","net","scrap"],"created_at":"2025-03-05T00:18:44.549Z","updated_at":"2025-08-27T01:40:49.370Z","avatar_url":"https://github.com/orkan.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TLC - Transport, Logging, Cache `v3.1.0`\nSimple PHP/cURL/FlareSolverr framework with Logger, Cache and more!\n\n## Installation\n`$ composer require orkan/tlc`\n\n## Usage\n```php\n// Setup\nuse Orkan\\TLC\\Application;\nuse Orkan\\TLC\\Factory;\nuse Symfony\\Component\\DomCrawler\\Crawler;\n\nrequire __DIR__ . '/vendor/autoload.php';\n$Factory = new Factory( require __DIR__ . \"/cfg.php\" );\n$Application = new Application( $Factory );\n$Application-\u003erun();\n\n// GET page\n$html = $Factory-\u003eTransport()-\u003eget( $url = 'http://example.com/welcome.php' );\n$Crawler = new Crawler( $html );\n\n// Fill \u0026 POST \"Log in\" FORM\n$fields = $Crawler-\u003efilter( '#form-login' )-\u003eform()-\u003egetValues();\n$fields['user'] = 'Me';\n$fields['pass'] = 'secret';\n$Factory-\u003eTransport()-\u003epost( $url, [ 'fields' =\u003e $fields ] );\n\n// Log some info...\n$Factory-\u003eLogger()-\u003einfo( 'Form fields: ' . print_r( fields, true ) );\n```\n\nFor more examples see [`/demo`](/demo) folder.\n\n## About\n### Requirements\nPHP  ^7.4\n\n## Third Party Packages\n* [Seldaek/Monolog](https://github.com/Seldaek/monolog)\n* [Symfony/DomCrawler](https://symfony.com/doc/current/components/dom_crawler.html)\n\n### Author\n[Orkan](https://github.com/orkan)\n\n### License\nMIT\n\n### Updated\nFri, 11 Apr 2025 17:55:30 +02:00\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forkan%2Ftlc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forkan%2Ftlc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forkan%2Ftlc/lists"}