Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Enhance Countries Table with Currency Code and Calling Code #24

Open
mrprotocoll opened this issue Aug 12, 2023 · 1 comment
Open
Assignees

Comments

@mrprotocoll
Copy link

Background:

The current state of the project's countries table does not have fields such as currency_code and calling_code. Example for the United Kingdom is GBP and +44 . These fields play a crucial role in various functionalities, including internationalization, financial interactions, phone number formatting, and communication features. Adding these fields will not only improve the completeness of the data but also enhance the overall usability and user experience of the package.

Issue:

I propose to enhance the existing countries table by incorporating two new fields: currency_code and calling_code.

Tasks:

  1. Database Schema Modification:

    • Add a new column named currency_code of the appropriate datatype to store the currency_code field to hold currency codes such as USD, EUR, JPY, and more.
    • Add another column named calling_code to store the international calling code associated with each country.
  2. Data Migration:

    • Implement a data migration script to populate the currency_code and calling_code fields based on reliable data sources, such as official international standards.
  3. Codebase Updates:

    • Update relevant parts of the codebase to use the newly added fields when displaying country-related information.
    • Modify any user interfaces that interact with country data to incorporate the currency_code and calling_code information.
  4. Documentation:

    • Update the project's documentation to reflect the changes made to the countries table schema.
    • Provide clear instructions on how to use the currency_code and calling_code fields in various parts of the package.
  5. Testing:

    • Create comprehensive unit tests to ensure the correctness of the new schema and data migration process.
    • Perform thorough integration testing to verify that the application functions as expected with the updated country information.
  6. User Impact:

    • Users will benefit from the added currency_code and calling_code information when working with internationalization features, financial interactions, and communication functionalities.
    • Developers will find it easier to integrate phone number formatting and related features.

Expected Outcome:

Upon successful implementation of this enhancement, the countries table will be enriched with currency_code and calling_code fields, providing users and developers with valuable country-related information. This enhancement will contribute to a more comprehensive and user-friendly experience within the package.

@dipeshsukhia
Copy link
Owner

Dear User,

I hope you are doing well. I am writing to you as the maintainer of the Laravel country-state-city-data package on GitHub. I want to inform you about the current state of the project and kindly request financial assistance to support its ongoing maintenance and updates.

Laravel country-state-city-data is an open-source project that I have been developing and maintaining voluntarily. However, maintaining and updating the package requires a significant amount of time, effort, and resources.

I believe that continuing to enhance and improve Laravel country-state-city-data will greatly benefit the users and the wider community. With financial support, I will be able to dedicate more time to the project, ensuring timely updates, bug fixes, and the implementation of new features.

Your contribution will help cover expenses such as:

Bug fixing and feature implementation: With your support, I can prioritize addressing reported issues, fixing bugs, and implementing new features based on user feedback.

I have set up a funding campaign on GitHub to collect donations for Laravel country-state-city-data. The link to the campaign can be found here: Become a sponsor of Dipesh Sukhia

Any amount you can contribute would be greatly appreciated and will directly contribute to the project's sustainability and growth.

Your support will be vital in ensuring the continued development and maintenance of Laravel country-state-city-data.

Warm regards,
Dipesh Sukhia

@mrprotocoll mrprotocoll changed the title Enhance Countries Table with Currency Code and Calling Code Feature: Enhance Countries Table with Currency Code and Calling Code Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants