Laravel basic tutorial-Introduction to the SSH task Envoy task runner
Laravel Envoy provides a mini-concise syntax for defining and executing common tasks on the remote server. You can use the Blade syntax to easily set tasks for deployment and Artisan commands. Currently, Envoy only supports Mac and Linux operating systems.Install
First, you need to install Envo
Laravel 5.5 officially recommended Nginx configuration learning tutorial, laravelnginx
Preface
This article mainly introduces the official Nginx configuration recommended by Laravel 5.5, and shares it with you for your reference. I will not talk about it here. Let's take a look at the detailed introduction.
Laravel 5.5
online environment, how should you create a custom view for HTTP exceptions? Don't worry, Laravel has done a thorough deal for us:error Page viewIf you want to create a custom view of HTTP exceptions such as 404, 403, 500, you resources/views/errors can simply create a page view file that corresponds to the error code in the catalog. For example, to define the above 403 exception custom view, you can create resources/views/errors/403.blade.php a file
The previous version of Laravel was to use the PHP file under the Config folder to complete the configuration required for the project, followed by the use of. Env to place the partial configuration from about 5 onwards. Then the following article mainly introduces you to the PHP framework laravel. env file configuration related information, required friends can refer to learning.
Objective
Everyone should
Laravel container delay loading and auth extension details, laravelauth. Laravel container delay loading and auth extension Details. laravelauth wrote an Auth extension according to the manual tutorial yesterday. according to the packet independence principle, I do not want to add Auth: extend () laravelauth
I wrote an Auth extension according to the manual
Laravel Tutorial Eight: Queryscope and SetAttributeThis article is original article, without consent, prohibit reprint.
Laravel
Eloquent
Database
Just as we said in the previous section, let's talk about the use of Queryscope and setattribute in Laravel.About the application scenarioFirst of all, I want to tell you a little bit about the app
Laravel container delay loading and auth extension
Yesterday follow the manual tutorial, write a auth extension, according to the principle of package independence, I do not want to auth::extend () This method written in start.php, no doubt, I chose to register the extension driver in the service Provider register () method. However, it backfired ...
Discover problems
When I write this in the Loauthservice
Laravel-based migrate tutorial, laravelmigrate
Preface
As we all know, the current development and testing are completed by collaboration among multiple teams. Everyone has a local environment. In the past, we generally manually add data, for example, you can use SQL statements in the database queryserver to insert data. If there is a small amount of data, it would be quite easy, but if the data is too larg
This article mainly introduces how to install endopcache accelerator in laravel. if you need it, refer to the following article page as an example. through chrome packet capture, the waiting time reaches 147 ms. before cache optimization, there are about four SQL statements on this page, and the speed is only about 15 2 ms, the difference is not big, so I decided to install zend opcache to accelerate php.
After I installed zend opcache on the server,
Laravel learning tutorial model validation example, laravelvalidation
Preface
This article mainly introduces the use of model validation in Laravel learning and shares the content for your reference. I will not talk about it much below. Let's take a look at the detailed introduction.
Before writing data to a database, validate the data. For example, type-check de
Take the article page, for example, through the chrome capture package, waiting time to 147ms, in fact, before the cache optimization, this page about 4 SQL statements, the speed is only about 152ms, the difference is not small, so I decided to install Zend Opcache accelerated PHP.
When I installed the Zend Opcache on the server, and then tested, waiting has dropped to 68ms, the effect is obvious.
It is also necessary to install such PHP accelerators for the So,
Take the article page for example, through the chrome grab package, waiting time to reach 147ms, in fact, before caching optimization, this page has about 4 SQL statements, the speed is only about 152ms, the difference is not small, so I decided to install Zend Opcache accelerated PHP.
When I installed the Zend Opcache on the server, after testing, waiting has dropped to 68ms, the effect is obvious.
It is also necessary to install this type of PHP Accelerator for the So,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.