Download the PHP package tornevall/tornelib-php-netcurl without Composer

On this page you can find all versions of the php package tornevall/tornelib-php-netcurl. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package tornelib-php-netcurl

NETCURL 6.1

Installation

Recommended installation method: composer install/require. See below.

Install as standalone

require tornevall/tornevall/tornelib-php-netcurl:^6.1

Install with the entire networking suite

require tornevall/tornevall/tornelib-php-network:^6.1

Enabling curl and SOAP

Depending 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:

apt-get install php-curl php-xml php-json php-soap

Packages

Source code can be found at bitbucket repository, to make upgrading more stable. It is mirrored to github but new releases and tags are submitted (when ready) to github to maintain maximum stability (do we trust bitbucket? yes - our own server).

Contact, information and documents

Documentation for v6.1 is located here. There's a Mailinglist put up for everything concerning netcurl. That's also where you can find release information (for now). You can subscribe to the list here. Feel free to join the project from JIRA. And don't be afraid of leaving feedback!

Getting started

Installing the network module instead will make features such as getGitTagsByUrl fully available.

Compatibility

This library do support PHP 5.6 (not lower). However, you should check here to ensure your compatiblity yourself).

Testing: Bamboo, github actions and bitbucket pipelines

NetCURL 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.

The Bamboo-server 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.

Other Requirements and dependencies

In its initial state, there are basically no requirements as this module tries to pick the best available driver in runtime.

Using real RSS feeds

When using composer to install netcurl, also add the following to composer by for example this:

composer require laminas/laminas-feed

If you prefer to use laminas http driver, you should also install it with laminas/laminas-http:

composer require laminas/laminas-http

It 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. You 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.

Library Support

Current

Will you support sockets?

Not yet. This driver requires more, so this is put on hold.

Will something break if I upgrade?

No. 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.


All versions of tornelib-php-netcurl with dependencies

PHP Build Version
Package Version
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package tornevall/tornelib-php-netcurl contains the following files

Loading the files please wait ....