Multi-level actions of laravel-admin

The framework of laravel-admin has been defined for multi-level actions that can be viewed on the official website. It will not be repeated here. However, when using it, it is found that the function is slightly different from what you want. It is not useful when you first enter the default, so you change it and add ...

Posted by gabaod on Sun, 19 Jul 2020 07:24:26 -0700

Picture deletion for laravel-admin

There is a deep doubt about laravel-admin's picture upload mechanism. Deleting avatar pictures on the user information page will cause an error. It was 1.4 at that time, and later updated 1.5 found that the delete button disappeared directly. If you use image normally in the form during the process of use, the slight ...

Posted by Permutant on Sat, 18 Jul 2020 07:40:26 -0700

A quick tutorial of building server project based on Hunt Framework 3.2.0

Hunt Framework is a full stack Web framework developed in D language, similar to Laravel / SpringBoot / Django, etc., which enables D language developers to create projects quickly. The built-in super multi business specifications are convenient for developers to use out of the box, and convenient for managers to review project code more easily ...

Posted by jesse_james on Thu, 18 Jun 2020 02:11:58 -0700

Decorator pattern of PHP design pattern

The factory model is over. Let's study some other models. I wonder if you guys have tried women's clothes? It's said that there are many programmers in women's wear. In fact, today's decorator pattern is very similar to that of make-up. I believe that if there is a program in MM, I will be able to expla ...

Posted by ChrisBoden on Tue, 16 Jun 2020 20:21:21 -0700

Using the UUID tutorial gracefully in Laravel 7

Recently, I had to implement universal unique identifiers (UUIDs) in Laravel 7, and encountered some problems. I hope this post can help other people who are doing the same thing. Advanced reasons for using UUIDs A) They remove the ID number from your uniform resource locator, so users can't see how many specific objects your app has created. F ...

Posted by heals1ic on Tue, 26 May 2020 09:14:59 -0700

php get form data

php form embed php code in Web page 1. Add PHP script to HTML tag   In the process of Web coding, PHP is an embedded language that can be mixed with HTML. You can add PHP script tag <? PHP...? > to HTML at any time. All the text between the two tags will be interpreted as PHP, and any text outside the tag will be considered as ordinary HT ...

Posted by sell-traffic on Sun, 24 May 2020 18:54:52 -0700

laravel5 route changed to rule matching

laravel has many projects in use, but routing configuration is an indispensable work. In many cases, routing configuration not only increases the repetitive work, but also increases the code overhead. When the project reaches a certain level, the number of routing configurations will be amazing. In many cases, we have to think that although th ...

Posted by ben2468 on Mon, 11 May 2020 00:57:47 -0700

Use hasMany of Laravel Eloquent to develop infinite classification

In the online shopping mall, we can often see multi-level classification, sub classification and even unlimited classification. This article will show you how to implement it gracefully through Laravel Eloquent.   We will create a micro project to show the classification of children's shops, with 5 levels in total, as follows: Database migrati ...

Posted by nitram on Mon, 11 May 2020 00:03:54 -0700

Using Laravel to integrate JWT certification to develop RestfulApi

API is a good choice when using cross platform applications. In addition to the website, your product may also have Android and iOS applications. In this case, the API is just as good because you can write different front ends without changing any back-end code. When using the API, just click GET, POST or other types of requests with some param ...

Posted by beachcomber on Sat, 09 May 2020 01:20:36 -0700

Laravel - hands on Implementation - email

Laravel has its own SwiftMailer library, which integrates a variety of email API s and can easily send emails. We use the SMTP (Simple Message Transfer Protocol) simple mail transfer protocol, which is generally understood as the mail sending server. 1. Open POP3 and SMTP services 1.1. Here we take QQ email as a case Settings - > account - & ...

Posted by Dimitri89 on Fri, 24 Apr 2020 19:47:03 -0700