avto-dev/vehicle-logotypes

Vehicle logotypes set

v2.5.0 2021-04-05 12:38 UTC

This package is auto-updated.

Last update: 2021-09-05 13:39:46 UTC


README

PHP logo

Vehicle logotypes

Build Status License

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.

Logos plate

Installation

Using composer (php)

Packagist version PHP Version Coverage Downloads count

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;
});

Using npm (node)

NPM version NODE version NPM downloads

Require this package with npm using the following command:

$ npm i @avto-dev/vehicle-logotypes

Direct request (http)

jsDelivr downloads

Get content using one of next URI:

Service Version URI
jsDelivr 2.x https://cdn.jsdelivr.net/gh/avto-dev/vehicle-logotypes@2.x/src/vehicle-logotypes.json
jsDelivr 1.x https://cdn.jsdelivr.net/gh/avto-dev/vehicle-logotypes@1.x/src/vehicle-logotypes.json

Download archive

Download latest version (master branch): ZIP | TAR

Features

Since version 1.1.0 you can use all imgix.com features like resize, cropping, and others.

For example, basic image:

basic

https://vl.imgix.net/img/bmw-logo.png

With background color:

rotated

https://vl.imgix.net/img/bmw-logo.png?bg=354651

With custom text over image:

with text

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.

Images sources

All images were taken from open sources, like:

Changes log

Release date Commits since latest release

Changes log can be found here.

Support

Issues Issues

If you will find any package errors, please, make an issue in current repository.

License

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.