How to create a Laravel package full tutorial

Опубликовано: 30 Октябрь 2024
на канале: LaraPhant
1,157
28

In this video we will create a contactform laravel package. We will save the user queries in the database and also send an email to the website admin informing them of the query. We will upload our package to gitHub and publish it in packagist. We will attempt to use our package in a new laravel application just to confirm that everything works well

00.00 intro
01:00 initial setup
13:38 create routes
16:29 load routes from service provider
17:58 creating controller
21:33 creating views
23:03 load views from service provider
24:09 add view to controller method
25:56 create form
27:52 submit form
30:17 validation
31:36 Model and migration
45:25 flash message
48:24 create and publish configuration file
55:25 sending email
01:11:54 publishing package
01:18:08 installing our package in new Laravel application

Channel:    / @laraphant  
Twitter:   / misikowilliam  
Facebook:   / williamjumamisiko