When developing with Laravel or other frameworks, it is common to create a Model base class that all models inherit from. However, the Model created...
Re-build the new Laravel project, find the previous Laravel Passport notes, quite an important point of knowledge, the blog did not remember, make up! Password...
Run composer install to install dependencies. You can skip this step if you use lumen new. Next, you should call the LumenPassport:: Routes method within...
The storage_path() and public_path() helper functions return the full path to the storage and public directories. Storage_path () Is the full path of the storage...
Based on Laravel 5.2, this article mainly introduces how to transform user authentication for multiple sites, in order to maximize the use of Laravel's own...
The installation environment is difficult to achieve orthogonality, and the various technologies in the environment are also in healthy rapid iteration. The specific installation steps...
Table structure changes after processing. And how to populate the database with some pseudo-data as a test. In the previous chapter on database migration rollback,...
Gates is a closure function used to determine whether a user has permission to perform an action. Define the Gates are usually defined in AppProvidersAuthServiceProvider....
Describes how pipes are actually used from a code perspective. The description of the pipeline, there is more space on the Internet to introduce, check...
Q1: What is Laravel? Laravel is a free open source PHP Web framework created by Taylor Otwell to develop Web applications that follow the Model-View-Controller...
Instead of building tables and models, get right to the point! There we go, tabsControllers, we're done! If you have anything to add, please discuss...
Apis are a great choice when working with cross-platform applications. In addition to the website, your product may have Android and iOS apps. In this...
Create the project according to phP-Laravel and run it on the server (nginx, Apache) (with directory structure). The user request is submitted to the specified...
Elasticsearch is an open source search engine based on Apache Lucene(TM). Lucene is considered to be the most advanced, high-performance, and full-featured search engine library...
Use an authentication listener to listen for an authentication event, throwing an httpResponseException in the authentication listener. When I logged in, the triggered authentication event...