An example of custom package development in laravel5.4

01-28-2024

This article is about how to develop custom packages in Laravel 5.1. The steps are clear and have certain reference value. I hope I can help friends in need. 1. Install Laravel

Skip this step if Laravel is installed, and refer to Laravel installation document: Laravel 5.1 installation and configuration for those not installed.

2. Create directories and service providers

Create the folder packages/jai/contact/src in the root directory.

Enter the src directory and create a service provider ContactServiceprovider.php:

Copyright Description:No reproduction without permission。

Knowledge sharing community for developers。

Let more developers benefit from it。

Help developers share knowledge through the Internet。

Follow us