When we use Lumen projects, we create a route, associating the Request method, path URI, and execution action to parse the Request. Convert $action to...
Thus realize the preliminary screening of data. Isn't it weird to mix data validation, validation rules, and controller logic processing code? We say that an...
Create a user activation table, the user fills in the registration information, after the completion of the verification of registration information, after passing, the registration...
A robot based on wechat Web API can achieve a variety of customized effects through anonymous functions, including group control, automatic reply, message forwarding, anti-recall,...
This article is from Pilishen.com. Welcome to php&Laravel with Pilishen 109256050 here's a list of links and directories that are often used to get started...
1. Install the Laravel project. Download the previous project and complete the installation. We need a User model (shipped with Laravel), a Post model and...
PHP is one of the most popular programming languages in the world, and the recent release of PHP7 has made this server-side programming language more...
Has been replaced by bundles of communications carried on fiber-optic cables. At the same time, E-mail brings the intrusion of junk information. With the popularity...
1. Register the events global object in the container. $this-> Wildcards; otherwise, $this-> notice $notice [$event] is the result of the closure. . Go back...
First, the constructor queries with ->toSql() at the end of the concatenation to get the currently executed SQL statement. 1. Table () method: introduce the...
Laravel is a feature-rich framework. However, you won't find all the features available in the official documentation. Here are some features you may not know...
The main implementation is to read laravel providers from all package composer. Json files. With the introduction of this feature, many packages do not need...
Data in the Questions table is obtained in pages through page and size fields in interface parameters. App\Http\Resources\Question as ResourcesQuestion; Returns after the resource class...
We all know that Laravel's IOC Container can automatically resolve dependencies, which is amazing, right? What is the implementation principle behind it? What's rocket science...
The operation of the database is divided into criteria Repository and Transformer by process, and allows various events to be bound to processes executed by...
Custom (overload) Change the default 9 tables to the database in config/admin.php with the laravel_ prefix. So you use the resources/views/admin view under the covers...
$app is a container management tool. It is responsible for the instantiation of all service components and the management of the instantiation life cycle. The...
If the variable contains HTML markup information, the HTML markup is converted into symbolic entities in the output, but the browser does not parse the...
Forgetting passwords is one of the most common scenarios in an application, and Laravel 5.1 also provides support for password resetting, which is easy to...