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

Video of PHP tips

major function Record your actual call operation and call again where you wantJust like anonymous functions, temporary storage of your call operations is generally used for chain calls, and then it actually works on the object you want to operate onIt's like I didn't say it Usage scenarios If the laravel project uses the warehouse mode, then fo ...

Posted by MobiTec on Thu, 05 Dec 2019 13:22:53 -0800

laravel5 integrated alipay Alipay scan code payment process (Laravel payment solution)

First of all, we will discuss how to use Alipay to pay in Laravel applications. For this, there are many related packages on GitHub, among which the two most popular packages are Omnipay For Laravel 5 & Lumen and Laravel AliPay. Laravel Alipay is used to illustrate the case: Preparation: Alipay account / ant gold service open platform accou ...

Posted by Rollo Tamasi on Wed, 04 Dec 2019 05:01:39 -0800

Chat rooms with Swoole+React

Front-end separated projects, chat rooms implemented by Swoole+React, the framework structure of the entire project can be referenced, front-end react+react-redux+react-router+react-ant, etc. Background uses easySwoole to implement the middleware (data encapsulation, token verification, signature verification) by itself, and carefully look at t ...

Posted by magmazing on Sat, 23 Nov 2019 01:45:57 -0800

How to use multiple Guards in a Laravel application

The article was forwarded from the professional Laravel developer community with the original link: https://learnku.com/laravel/t... If you use Laravel For a while, you should have heard a lot about multiple identities.You should also have heard a lot about certification watchers.However, if you are unfamiliar with Laravel, multiple authentic ...

Posted by ThEoNeTrUeAcE on Mon, 18 Nov 2019 19:21:46 -0800