Thanks for not skipping the debugging parts. Those are too very useful and learnt something from that because we also face same issues like you. Awesome tutorial and not skipped any second. Watch all 1 hour. :)
That video clear all my doubts about why we registered service providers in app.php and how config.php use thanks for this video i really appreciate your efforts
Thanks for sharing. I just started this tutorial, but when I added my provider to the app.php file, this error occurred. In ProviderRepository.php line 208: Class 'Sunshine\Contact\ContactServiceProvider' not found I did some debugging, such as checking all of the namespaces and autoload section from the package composer file, removing the boostrap/cache/package.php array object, removing the vendor folder, and trying again. Nothing has been done to resolve the issue mentioned above. Do you have any idea what went wrong? I would really appreciate it. Cheers!
Thanks for your love and support, keep learning. Follow bitfumes on twitter.com/bitfumes or facebook.com/Bitfumes to get the latest updates. bitfumes.com
I'm not that experienced in Laravel package development but I think it could be good practice to have packages\bitfumes\contact directory Following your tutorial - which is very nice to follow - I then struggle in converting this method to the composer + local repository + require method for a package, which is shown by a lot of others tutorials. To use the local packages with composer, it seems necessary to have the complete directory chain.
hello sarthak howcan we regiter service providers dynamically. So I have this requirement. I am working on one multi tenancy saas. I will have multple packages installed (same like wordpress plugins). I want to register service providers in runtime after tenant resolved. To explain to more let's say I am working on crm and I have 2 tenant one with free plan and one with paid. and In Resolvehostserviceprovider.php I resolved current plan and tenant. how can now 'hook' extra service providers.
You created routes/web.php in the video. What if my package has both web & api routes. I tried by making routes/api.php and calling it separately in the boot function but doesn't seems to work.
Their is an issue i am facing laravel documentation provided loadViewsFrom and same for routes, and migrations etc but how will copy Commands file? just like views, routes i created folder with name of Commands and inside that i created my commands file. but i am unable to load it inside src/provider file. incase if i did some hardcoded path i am sure this is not gonna work incase if i publish app to vendor. can you please help.
Great video, one step you missed in your video is how to include another required package. I tried using composer require in my package folder, but it seems the included package namespaces are not recognized in vscode, do i need to do something with the autoload section of composer.json in the package?
Can you help me please. I have created a laravel package as your tutorial and publish it to packagist. My package is working fine in my local but whenever want to install package it show an error that my services provider class doesn’t found. though i have include namespace in composer.json and autoload service provider class
Great work thanks for this tutorial. But will you let me know why Auth::user() is not working inside the package ? I am trying to allow for only logged user but Auth::user() giving me null value.
Would be nice, to follow up with how to add unit tests to your package, maybe making version 1.1 via TDD, and thanks for taking the time to make these.
If you want to illustrate with something small, just, use TDD to add validation to this package in the same way. Configuring the feature/unit tests and then start with an_email_required, and then an email_must_be_valid etc... mock out a quick mail test and then anything else you can think of to keep it both extremely simple, while also showing the process of setting up php_unit. Maybe talk about how you can implement tests and why they don't conflict with the domain driven TDD that the app will have. Maybe run it through a CI and show github pull requests and how to make a valid contribution to a project. I think that this is huge barrier that keeps most developers from creating and contributing to packages. If you are looking for a multi scree cast option, that lends itself to packages, I'd do something like a shopping cart that using cookies for guests and show the process of converting that to eloquent models for signed in users. As a contribution, you might think about adding instance functionality, like changing the regular cart to now be able to also have a separate buy later and wish list instances. What you would want to see in peoples PR's. squashing commits proper testing. Those are just ideas on the opposite side of the spectrum. I think this was a great video on getting people into composer packages. I just think it needs to go farther before people can really utilize it. Thanks again for the great content you provide. I try and leave laravel/JS/ Vue video/audio content running in the background while I work, and I have great respect for people that take the time to put their contributions out there.Especially when they are so clear and effective.
Hey thanks for this details view, I got your point and will create a series on that. Thanks for sharing your views. People like you are really encouraging and pushing me forward for doing this. Really thanks.
Do you have a video where you add other plugins to your package. Sample I create a crmcore package and it needs a user interface so I want to add AdminLTE admin template because its a good template. How can I add and publish all the assets? Many thanks. Cheers.
Thank you for the fast reply. I've bee struggling the last two days with it and eventually got it to work. The documentations is very clear but if you write an auth package it will not translate it. So I eventually changed it to $this->loadTranslationsFrom(__DIR__.'/resources/views/lang/', 'authtr'); and now it works fine. Think it's got something to do with the word auth.
Hello sir, I followed exact steps as you done but i got error-> Class 'kanchan\contact\ServiceProvider' not found why this happens please explain => and i also doubt related to how to create author names in packages . In this video you had already created.
you have done some mistake in either registering service provider on auth.php or in composer.json file. Please check and if not corrected then message me on facebook
I just created my first ever package in Laravel, all thanks to you !
You are Awesome Sarthak.
There is no such a best and perfect single tutorial of package in youtube.
Thank you so much.
Thanks for not skipping the debugging parts. Those are too very useful and learnt something from that because we also face same issues like you. Awesome tutorial and not skipped any second. Watch all 1 hour. :)
Thanks for watching bro, please support by sharing this video and like Bitfumes on facebook to get latest updates.
That video clear all my doubts about why we registered service providers in app.php and how config.php use thanks for this video i really appreciate your efforts
Very very easy explanation for package development stuff.. lots of love and power to you. Make us inspire. Love from India🇮🇳
Never seen a video that explains it so well as this one. Thank you alot :)
great great great you are explain every things thanks you
Thanks and welcome
Very Well Explained. From Creation to Publishing on Packagist.
Please rly i am stuck in a vital office project from my end in github can't get the tab to add services
You made my laravel journey easy and interesting
I really like the way you explain things. Its clear and not boring. Can you tell us also the plugins you are using in Visual Studio code?
I watched a lot of tutorial but yours is the best i hope you do update whats new about packages
This is the absolute best tutorial
Great work! Always joy watching and following your tutorials
Thank you! Cheers!
The way you explained is awesome!!!
Great video! Thanks for walking me through my first Laravel package!
The way you explained is awesome 👌👌
Thanks for sharing.
I just started this tutorial, but when I added my provider to the app.php file, this error occurred.
In ProviderRepository.php line 208:
Class 'Sunshine\Contact\ContactServiceProvider' not found
I did some debugging, such as checking all of the namespaces and autoload section from the package composer file, removing the boostrap/cache/package.php array object, removing the vendor folder, and trying again.
Nothing has been done to resolve the issue mentioned above.
Do you have any idea what went wrong? I would really appreciate it.
Cheers!
Nice tutorial. It explains a lot of what I couldn't understand before.
Thank you for share this knowledge with community.
Awesome Work, I was really waiting for this episode. Hope you remember? Keep it up...
super kool, just learned using your laravel custom package tutorial, very useful
Glad it was helpful!
i follow you from when you created your channel..... love u
Keep supporting. Thanks for watching,
Thanks a lot, teacher. You save my job !
Great work, thanks for this tutorial. I was really looking for this.
Thanks for your love and support, keep learning. Follow bitfumes on twitter.com/bitfumes or facebook.com/Bitfumes to get the latest updates.
bitfumes.com
super cool
Like the way you explain things
You are doing a awesome job
Thanks for watching bro, keep learning. Please like Bitfumes on facebook to get latest updates.
I'm not that experienced in Laravel package development but I think it could be good practice to have
packages\bitfumes\contact directory
Following your tutorial - which is very nice to follow - I then struggle in converting this method to the composer + local repository + require method for a package, which is shown by a lot of others tutorials.
To use the local packages with composer, it seems necessary to have the complete directory chain.
good job [explained each parts in details]....thanks for the knowledge
Thanks for watching, keep learning
love your video, it's very clear and easy to understand
almost it works with laravel 8 ... tnx to you
that is a nice tutorial for laravel package development
this video is more than great! it's awesome...
Thank you I have learned about package dev
Thanks for your love and support, keep learning. Subscribe to bitfumes newsletters
bitfumes.com/newsletters
Great video. Please create a video for an updated version of laravel.
I will try
thanks
hello sarthak howcan we regiter service providers dynamically. So I have this requirement. I am working on one multi tenancy saas. I will have multple packages installed (same like wordpress plugins). I want to register service providers in runtime after tenant resolved. To explain to more let's say I am working on crm and I have 2 tenant one with free plan and one with paid. and In Resolvehostserviceprovider.php I resolved current plan and tenant. how can now 'hook' extra service providers.
Excellent effort , Make videos on Github contributor as well. How other developer can contribute on my package.
he explained it like a boss! Thanks!
Thanks for watching bro, please share to support bitfumes and please follow us on facebook/twitter.
I loved it, awesome, already subscribed
Great Tutorial.
finally got something useful
I like the way you say laravel
thanks for watching, please check bitfumes.com/courses for more advanced courses
Thank you, dude. It was an amazing tutorial.
You created routes/web.php in the video. What if my package has both web & api routes. I tried by making routes/api.php and calling it separately in the boot function but doesn't seems to work.
Their is an issue i am facing laravel documentation provided loadViewsFrom and same for routes, and migrations etc
but how will copy Commands file?
just like views, routes i created folder with name of Commands and inside that i created my commands file.
but i am unable to load it inside src/provider file.
incase if i did some hardcoded path i am sure this is not gonna work incase if i publish app to vendor.
can you please help.
nice and clear thank you
in ContactServiceProvider.php
namspace Bitfumes\Contact;
but in package folder where actually the Bitfumes located?
can you exaplain this, please?
that is good
what is differnce between packaging and modeling
Great tutorial dude, thanks. Subscribed 😊
Great buddy 🤝🤝🤝
Awesome tutorials....
I have one question for you,
what is your learning method ( visual, reading etc) how do you learn new things..
Great work, keep it up
Great video, one step you missed in your video is how to include another required package. I tried using composer require in my package folder, but it seems the included package namespaces are not recognized in vscode, do i need to do something with the autoload section of composer.json in the package?
awesome... learned a lot
Helpful Tutorial
God bless you bro
Thanks for your love and support, keep learning. Subscribe to bitfumes newsletters
bitfumes.com/newsletters
Thank you so much for this great tutorial
Thank You very much.
sir, how can add validation inside the custom package.
please help me.
Can you help me please. I have created a laravel package as your tutorial and publish it to packagist.
My package is working fine in my local but whenever want to install package it show an error that my services provider class doesn’t found. though i have include namespace in composer.json and autoload service provider class
Awesome video.
Little help, kindly make a video on how to make aliase in Laravel (like php artisan => pa)
open .bashrc. in section "aliases" write - pa php artisan.
Is it possible instead of using laravel blade file, I want to use Vue.js with Tailwind?
Great tutorial
Thank you for this great tutorial!
Love u yaar
hi, how can I automatically create tables in the database when I install the package ?
i don't think there would a way to mess with database directly as soon as you install package.
Great work thanks for this tutorial. But will you let me know why Auth::user() is not working inside the package ? I am trying to allow for only logged user but Auth::user() giving me null value.
Inside package it will work only if you have route with middleware of web or api
Use auth middleware.
I will create a laravel package.. thank you
Thank you, Bitfumes!
This is very useful. Thank you very much. How to handle private packages?
Cool its really useful to me
Very well explained
Thanks for watching, please like Bitfumes on facebook/twitter to get latest updates.
wow bro awesome tutorial
Glad you liked it
How can i packaging js files?(for react or vue components)
Do i also use "$this->loadViewsFrom"?
Большое спасибо!У Вас очень классные уроки!
cool
Thanks for watching bro, keep learning. Please like Bitfumes on facebook to get latest updates.
Thanks
Would be nice, to follow up with how to add unit tests to your package, maybe making version 1.1 via TDD, and thanks for taking the time to make these.
Hey, this is a cool idea, Can you suggest any topic for package with that I will show these things.
If you want to illustrate with something small, just, use TDD to add validation to this package in the same way. Configuring the feature/unit tests and then start with an_email_required, and then an email_must_be_valid etc... mock out a quick mail test and then anything else you can think of to keep it both extremely simple, while also showing the process of setting up php_unit. Maybe talk about how you can implement tests and why they don't conflict with the domain driven TDD that the app will have. Maybe run it through a CI and show github pull requests and how to make a valid contribution to a project. I think that this is huge barrier that keeps most developers from creating and contributing to packages.
If you are looking for a multi scree cast option, that lends itself to packages, I'd do something like a shopping cart that using cookies for guests and show the process of converting that to eloquent models for signed in users. As a contribution, you might think about adding instance functionality, like changing the regular cart to now be able to also have a separate buy later and wish list instances. What you would want to see in peoples PR's. squashing commits proper testing.
Those are just ideas on the opposite side of the spectrum. I think this was a great video on getting people into composer packages. I just think it needs to go farther before people can really utilize it.
Thanks again for the great content you provide. I try and leave laravel/JS/ Vue video/audio content running in the background while I work, and I have great respect for people that take the time to put their contributions out there.Especially when they are so clear and effective.
Hey thanks for this details view, I got your point and will create a series on that. Thanks for sharing your views. People like you are really encouraging and pushing me forward for doing this.
Really thanks.
so amazing man
Do you have a video where you add other plugins to your package. Sample I create a crmcore package and it needs a user interface so I want to add AdminLTE admin template because its a good template. How can I add and publish all the assets? Many thanks. Cheers.
Awesome tutorials.... 👏👏
Can i ask you something,
what is your learning method ( visual, reading etc) how do you learn new things..
learn my doing or best one is teaching.
great tutorial, thank you.
Great tutorial. It really helped a lot 🙏
Thanks for watching bro, please subscribe to newsletters for more advacned courses on bitfumes website. https:/bitfumes.com/courses
Excellent
very nice tutorial love it bro thanks for make this video
really happy to subscribe...
Thank you so much
Thank you so much, for this tutorial.
Thanks for watching, please like Bitfumes on facebook/twitter for more updates.
helpful. thanks
Cool video!
Love you
Thank you very much for this great video. Where would I put my language files and how would I access them in the view files?
check out this link for translations laravel.com/docs/5.6/packages#translations
Thank you for the fast reply. I've bee struggling the last two days with it and eventually got it to work. The documentations is very clear but if you write an auth package it will not translate it. So I eventually changed it to $this->loadTranslationsFrom(__DIR__.'/resources/views/lang/', 'authtr'); and now it works fine. Think it's got something to do with the word auth.
Thanks bro, please like Bitfumes on twitter and facebook for updates.
Hello sir, I followed exact steps as you done but i got error-> Class 'kanchan\contact\ServiceProvider' not found why this happens please explain => and i also doubt related to how to create author names in packages . In this video you had already created.
i am also try but not working.
Fantastic
Good tutorial thank you
Hello Sir How can i create plugin or packages in laraclassified script project
Thanks !!!
Let this to have here. Need to watch this part later ;)
//ss TODO: 22:15 - 39:37
tahnx a lot bro, you rock!
Thanks for watching bro, keep learning. Please like Bitfumes on facebook to get latest updates.
Thanks!!
thank you bro , awesome tutorial (y)
Thanks for watching bro, please like BItfumes on facebook/twitter to get latest updates.
Awesome
It's show the "Call to undefined method Majeed\Contact\ContactServiceProvider::loadRoutesForm()" error in my boot function...
you have done some mistake in either registering service provider on auth.php or in composer.json file. Please check and if not corrected then message me on facebook
Thank You.
Thanks for watching bro, please like Bitfumes on facebook/twitter for more updates.