{"id":26278791,"url":"https://github.com/tornevall/tornelib-php-netcurl","last_synced_at":"2025-09-08T03:32:24.035Z","repository":{"id":57071995,"uuid":"206053129","full_name":"Tornevall/tornelib-php-netcurl","owner":"Tornevall","description":"netcurl - githubified mirror used within packagist (final versions lands here). A preconfigured communications library, set to always return requested data in the same format regardless of the base environment. Autodetecting curl, stream libraries xml/soap and RSS amongst some. If you join this project, submit code to https://www.netcurl.org instead.","archived":false,"fork":false,"pushed_at":"2025-03-27T15:09:37.000Z","size":1405,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-17T02:54:05.111Z","etag":null,"topics":["curl","curl-library","curlphp","php-stream","rss","rss-feed","rss-feed-parser","rss-parser","rss-reader","soap","soap-client","soap-web-services","stream","streams"],"latest_commit_sha":null,"homepage":"https://docs.tornevall.net/display/TORNEVALL/NETCURLv6.1","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Tornevall.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,"zenodo":null}},"created_at":"2019-09-03T10:39:20.000Z","updated_at":"2025-03-27T15:09:33.000Z","dependencies_parsed_at":"2025-01-17T08:24:50.858Z","dependency_job_id":"51010f2a-e8b2-41a8-8142-21365f327602","html_url":"https://github.com/Tornevall/tornelib-php-netcurl","commit_stats":{"total_commits":868,"total_committers":7,"mean_commits":124.0,"dds":"0.018433179723502335","last_synced_commit":"160ebb8564ca568f2239653b08c76822a57f0c42"},"previous_names":[],"tags_count":47,"template":false,"template_full_name":null,"purl":"pkg:github/Tornevall/tornelib-php-netcurl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tornevall%2Ftornelib-php-netcurl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tornevall%2Ftornelib-php-netcurl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tornevall%2Ftornelib-php-netcurl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tornevall%2Ftornelib-php-netcurl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tornevall","download_url":"https://codeload.github.com/Tornevall/tornelib-php-netcurl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tornevall%2Ftornelib-php-netcurl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274128291,"owners_count":25226986,"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-08T02:00:09.813Z","response_time":121,"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":["curl","curl-library","curlphp","php-stream","rss","rss-feed","rss-feed-parser","rss-parser","rss-reader","soap","soap-client","soap-web-services","stream","streams"],"created_at":"2025-03-14T13:18:08.417Z","updated_at":"2025-09-08T03:32:23.994Z","avatar_url":"https://github.com/Tornevall.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NETCURL 6.1\n\n## Installation\n\nRecommended installation method: composer install/require. See below.\n\n\n### Install as standalone\n\n    require tornevall/tornevall/tornelib-php-netcurl:^6.1\n\n\n### Install with the entire networking suite\n\n    require tornevall/tornevall/tornelib-php-network:^6.1\n\n\n### Enabling curl and SOAP\n\nDepending on your needs, you can start with nothing in your hands. Curl is the primary handle that has many more features than the other drivers. It is however actually not required. A proper installation in Ubuntu however may look like this:\n\n    apt-get install php-curl php-xml php-json php-soap\n\n\n* XML is not required unless you want SOAP and so on.\n* SSL: OpenSSL or similar (if doing https requests).\n* SOAP: SoapClient and XML-drivers (if doing https requests).\n* CURL (if you prefer curl before streams).\n* allow_url_fopen (if you have no access to curl, this has to be enabled).\n\n## Packages\n\nSource code can be found at [bitbucket repository](https://bitbucket.tornevall.net/projects/LIB/repos/tornelib-php-netcurl/browse), to make upgrading more stable. It is mirrored to [github](https://github.com/Tornevall/tornelib-php-netcurl) but new releases and tags are submitted (when ready) to [github](https://github.com/Tornevall/tornelib-php-netcurl) to maintain maximum stability (do we trust bitbucket? yes - our own server).\n\n\n## Contact, information and documents\n\nDocumentation for v6.1 is located [here](https://docs.tornevall.net/display/TORNEVALL/NETCURLv6.1).\nThere's a [Mailinglist](https://lists.tornevall.net/pipermail/netcurl/) put up for everything concerning netcurl. That's also where you can find release information (for now). You can subscribe to the list [here](https://lists.tornevall.net/mailman/listinfo/netcurl).\nFeel free to join the project from [JIRA](https://tracker.tornevall.net/projects/NETCURL). And don't be afraid of leaving feedback!\n\n\n# Getting started\n\n* [MODULE_CURL 6.1](https://docs.tornevall.net/display/TORNEVALL/NETCURLv6.1)\n* [Getting started: Individual Modules](https://docs.tornevall.net/x/EAB4Aw)\n\nInstalling the network module instead will make features such as getGitTagsByUrl fully available.\n\n\n## Compatibility\n\nThis library do support PHP 5.6 (not lower). However, you should [check here](https://www.php.net/supported-versions.php) to ensure your compatiblity yourself).\n\n\n## Testing: Bamboo, github actions and bitbucket pipelines\n\nNetCURL is tested within a few different suites. Due to the lack of \"test time\", tests are not entirely fulfilled in the Bitbucket cloud, which is why tests also are executed from other places on commits. Below is a list of those instances.\n\n* [Atlassian Bamboo - 5.6 - 8.0](https://bamboo.tornevall.net/browse/TOR-NC60)\n* [GitHub Actions - 5.6 + 7.3 - 8.0](https://github.com/Tornevall/tornelib-php-netcurl/actions)\n* [Bitbucket Pipelines - 5.6 + 7.3 - 8.0](https://bitbucket.org/tornevallnetworks/tornelib-php-netcurl/addon/pipelines/home)\n\nThe [Bamboo-server](https://bamboo.tornevall.net) has a history which makes many older PHP versions available. But as of mid-summer 2020, all tests with old versions have been removed. This is also a work that continues. Github tests are only running with non-outdated versions (exception for 5.6) and so are bitbucked targeted. Since bamboo is the flagship of tests, old versions are currently not removed there.\n\n\n### Other Requirements and dependencies\n  \nIn its initial state, there are basically no requirements as this module tries to pick the best available driver in runtime.\n\n\n## Using real RSS feeds\n\nWhen using composer to install netcurl, also add the following to composer by for example this:\n\n    composer require laminas/laminas-feed\n\nIf you prefer to use laminas http driver, you should also install it with laminas/laminas-http:\n\n    composer require laminas/laminas-http\n\nIt is however not necessary with that driver, since netcurl will fall back to its own drivers if laminas is missing that driver. You should also know that if you use laminas-http it runs on pretty much defaults and therefore probably also uses **Laminas\\\\Http\\\\Client** as User-Agent.\nYou can request RSS feeds without laminas, however you're kind of on your own by doing this. In that case, you'll get the entries in SimpleXML formatting. \n\n## Library Support\n\n### Current\n\n* curl\n* The simplest form of streamdriver and the binary safe file_get_contents (instead of the fopen-drivers that is based on the same system).\n* SoapClient\n* RSS feeds\n\n\n#### Will you support sockets?\n\nNot yet. This driver requires more, so this is put on hold.\n\n\n## Will something break if I upgrade?\n\nNo. Version 6.1 is written to reach compatibility with v6.0, but with modernized code and PSR-4. However, do not use MODULE_CURL. Make sure you check out https://docs.tornevall.net/x/DoBPAw before deciding to run anything as older PHP-releases could be incompatible. However, if they are, so are probably you.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftornevall%2Ftornelib-php-netcurl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftornevall%2Ftornelib-php-netcurl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftornevall%2Ftornelib-php-netcurl/lists"}