How to develop a simple Laravel package locally

preview_player
Показать описание
In this 15 minute video, I'll show you how I developed a simple Laravel wrapper package that makes calls to an external API.

You'll learn how to:

- Structure a basic Laravel package
- Set up a service provider and associated class
- Install the package locally to a Laravel app with composer
- Create a config file to store user-defined values

Рекомендации по теме
Комментарии
Автор

This is most useful video after three years also. Thank You.

sushilmore
Автор

Excelent video, well explained, good pace, straight to the point.

julianc
Автор

This is exactly what I was looking for.

dibbyo
Автор

I am using your video to do my own package... Thank you for this.

JohnnyBigodes
Автор

fast, simple, informative, thank you <3 <3 <3

fizoul
Автор

You earned a subscription here. I love the way you teach.

blessdarah
Автор

Awesome video, love stuff like this! 👌

JellyLancelot
Автор

Great video, it's really helpful!

longwen
Автор

Great laravel pedagogy, you should upload more frequently. Thanks for sharing.

micosair
Автор

Great video, thank you... any chance of a follow up showing how to use phpunit to make tests for a package like this?

jonno
Автор

Great tutorial! Thanks, subscribed on you

ZETNS
Автор

Good content and very condensed without all the mumbo jumbo. One request, please increase the font size and have a lighter theme for your IDE. Some of the text in darker color are hard to read.

ashG
Автор

So good Andrew, thanks. #LoveYourWork

MrWilde
Автор

Hi Andrew
I follow your instructions but it could not install my package in local, should I add it on Github and then run this composer update or required?

MuhammadAshraf-vjsr
Автор

Good one but my question is can on create a laravel package that can render some Vue component like creating a package that can work in inertiajs

adedayosule-odu
Автор

When I create the repositories key in the composer.json my IDE screams the following

Should have at least one of the following property sets: properties 'type' = composer, 'url', properties 'type', 'url', properties 'type' = path, 'url', properties 'type' = artifact, 'url', properties 'type' = pear, 'url', or properties 'type' = package, 'package'

It wants to add type and url to the require and requireDev blocks....wut why

SanderCokart
Автор

Where would I go to find a few good examples of a Laravel package?

QuentinWatt
Автор

Can all the videos also be in 480p? It's 360p or 1080p.

naimalum
Автор

Nice stuff.. can you share your IDE set up? it is pretty cool.

reubenwedson
Автор

Very cool, how do you record the videos? Are you really typing that fast ? Great job !

peace