Create Laravel Composer Package From Scratch and Publish on Packagist

Create Laravel Composer Package From Scratch and Publish on Packagist

In this post, Iā€™m going to explain how you can create Laravel package locally and publish to Packagist. To demonstrate, I will create a package to convert Hindu Arabic(Nepali) number to English and English number to Hindu Arabic (Nepali). Creating Laravel package is not that hard. In few simple steps you can create your own package. I will go through few steps: Step #1: Install Laravel I choose Laravel 9 because Laravel 9 is the latest version of Laravel....

December 4, 2022 Ā· 8 min Ā· 1693 words Ā· Prakash Bhandari