WeChat Third Party Platform Web-wide Publishing Detection

First thanks easyWechat Author, provides a very useful SDK! Next thanks Feishan Snow Leopard Although I took a lot of detours after reading this post (I was too foolish), without this post, I just looked at the WeChat documents and had no idea at all. Finally, greet the author of the WeChat document!!! WeChat posted the detected documen ...

Posted by renesis on Fri, 03 Apr 2020 18:22:05 -0700

Encapsulate URL attribute in Eloquent to manage routes in view uniformly

It's not uncommon to have dozens or even hundreds of views in a Laravel application. Soon the route management used in the view will be out of control. Imagine how many of these things you did in the view. <a href="{{ route('users.show', ['id' => $user->id]) }}">{{ $user->name }}</a> If you want to modify the routing name ...

Posted by gewthen on Thu, 02 Apr 2020 18:35:43 -0700

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