Laravel6 for third-party WeChat login

At present, many websites will have a lot of interactive functions, which reduces the user's operational difficulty, thus bringing the third-party login of WeChat to the project real-world function development.For the development content in this example, instead of using native content, use the encapsulated class libraries written by others dir ...

Posted by johnoc on Tue, 24 Mar 2020 19:58:08 -0700

php uses the ordered set zset of redis to implement delay queue

Delay queue is a message queue with delay function. Compared with ordinary queue, it can consume messages at a specified time. Application scenario of delay queue: 1. New users sign up, and send e-mails or on-site letters in 10 minutes. 2. After the user places an order, the order will be automatically voided if the payment is not made withi ...

Posted by DJP1986 on Sat, 21 Mar 2020 10:15:02 -0700

Laravel + Serverless Framework to quickly create CMS content management system

Today, I will bring you a comprehensive practical battle of Laravel + Serverless Framework. There is a bit more information in it. Please take a closer look First of all, let me introduce the main local environment: Git: not much, as long as you can knock the code, you should know Node.js: due to Tencent cloud Serverless Framework The main pro ...

Posted by ripcurlksm on Tue, 25 Feb 2020 19:19:28 -0800

Preparations for the newly downloaded laravel as an api service

If laravel is the back-end api framework, what initialization operations are required for the newly downloaded laravel? Set time zone and language config/app.php > 'timezone' => 'PRC', //time zone 'locale' => 'zh-CN', //Application locale configuration // Other configurations not available ...

Posted by VertLime on Tue, 25 Feb 2020 05:17:26 -0800

Laravel + laravel admin build website background

  Local environment: laravel version: Laravel admin version: Laravel admin excellent expansion pack!!   1, Install configuration laravel 6.11.0 1. installation composer create-project --prefer-dist laravel/laravel blog 2. changing the time zone 'timezone' => 'PRC' 3. change the l ...

Posted by Trojan on Sun, 19 Jan 2020 02:56:59 -0800

Use laravel framework and phantomjs for screenshots

Many of the screenshots you see on the web about phantomjs are used in conjunction with node s and require input commands to execute.So I want to achieve the function of entering a web address to take a screen and output pictures.Example: http://120.77.171.182:8080/laravel&phantomjs/public/, you can ...

Posted by lawnmowerman on Sat, 18 Jan 2020 17:20:32 -0800

IOC container and dependency injection of Laravel

We combed before Laravel inversion of control and dependency injection In this article, we combine the Laravel framework to see how it is implemented. 1. Entry document <?php /** * Laravel - A PHP Framework For Web Artisans * * @package Laravel * @author Taylor Otwell <taylor@laravel.com> */ define('LARAVEL_START', ...

Posted by ConcreteDJ on Fri, 17 Jan 2020 06:54:21 -0800

Laravel task scheduling

Here is an example of Laravel task scheduling. For related methods, please refer to: http://laravelacademy.org/post/8484.html 1. make:command generate task php artisan make:command MigrateData After executing the above command, a new Commands directory will be created in the Console directory, which contains a MigrateData. ...

Posted by alan007 on Wed, 01 Jan 2020 12:44:13 -0800

Configure crontab in Docker container (daocloud + Docker + larave5)

Recently, the project involves the function of a scheduled task, so I have studied the usage of crontab in recent days, and successfully opened this function on my computer according to the related online tutorials   Laravel + crontab Add crontab configuration 1. Execute command $ crontab -e   2. Add the following (path/to is the applicatio ...

Posted by lmhart on Wed, 25 Dec 2019 10:38:55 -0800

PHP uses yansongda/pay to pay Alipay and WeChat

Pay This document is v2.x version, if you want to find v1.x version document, Click https://github.com/yansongda/pay/tree/v1.x Note: v1.x is incompatible with v2.x version After developing Alipay and WeChat Payments several times, it is natural to have a feeling of disgust and inertia. I want to find the wheel related on the internet, but I ...

Posted by MarcB on Wed, 18 Dec 2019 19:59:07 -0800