countrycodevendor / countrycode
A composer package for get a code from country
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/countrycodevendor/countrycode
README
Step 1: Install the package
powershall command : composer require countrycodevendor/countrycode
step 2: set the serviceProvider path: config.php/app.php 'providers' => ServiceProvider::defaultProviders()->merge([ .... Countrycodevendor\Countrycode\countryCodeServiceProvider::class ... ])->toArray(),
step 3: run this command php artisan vendor:publish --tag=public
step 4: check file exist or not path: public/veandor/countrycode/data and flags In data Folder two json file exist: 1) countryData.json 2)language.json
step 5: If not issue in step 4 run this url: localhost::8000/country