projet1_Process Recording CMS_1

Follow the video and teacher instructions to implement a simple CMS. Software: PHPStorm, Laragon, Google Chrome โ€”๐Ÿ˜„-------------๐Ÿ˜› -------------๐Ÿ˜ƒ-------------๐Ÿ˜„-------------๐Ÿ˜› -------------๐Ÿ˜ƒ-------------๐Ÿ˜› -------------๐Ÿ˜ƒโ€” 1. Create a project using laragon Open laragon and start creating a new architecture ...

Posted on Fri, 05 Jun 2020 09:49:10 -0700 by racer x

Laravel generate Word document - phpword

In the actual development or learning of a project, there is a need to export data to generate word documents. Here we use the elegant and popular laravel framework to simply teach you how to implement it. phpword, which can easily generate word documents, can also add tables, directories, pictures, hyperlinks, headers ...

Posted on Sun, 03 May 2020 15:06:33 -0700 by Ibnatu

Data sharing of Swoole multiprocess through Swoole\Table

Third party storage media Previously, we introduced the Process and Process\Pool modules based on Swoole to realize multi Process management in PHP. However, in the multi Process mode, processes are isolated from each other and cannot share data and variables. Even global or super global variables defined through global are only valid in their ...

Posted on Fri, 24 Apr 2020 05:42:16 -0700 by slewis1959

Laravel admin from entry to discard (2. ueditor implements image upload and upload restrictions)

1, Install ueditor Find the ueditor through the official extension https://laravel-admin.org/extensions, install it according to the document, and perform basic configuration operations. The rest has nothing to do with the document (no objection) ย  Here is the upgrade configuration 2, Editor toolbar configuration Configure according to the ...

Posted on Wed, 22 Apr 2020 08:19:19 -0700 by rich11

linux uses grep condition to search lines of large files and other operations

I. Preface When you need to query large log files recently, you will get stuck every time you open vim, cat, etc., but you need to check how many rows of data meet the conditions, which worries me. Here are some common matching query commands. 2, Common search commands 1. grep search grep parameter filename | he ...

Posted on Sat, 11 Apr 2020 00:18:02 -0700 by kpulatsu

[PHP open source class library] simple excel - a reading and writing tool for Excel and CSV files with elegance and performance

This extension package allows you to easily read and write simple Excel and CSV files. Use generators in the background to ensure low memory usage, even when working with large files. This is an example of how to read Excel or CSV. SimpleExcelReader::create($pathToFile)->getRows() ->each(function(array $rowProperties) { // pr ...

Posted on Sat, 28 Mar 2020 05:03:36 -0700 by Thresher

Verify user when Laravel admin calls api, Laravel guard uses correct posture

What is a Guard? Guard is an important part of the permission authentication component of the Laravel framework: 1. Your application may be divided into front-end users and back-end management users. 2. Your application may be both a traditional php rendered html application and an api interface service for other applications such as Android mo ...

Posted on Thu, 19 Mar 2020 19:05:56 -0700 by ijmccoy

Laravel event asynchronous example

It was sorted out yesterday Event mechanism of Laravel Today, I want to verify its asynchronous operation. 1, preparation 1.1 create Event and Listener respectively, \App\Events\Test::class => [ \App\Listeners\TestA::class ], app\Events\Test: <?php namespace App\Events; use Illuminate\Broadcasting\Channel; ...

Posted on Mon, 16 Mar 2020 22:10:07 -0700 by ud2008

Event mechanism in Laravel

Laravel Events provide a simple observer mode implementation that allows you to subscribe to and monitor events in your application. Event classes are usually stored in the app/Events directory, and listeners are stored in the app/Listeners. Events provide an effective solution for decoupling application modules because a single event can hav ...

Posted on Mon, 16 Mar 2020 10:22:55 -0700 by dastaten

PHP+swoole to realize the function of chatting and mass sending

This article mainly introduces PHP+swoole to realize the function of chatting and mass sending. I hope it can be helpful for you if you are interested in it. php code: $serv = new swoole_websocket_server("127.0.0.1",3999); //Basic settings of service $serv->set(array( 'worker_num' => 2, 'reactor_num'=>8, 'task_worker_num'=>1, ...

Posted on Mon, 06 Jan 2020 03:35:49 -0800 by kaitan