Download the PHP package techdock/opcua-webapi-client without Composer

On this page you can find all versions of the php package techdock/opcua-webapi-client. 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 opcua-webapi-client

OPC UA WebAPI Client for PHP

PHP Version

A PHP client library for interacting with OPC UA servers via the OPC UA WebAPI. This library provides a simple and intuitive interface for reading values, browsing the address space, and performing other OPC UA operations over HTTP/HTTPS.

Features

Requirements

Installation

Install via Composer:

Quick Start

Usage Examples

Reading a Single Node Value

Reading Multiple Node Values

Reading multiple nodes in a single request is more efficient:

Browsing the Address Space

Using Namespace URIs

For nodes with custom namespaces:

Error Handling

Configuration

Custom Timeouts

Custom Host

API Reference

The DefaultApi class provides the following main methods:

For detailed information about request and response models, see the classes in the src/Model directory.

Testing

Unit Tests

Run the unit tests:

Or directly with PHPUnit:

Live Integration Tests

The library includes integration tests that demonstrate real usage against the public OPC Foundation WebAPI:

Or:

Enable HTTP debugging:

The integration tests serve as comprehensive usage examples and can be found in test/Integration/LiveApiTest.php.

Node ID Formats

OPC UA supports several node ID formats:

Common OPC UA Node IDs

Here are some commonly used OPC UA node IDs:

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

Credits

Developed and maintained by TechDock.

This library is built on the OpenAPI specification provided by the OPC Foundation. The OPC UA WebAPI specification (introduced in version 1.05.04) enables standardized RESTful API access to OPC UA servers, making OPC UA more accessible to modern web and cloud applications.

Related Resources


All versions of opcua-webapi-client with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.3
guzzlehttp/psr7 Version ^1.7 || ^2.0
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 techdock/opcua-webapi-client contains the following files

Loading the files please wait ...