Laravel 5 framework entry (1): laravel framework entry
Laravel 5 Chinese document:
1. http://laravel-china.org/docs/5.0
2. http://www.golaravel.com/laravel/docs/5.0/
Default Condition
By default, you already have a well-configured PHP + MySQL runtime environment to understan
[Laravel] Basic use of laravel, laravel use
[Laravel] Basic HTTP routing for Laravel
Use Laravel's basic route, implement GET request response, find file app/http/routes.php
Call the route's static method get (), implement get response, parameter: path of type string, anon
[Laravel] basic database operations of Laravel, laravel database. [Laravel] basic database operations of Laravel. find the program directory structure in the database configuration of laravel database [
Laravel First lesson: Laravel Download and install, Laravel first lesson
Local installation laravel,php environment to be configured, it is recommended to xmapp a key to build.
1, the package directly from the official download, the official open source address: https://github.com/
package three-step explanation"7, http://www.cnblogs.com/einyboy/archive/2012/09/13/2683015.html "Explain installation src.rpm"8, https://yq.aliyun.com/articles/43220 "How to make the source package into RPM package" later wrote a new blog post9, http://www.gkstk.com/article/wk-78500000726568.html "Linux software package management basic Operations Command get Started"10, http://studys.blog.51cto.com/9736817/1608958 "must See, software warehouse explanation"11, Http://os.51cto.com/art/201109/29
package, meta-package and frameworkThis article is translated from Packages, Metapackages and Frameworks. . Net Core is a platform made up of NuGet Packages. Some product experiences benefit from fine-grained definitions of code packages, while others benefit from coarse-grained definitions, both of which are useful and cannot be absolutely good or bad. therefore
Laravel 5 framework learning-Introduction to Laravel and new projects, laravel new project
This series of articles is the notes of the Getting Started series of videos in laracasts.com. I have made some modifications and can refer to this series of articles to learn about Laravel 5. The original video author is Jeffre
Laravel 5 Framework Learning Laravel Introduction and New project, Laravel new project
This series of articles is a laracasts.com in the introductory series of videos, I made some changes, can refer to this series of articles to learn Laravel 5. The original video author is Jeffrey, thanks here. I'm using a Mac system
The two days of the project need to convert
HTML pages to PDF file for easy printing, I searched the internet a lot of
information. Have tried laravel-dompdf and laravel-snappy two kinds of
expansion pack, personal feeling laravel-snappy more useful.
First, using the Laravel-dompdf expansion
pack
1. Install
Phpstorm installs the laravel extension. the laravel code prompts the plug-in Phpstorm to install the laravel extension. the laravel code prompts the plug-in.
1. install the laravel plug-in
2. configure the laravel plug-i
Data-id= "1190000004980370" data-licence= "" >
Phpstorm Installation
Phpstorm Use Codex--Install look here
Code Auto Prompt Support
Laravel introduced to laravel-ide-helper provide support for Phpstorm
composer require barryvdh/laravel-ide-helper
Add the following code toconfig/app.php
Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,
Build related conte
Laravel 3: laravel queue usage tutorial, laravel queue Overview
Concept of queue: a solution that is unknown. (PS: laravel version: 5.1)This situation is often encountered during app server development:
A large task can be divided into 1, 2, and 3 small tasks. 2 of them depends on 1 and 4 of them. Therefore, 1, 2, a
1. Defining the correlation model
In Laravel, we can complete the correlation query by defining the following model.
Class MyPost extends eloquent {public function Mypostinfo () { return $this->hasone (' Mypostinfo ');} } Class Mypostinfo extends eloquent {}
2. Using the correlation model
myPostInfo()the Camel naming convention is used here, but we can use the snake rule when reading a postinfo. The following code is possible:
$post = My
as commands. For more information about commands, you can view the detailed documentation for the command bridge.
Database queues
The new laravel contains a database queue driver that provides a simple, local queue driver without installing additional packages. (for example, to allow a database that does not support transactions to perform a transaction-like data operation)
many Laravel-related application projects. you will not tell me that there are many such projects on GitHub, the development and credit of the Git community in China cannot be ignored because GitHub is famous. GitOsChina is now also an influential Git Service community in China, the promotion of Composer will inevitably lead to the increase and bad use of various dependent packages of the project, so that
Laravel 3 ways to write your own class library, Laravel class library
Although composer allows us to reuse many existing class libraries (for example, packagist.org), we may still use packages or class libraries that are incompatible with composer. Also in a project, we may create a class of libraries, and may not be prepared to become the composer package. At t
installation command in the code/directory:
Composer Create-project Laravel/laravel Blog
The above command usually takes some time to complete the installation of Laravel (please use a VPN), take this opportunity to say composer a little bit of knowledge.
The above command is to use the composer Create-project command to create a new project, the name of this
obtain other services provided by pusher such as verifying channel subscriptions, querying program status, and so on. With Laravel Event broadcaster, however, you can decouple the module and switch services quickly when there are other better push packages. You can choose the appropriate method.
2.7 Debugging Pusher server-side Integration Pack This section mainly covers debugging using the
Laravel Elixir is a magic package for simplifying processing Gulp. For unfamiliar people, Gulp is a JavaScript task runner that allows you to automatically build tasks. It can be used to compile CSS, connect and minimize JavaScript, and more other tasks.Gulp is designed to become a faster build tool by using node streams than previous build tools, while Laravel Elixir encapsulates Gulp and makes building ea
will get this pile of directories:
We mainly operate models and controllers and views of these three directories: this is the composition of MVC Ah!
2. Installing bootstrap
Then the command line executes:
Copy the Code code as follows:CD Laravel/public/packages
The laravel here corresponds to the application directory above, if you use other names when installi
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.