current location:Home > Technical Articles > PHP Framework > Workerman

  • Introduction to how workerman installs event extensions
    Introduction to how workerman installs event extensions
    Workerman is an open source, high-performance PHP socket service framework developed purely in PHP. The socket service created by Workerman requires event extension under high concurrency. This tutorial will introduce how Workerman installs event extension.
    Workerman 4058 2021-02-01 12:07:33
  • How to push back-end messages to the front-end in workerman in real time
    How to push back-end messages to the front-end in workerman in real time
    Below, the Workerman tutorial column will introduce how to push back-end messages to the front-end in real time: 1. The front-end and back-end establish a long websocket connection for pushing messages to each other. 2. After the backend listens to the front-end push message, it pushes the message to the front-end through websocket.
    Workerman 6526 2021-02-01 12:08:32
  • Second-level scheduled task tool based on the workerman library
    Second-level scheduled task tool based on the workerman library
    Below, the workerman tutorial column will introduce to you the method of implementing the second-level scheduled task tool based on the workerman library. I hope it will be helpful to friends in need! For PHP developers, they must have had enough of configuring various scheduled tasks on the Linux system. I am also very annoyed. So, I recently wrote in seconds...
    Workerman 3513 2021-02-01 12:08:45
  • workerman+thinkphp creates a simple chat room
    workerman+thinkphp creates a simple chat room
    Below, the workerman tutorial column will introduce to you how to make a simple chat room. I hope it will be helpful to friends who need it! 1: The environment is under window, thinkphp3.2; 2: Download GatewayWork...
    Workerman 4383 2020-01-14 14:39:06
  • Workerman's entry file
    Workerman's entry file
    Like the PHP application under nginx+PHP-FPM, the application in WorkerMan also needs an entry file. There is no requirement for the entry file name, and the entry file is run in PHP Cli mode.
    Workerman 3155 2021-02-01 12:08:52
  • Detailed explanation of pseudo-static transformation of php workerman
    Detailed explanation of pseudo-static transformation of php workerman
    Workerman is an open source high-performance asynchronous PHP socket instant messaging framework. Supports TCP long connections, supports Websocket, HTTP and other protocols, and supports custom protocols. This tutorial introduces the method of pseudo-static transformation of Workerman. Hope it is of some help to everyone.
    Workerman 2973 2021-02-01 12:08:58
  • Why do we need to make a protocol in WorkerMan?
    Why do we need to make a protocol in WorkerMan?
    Traditional PHP development is based on the Web, basically using the HTTP protocol. The parsing and processing of the HTTP protocol is solely undertaken by the WebServer, so developers will not care about the protocol. However, when we need to develop based on non-HTTP protocols, developers need to consider protocol matters.
    Workerman 1903 2020-01-02 17:49:54
  • Registration tree mode in Workerman
    Registration tree mode in Workerman
    Workerman is an open source high-performance asynchronous PHP socket instant messaging framework. Supports high concurrency and ultra-high stability, and is widely used in mobile apps, mobile communications, WeChat applets, mobile game servers, online games, PHP chat rooms, hardware communications, smart homes, Internet of Vehicles, Internet of Things and other fields. development.
    Workerman 2594 2019-12-27 17:26:39
  • How to implement online chat using Workerman
    How to implement online chat using Workerman
    Workerman is an open source high-performance asynchronous PHP socket instant messaging framework. Supports high concurrency and ultra-high stability, and is widely used in mobile apps, mobile communications, WeChat applets, mobile game servers, online games, PHP chat rooms, hardware communications, smart homes, Internet of Vehicles, Internet of Things and other fields. development.
    Workerman 3354 2019-12-26 17:00:53
  • How to access workerman
    How to access workerman
    How to access Workerman: Create an entry file, use the "require_once__DIR__.'/Workerman/Autoloader.php';" statement in the file to introduce Workerman/Autoloader.php, and then run the entry file.
    Workerman 2576 2019-12-24 14:38:08
  • How does workerman call the database?
    How does workerman call the database?
    How workerman calls the database: 1. First install the pdo and pdo_mysql extensions. 2. Install Workerman/MySQL. 3. Store the database instance in the global variable in the workerman code, and then connect to the database through the global variable.
    Workerman 3524 2019-12-23 16:43:18
  • How to access workererman in php
    How to access workererman in php
    How to connect PHP to Workerman: Create a new file start.php, create a Worker in this file to listen to port 2346, use the websocket protocol to communicate to connect Workerman in PHP, and then run this file to start Workerman in PHP.
    Workerman 3416 2019-12-23 16:25:14
  • How to use workerman?
    How to use workerman?
    Usage steps: Create a websocket Worker to maintain a long client connection; create a text Worker internally; open an internal port to facilitate the internal system to push data; push data to the page of uid through workererman; return the push result.
    Workerman 2741 2019-12-23 12:13:55
  • Solution to Chinese garbled code when running workerman using cmd
    Solution to Chinese garbled code when running workerman using cmd
    The Chinese garbled characters when cmd runs Workerman can be solved by changing the cmd window encoding format to utf-8. You can use the command "chcp 65001" to temporarily modify it before running, or you can modify it permanently in the registry.
    Workerman 2556 2019-12-23 11:02:24
  • What to do if workerman introduces db error
    What to do if workerman introduces db error
    Workerman introduces a solution to db errors: add try catch to capture the error when accessing the database. When the error captured is 2006 or 2013, it means that the connection is invalid. At this time, you can reconnect to the database.
    Workerman 2585 2019-12-23 10:47:37

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28