Code Monkey home page Code Monkey logo

multilingual-country-list's People

Contributors

gehrisandro avatar jeffreyvr avatar marcbelletre avatar mohamedsabil83 avatar petercoles avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

multilingual-country-list's Issues

Add a new Country Code

How can I add a new country code to the list?
Editing vendor files isn't good :|
Any Ideas?

Not possible to use it as descriped in Laravel 7

Today i was trying this package out.

As described i was using:
Countries::lookup();

But Countries cannot be found.

Because it is a singleton it is possible to do this but it would be nice to use the above method.
$countries_provider = app('countries');
$countries = $countries_provider->lookup('nl_NL');

Is this an issue of the package?

Laravel 10 support

could not install dependency on Laravel 10, could we add laravel 10 with php 8.2 support? Thanks!

Symfony\Component\ErrorHandler\Error\FatalError Trait 'App\Http\Controllers\Countries' not found

Laravel 8 is giving me the following error:

Symfony\Component\ErrorHandler\Error\FatalError
Trait 'App\Http\Controllers\Countries' not found

Here's my controller's code:

namespace App\Http\Controllers;

use Validator;
use App\Models\Customer;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;


class CustomerController extends Controller
{
    use Countries;
    /**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
    public function index()
    {
        $customers = Customer::where('user_id', Auth::id())->paginate(9);
        return view('customers')->with(['customers' => $customers]);
    }

The error point to "use Countries".

Search for specific country in specific language

Hi,

How can I search for a specific country in a specific language.

Something like this

Countries::lookup(Lang::locale(), 'PT')

Should give the fallowing Output:

Portugal

I can find this method on the documentation, there is any method to do this?
It would be really useful...

Thanks,
Miguel Ferreira

Laravel 6 support

Composer doesn't work with Laravel 6.
Sure, it's quick fix in the composer.json file

Regions listed instead of countries.

I have detected that not only countries are being listed but also some regions belonging to countries such as Canary Islands or Ceuta & Melilla wich are part of Spain. Is there any way to avoid this and list only countries? Thank you very much.

search for country ISO by name

As this collection is multilingual, it would be cool to have an option to search for country ISO by the name in any=unknown language

No tag for release (laravel 11)

Hello!

I see the master has been updated to work with laravel 11 but there is no new version tag. So it will not work unless you put dev-master in the composer dependecy.

Could you publish a tag for laravel 11?

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.