I am trying to understand how psr-4 works using composer. These are the contents of my composer.json file The Folder Structure is given below (please note I am using windows 10, so directory name casing should not matter I think) The folder where I have created ‘vendor’ folder is inside D:tempcomp…
Tag: package
antonioribeiro/countries How to get currency symbol directly from country selection?
I am not sure if this is a correct channel for the package question, But I am using this package, https://github.com/antonioribeiro/countries. Documentation is not much clear. I can get currency symbol with the below code, But in the second line of code, I must specify INR to get the symbol. But as per requir…
Failed while installing a package using composer
iam tryin to use a cart package by using this command composer require jason-napolitano/codeigniter4-cart-module and it’s failed. this is what it said is it because my minimum-stability in composer.json is set to “stable”? Answer I presume you created your project by using composer create-pr…
new laravel package not recognized
I was writing my first laravel package, so I could use it and understand how packages work and learn how to write packages and etc. But my project didn’t recognize the package that I wrote. Here is my package Github link: https://github.com/IIIphr/Shamsi_Calendar And this is my main project: https://git…
Create custom package with facade in Laravel 8
I am trying to develop a new Laravel package locally installed via Composer. These are my steps: I install a new Laravel application with composer create-project laravel/laravel my-application I create a new directory in the root with the following content: packages/randolf/custom-package/composer.json packag…
Publishing config and migrations from included package in Laravel
I’m using Laravel to build a package which will include some Admin functionality and will include some other packages. I have included a package which has migrations and a config file, But how do I copy those to the correct folder in Laravel. The package has it’s own ServiceProvider but How do I c…