Two database tables whiches includes mobilephone manufacturers and their models.
- Php 8.x
- Composer
- Git
- Mysql
git clone https://github.com/ilyasozkurt/mobilephone-brands-and-models
cd scrapper
composer install
cp .env.example .env
DB_CONNECTION=mysql
DB_HOST=
DB_PORT=
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=
....
php artisan migrate
This command will create required tables in your database:
php artisan scrape:devices
brands.sql (116 manufacturer) -> Includes brands
devices.sql (10633 model) -> Models related with brand_id
Data mined at 10/09/2021 from gsmarena.com
Sponsored by trustlocale.com