Download the PHP package claytongf/laravel-world-seed without Composer

On this page you can find all versions of the php package claytongf/laravel-world-seed. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-world-seed

World Seed Package for Laravel

This Laravel package provides data about countries, states, cities, currencies, languages, airports, translations, and timezones.

Installation

Install Using Composer

Laravel

Publish the configuration file:

Migrations

After publishing, you can run the migrations and the tables will be created.

Configurations

The config/world.php file (published in the previous step) allows customization of table names, relationship table names, relationship column names, countries to seed, progress bar display, and a list of countries being processed.

[!NOTE] > Model selection for seeding is not yet customizable and will be available in future releases. Setting 'countries' or other models to true or false will not affect seeding.

Available Commands

World Seed

Seed the entire database.

[!IMPORTANT] Run Migrations first!

[!WARNING] Seeding the entire dataset can take a while.

[!TIP] For faster seeding, use the command below or specify country codes in the config/world.php file.

Seed Specific Country

Add specific countries using their ISO2 or ISO3 codes:

Duplicate entries will be ignored.

Remove Specific Country

Remove countries using their ISO2 or ISO3 codes:

Attempts to remove already removed countries will be ignored. For example, if you try to remove MX, CA, and BR, but MX has already been removed, the command will proceed to remove CA and BR.

Seed Airports

Seed all the airports available.

[!IMPORTANT] Seed countries first, otherwise no airports will be shown.

[!WARNING] Seeding all airports can take a while, though less time than seeding countries.

[!TIP] For faster seeding, use the command below or specify airport codes in the config/world.php file.

Seed Specific Airport

Add specific airports using their IATA or ICAO codes:

Duplicate entries will be ignored.

Remove Specific Airports

Remove airports using their IATA or ICAO codes:

If an airport is already removed, it will not affect the other airports removal. Per example: if you want to remove the airports with YYZ, YYN and ORL codes, but ORL has already been removed before, the command will ignore the removed airport and continue to remove the other ones.

Retrieving Data

Data retrieval currently follows standard Laravel conventions. Improved methods will be implemented in future versions.

Models Available

Relationships

Suggestions are welcome!

Package in development

This package is currently in its initial version. All suggestions are welcome.

Data Integrity

[!IMPORTANT] The dataset may contain inconsistencies, such as airports not linked to any city. Due to the volume of data, addressing all such issues may be time-consuming. Please report any inconsistencies you encounter.

Future Implementations

Buy me a Coffee..... or Pizza

Buy me a Coffee or Pizza


All versions of laravel-world-seed with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
illuminate/support Version ^8.0|^9.0|^10.0|^11.0|^12.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package claytongf/laravel-world-seed contains the following files

Loading the files please wait ....