PHP Classes

PHP Background Service Caller: Call background services running on socket servers

Recommend this page to a friend!
  Info   View files Example   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2023-06-02 (4 months ago) RSS 2.0 feedNot enough user ratingsTotal: 210 All time: 8,331 This week: 125Up
Version License PHP version Categories
background-service 1.0.7BSD License5.4Networking, PHP 5
Description 

Author

This class can call background services running on socket servers.

It can connect to a server running on a TCP or UDP socket and sends requests to execute commands of services that run in the background.

The class can send a data paremeter to the server. For TCP requests, it can return the server response of the executed background service.

The class can also send requests to queue the execution of background services.

Picture of Thomas Björk
  Performance   Level  
Name: Thomas Björk <contact>
Classes: 11 packages by
Country: Sweden Sweden
Age: 55
All time rank: 1591 in Sweden Sweden
Week rank: 198 Down1 in Sweden Sweden Equal
Innovation award
Innovation award
Nominee: 3x

Example

<?php
include_once('../bgcaller.php');
BackgroundServiceCaller::AssignIni('./example.ini');
header('Content-Type: application/javascript');
echo
BackgroundServiceCaller::TCPCall('coffee', file_get_contents('./example1.coffee'));


  Files folder image Files  
File Role Description
Files folder imageexamples (4 files)
Plain text file bgcaller.php Class Class source
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file example.ini Data Auxiliary data
  Accessible without login Plain text file example1.coffee Data Auxiliary data
  Accessible without login Plain text file example1.php Example Example script
  Accessible without login Plain text file example2.php Example Example script

Downloadbackground-service-2023-06-02.zip 5KB
Downloadbackground-service-2023-06-02.tar.gz 4KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Fuse Array Download .zip .tar.gz Loads the configuration for the class Required
 Version Control Unique User Downloads Download Rankings  
 100%
Total:210
This week:0
All time:8,331
This week:125Up