Upgrade to Laravel 9

This commit is contained in:
Emanuel Mutschlechner
2022-11-17 00:06:00 +01:00
parent 98fb269ac3
commit e95a4f258b
9 changed files with 5047 additions and 5917 deletions

View File

@@ -1,7 +1,7 @@
# Maps for your Laravel application # Maps for your Laravel application
[![GitLab Repository](https://img.shields.io/badge/GitLab-gonoware/laravel--maps-blue.svg?logo=gitlab&style=flat-square&longCache=true)](https://gitlab.com/gonoware/laravel-maps) [![GitLab Repository](https://img.shields.io/badge/GitLab-gonoware/laravel--maps-blue.svg?logo=gitlab&style=flat-square&longCache=true)](https://gitlab.com/gonoware/laravel-maps)
[![Laravel Version](https://img.shields.io/badge/Laravel-7-blue.svg?logo=laravel&style=flat-square&longCache=true)]() [![Laravel Version](https://img.shields.io/badge/Laravel-9-blue.svg?logo=laravel&style=flat-square&longCache=true)]()
[![Latest Stable Version](https://poser.pugx.org/gonoware/laravel-maps/v/stable?format=flat-square)](https://packagist.org/packages/gonoware/laravel-maps) [![Latest Stable Version](https://poser.pugx.org/gonoware/laravel-maps/v/stable?format=flat-square)](https://packagist.org/packages/gonoware/laravel-maps)
[![StyleCI](https://gitlab.styleci.io/repos/8146646/shield)](https://gitlab.styleci.io/repos/8146646) [![StyleCI](https://gitlab.styleci.io/repos/8146646/shield)](https://gitlab.styleci.io/repos/8146646)
[![License](https://poser.pugx.org/gonoware/laravel-maps/license?format=flat-square)](https://packagist.org/packages/gonoware/laravel-maps) [![License](https://poser.pugx.org/gonoware/laravel-maps/license?format=flat-square)](https://packagist.org/packages/gonoware/laravel-maps)
@@ -19,8 +19,6 @@ Supported map services:
> Note: Yandex Maps API does not work in Chrome. > Note: Yandex Maps API does not work in Chrome.
For Laravel 5.5 use version [1.0.3](https://gitlab.com/gonoware/laravel-maps/tree/v1.0.3)
## Features ## Features
| | Google Maps | OpenStreetMap | Bing Maps | MapQuest | Yandex Maps | MapKit | | | Google Maps | OpenStreetMap | Bing Maps | MapQuest | Yandex Maps | MapKit |
|---|:---:|:---:|:---:|:---:|:---:|:---:| |---|:---:|:---:|:---:|:---:|:---:|:---:|
@@ -37,8 +35,6 @@ This package can be installed through Composer.
```bash ```bash
composer require gonoware/laravel-maps composer require gonoware/laravel-maps
``` ```
Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add
the ServiceProvider.
Publish the compiled assets to `public/vendor/maps` with one of these Publish the compiled assets to `public/vendor/maps` with one of these
commands: commands:

View File

@@ -35,12 +35,12 @@
], ],
"type": "library", "type": "library",
"require": { "require": {
"php": "^7.2|^7.2.5", "php": "^8.1",
"illuminate/support": "^6.0|^7.0" "illuminate/support": "^9.0"
}, },
"require-dev": { "require-dev": {
"mockery/mockery": "^1.0|^1.3.1", "mockery/mockery": "^1.4.4",
"phpunit/phpunit": "^8.0|^8.5" "phpunit/phpunit": "^9.5.10"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
@@ -54,7 +54,7 @@
}, },
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.0.x-dev" "dev-master": "2.0.x-dev"
}, },
"laravel": { "laravel": {
"providers": [ "providers": [

2307
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -2,15 +2,15 @@
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "npm run development", "dev": "npm run development",
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", "development": "mix",
"watch": "npm run development -- --watch", "watch": "mix watch",
"watch-poll": "npm run watch -- --watch-poll", "watch-poll": "mix watch -- --watch-options-poll=1000",
"prod": "rimraf public && yarn run production", "hot": "mix watch --hot",
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js" "prod": "npm run production",
"production": "mix --production"
}, },
"devDependencies": { "devDependencies": {
"cross-env": "^6.0.3", "laravel-mix": "^6.0.6",
"laravel-mix": "^5.0.1",
"leaflet-bing-layer": "^3.3.1", "leaflet-bing-layer": "^3.3.1",
"resolve-url-loader": "^3.1.0", "resolve-url-loader": "^3.1.0",
"sass": "^1.24.2", "sass": "^1.24.2",

View File

@@ -1 +1 @@
.gnw-map-service{position:relative;height:400px}.gnw-map-service__google{background:#e5e3df}.gnw-map-service__bing,.gnw-map-service__mapquest,.gnw-map-service__osm{background:#ddd}.gnw-map-service__yandex{background:#f3f1ed}.gnw-map-service__mapkit{background:#f8f4ec}.gnw-map{height:inherit}.gnw-map .mk-map-view>.syrup-canvas{margin-left:-50%} .gnw-map-service{height:400px;position:relative}.gnw-map-service__google{background:#e5e3df}.gnw-map-service__bing,.gnw-map-service__mapquest,.gnw-map-service__osm{background:#ddd}.gnw-map-service__yandex{background:#f3f1ed}.gnw-map-service__mapkit{background:#f8f4ec}.gnw-map{height:inherit}.gnw-map .mk-map-view>.syrup-canvas{margin-left:-50%}

4
public/js/index.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,4 @@
/* @preserve
* Leaflet 1.9.2, a JS library for interactive maps. https://leafletjs.com
* (c) 2010-2022 Vladimir Agafonkin, (c) 2010-2011 CloudMade
*/

View File

@@ -1,4 +1,4 @@
{ {
"/js/index.js": "/js/index.js?id=1e6f34e45ce1f8e9666f", "/js/index.js": "/js/index.js?id=6508504506f20e7f033c7de36683001a",
"/css/index.css": "/css/index.css?id=81569dd7736e102f4342" "/css/index.css": "/css/index.css?id=56062e68c820fdf21c3c4ec98fbe553b"
} }

8609
yarn.lock

File diff suppressed because it is too large Load Diff