Download the PHP package manilboudjemai/serial-pulse without Composer

On this page you can find all versions of the php package manilboudjemai/serial-pulse. 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 serial-pulse

SerialPulse

This application is an experimental project utilizing PHP, a server-side language, for establishing serial communication with a connected device through a serial port.

It provides a CLI interactive experience, enabling users to configure a connection and transmit data over the serial port.

Installation

Install the library using Composer. Run the following command in your project's root directory; composer require manilboudjemai/serial-pulse.

Features

CLI Interactivity

The application currently exposes a single command to the user : app:serial-connect.

This command initiates an interactive process, allowing users to configure and establish a connection while progressively sending data to the connected device byte by byte.

How to Use

Ensure you have PHP 8.2 or higher installed in your environment.

Open a CLI interface and locate yourself at the root of the application's directory structure.

Run the following command to initiate the application : php vendor/manilboudjemai/serial-pulse/index.php app:serial-connect. This launches an interactive process for configuring the connection and sending data.

To view all available commands, use php vendor/manilboudjemai/serial-pulse/index.php list.

Adding New Commands

Develop a new App\Command class in the vendor/manilboudjemai/serial-pulse/app/command directory; e.g. NewCommand.php.

Add the new command class to the application by including $app->add(new NewCommand()); in the vendor/manilboudjemai/serial-pulse/index.php file, the main entry point of the application.

Considerations

Stateless Nature

As PHP is inherently stateless, a new connection needs to be configured and established every time data is sent. Future enhancements are planned to introduce a solution that retains connection configuration settings across requests, streamlining the process of sending data via the serial port.

Connection Configuration

Ensure that connection configurations match those set on the connected device, including baud rate, data bits, parity, and stop bit, to ensure proper communication.

Windows Limitations

Due to Windows architecture and PHP's single-threaded nature, duplex communication is not supported on Windows OS. Contributions to extend support to other operating systems are welcome.

Limitations

The application is currently only supported on Windows operating systems.

User Agreement

This software is provided "as is" without warranty. Users assume the risk of its quality and performance.

You may copy, distribute, and modify the software under the GNU General Public License.

Credits

This project utilizes the following libraries to enhance its functionality :


All versions of serial-pulse with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
symfony/console Version ^7.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 manilboudjemai/serial-pulse contains the following files

Loading the files please wait ....