Skip to content

AQuadic/vehicle-logotypes

 
 

Repository files navigation

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/[email protected]/src/vehicle-logotypes.json
jsDelivr 1.x https://cdn.jsdelivr.net/gh/avto-dev/[email protected]/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.

About

Vehicle logotypes set

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 77.8%
  • Makefile 16.3%
  • Dockerfile 5.9%