This repository contains structured file (json
format) with absolute links to the vehicle logotypes images. Time to time we will update it. Also you can install this repository as package into your application.
All images were compressed using tinypng.com service (this is the best images compressor) and deliver via CDN network.
Logotypes (except alternative images) have fixed size - 240x180
pixels.
Demonstration is available here.
Require this package with composer using the following command:
$ composer require avto-dev/vehicle-logotypes "^2.3"
Installed
composer
is required (how to install composer).
You need to fix the major version of package.
After that you can:
<?php
$logotypes = \AvtoDev\VehicleLogotypes\VehicleLogotypes::create();
// Get 'Opel' logotype uri
$opel_uri = $logotypes->get('opel')['logotype']['uri'];
// Get all 'BMW' models data
$bmw = $logotypes->filter(static function ($item) {
return mb_stripos($item['name'], 'bmw') !== false;
});
Require this package with npm using the following command:
$ npm i @avto-dev/vehicle-logotypes
Get content using one of next URI:
Service | Version | URI |
---|---|---|
jsDelivr | 2.x |
https://cdn.jsdelivr.net/gh/avto-dev/[email protected]/src/vehicle-logotypes.json |
jsDelivr | 1.x |
https://cdn.jsdelivr.net/gh/avto-dev/[email protected]/src/vehicle-logotypes.json |
Download latest version (master
branch): ZIP | TAR
Since version 1.1.0 you can use all imgix.com features like resize, cropping, and others.
For example, basic image:
https://vl.imgix.net/img/bmw-logo.png
With background color:
https://vl.imgix.net/img/bmw-logo.png?bg=354651
With custom text over image:
https://vl.imgix.net/img/bmw-logo.png?txt=YOUR%20TEXT&txtsize=62&txtclr=ff0000&txtalign=middle,center&txtfont=Futura%20Condensed%20Medium
Full documentation can be found here.
All images were taken from open sources, like:
Changes log can be found here.
If you will find any package errors, please, make an issue in current repository.
All images are the property of their respective owners. If you found any image copyrighted to yours, Please contact us, so we can remove it.
This package is open-sourced software licensed under the MIT License.