Package Data | |
---|---|
Maintainer Username: | Tarik02 |
Maintainer Contact: | Taras.Fomin@gmail.com (Tarik02) |
Package Create Date: | 2017-07-08 |
Package Last Update: | 2017-07-08 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-02-06 03:00:45 |
Package Statistics | |
---|---|
Total Downloads: | 17 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Required composer dependency:
composer require "tarik02/yandex-maps-embed"
Register ServiceProvider(add it to config/app.php):
Tarik02\YandexMapsEmbed\Providers\YandexMapsEmbedServiceProvider::class,
$name
is parsed name.
$options
is options for frame(['width' => 560, 'height' => 400]
).
Get name:
$name = yandex_map_parse($string); // Using helper
$name = YandexMapEmbed::parse($string); // Using facade
Show frame:
@yandexMap($name, $options)
{{ yandex_map_make($name, $options) }}
{{ YandexMapEmbed::make($name, $options) }}