Laravel is a very popular and easy-to-use PHP framework that provides a number of basic tools (such as RESTful routing, built-in ORM, templates, etc.) that enable you to quickly create apps. This means that you can spend less time building the template for your application, giving you more time to write your Web application.
Here's a list of 10 essential Laravel 4 expansion packs that can introduce a lot
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
(' images/watermark.png ', ' bottom-right ', 15, 10);//Save the processed picture back to the other path $img->save (' Images/new_ Avatar.jpg ');/* The above logic can be done by chaining expressions */$img = Image::make (' images/avatar.jpg ')->resize ("->insert") images/ New_avatar.jpg ', ' bottom-right ', 15, 10);
4. Featured Features
In addition to the basic usage described above, this expansion
development.ArdentArdent enables data validation to be done in the model, rather than in the view, which can obviously reduce redundant repetitive data validation.Debug Bar (Laravel Debug bar)The PHP Debug Bar project is undoubtedly a huge success and you don't have to write var_dump everywhere. The Laravel Debug bar extends the component to include routes, views, events, and more.This makes debugging easier, faster, and more efficient for your development.ConfideAuthentication module, includin
provides a number of functions and methods that enable us to process data quickly and easily.There are several data structures in the pandas:1, Series: one-dimensional arrays, similar to one-dimensional array in NumPy. The two are similar to the Python basic data Structure list, the difference is that the elements in the list can be different data types, and the array and series only allow the same data types to be stored, so that more efficient use of memory, improve the efficiency of operati
();if (message==null) { throwneweslf4jexception ("Messageshouldnotbenull"); }if (Message.contains (debug_sign)) { // return false will not be cached, nor will it print returnfalse; }returntrue;}
2)Memorymanageris the other one . extension point, buffersize, Defaultmemorymanagerimpl clears the log cache for some threads, which guarantees space availability, but may lose the context log for some thread caches, so if you use the default DEFAULTMEMORYMANAGERIMPL best configured Count and buff
.
You can also publish the configuration of the expansion pack for subsequent customization of related table names and the namespace of the model class:
PHP Artisan Vendor:publish
The command creates a entrust.php file under the Config directory.
3. User Role Permissions Table
Next we use the migration command provided by entrust to generate the migration file:
PHP Artisan entrust:migration
Then gene
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.