Download the PHP package raiolanetworks/atlas without Composer
On this page you can find all versions of the php package raiolanetworks/atlas. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download raiolanetworks/atlas
More information about raiolanetworks/atlas
Files in raiolanetworks/atlas
Package atlas
Short Description Get the data from the most recondite place with 'Atlas'
License MIT
Homepage https://github.com/RaiolaNetworks/Atlas
Informations about the package atlas
Get the data from the most recondite place with 'Atlas'
With 'Atlas' you will be able to create new tables in the database and fill them with information about countries, states, cities, timezones and more.
Get to know us
Installation
You can install the package via composer:
You can publish the migrations with:
Also, you can publish the config file with:
Finally, you can publish the data jsons file with:
For run the migrations and fill the tables you should run:
This will migrate the database tables previously allowed in the configuration file in the entities
section. (By default, all are allowed)
When the command is executed, it will give the option to select which seeders to run.
The process may take a few minutes as the number of cities is very large.
Usage
Internally, the package works with Laravel models, which allows you to work with this model as if they were models of your own project.
For example, if you want to get all the countries in Africa:
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of atlas with dependencies
illuminate/contracts Version ^10.0||^11.0
laravel/framework Version 11.*
laravel/prompts Version ^0.3
spatie/laravel-package-tools Version ^1.14.0