typicms / places
Fund package maintenance!
typicms
Requires
- laravel/framework: ~10.0
- dev-master
- 11.0.x-dev
- 11.0.6
- 11.0.5
- 11.0.4
- 11.0.3
- 11.0.2
- 11.0.1
- 11.0.0
- 10.0.x-dev
- 10.0.4
- 10.0.3
- 10.0.2
- 10.0.1
- 10.0.0
- 9.0.8
- 9.0.7
- 9.0.6
- 9.0.5
- 9.0.4
- 9.0.3
- 9.0.2
- 9.0.1
- 9.0.0
- 8.0.3
- 8.0.2
- 8.0.1
- 8.0.0
- 7.0.x-dev
- 7.0.16
- 7.0.15
- 7.0.14
- 7.0.13
- 7.0.12
- 7.0.11
- 7.0.10
- 7.0.9
- 7.0.8
- 7.0.7
- 7.0.6
- 7.0.5
- 7.0.4
- 7.0.3
- 7.0.2
- 7.0.1
- 7.0.0
- 6.0.4
- 6.0.3
- 6.0.2
- 6.0.1
- 6.0.0
- 5.0.7
- 5.0.6
- 5.0.5
- 5.0.4
- 5.0.3
- 5.0.2
- 5.0.1
- 5.0.0
- 4.0.x-dev
- 4.0.0
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.9.0
- 2.8.1
- 2.8.0
- 2.7.x-dev
- 2.7.2
- 2.7.1
- 2.7.0
- 2.6.2
- 2.6.1
- 2.6.0
- 2.5.2
- 2.5.1
- 2.5.0
- v2.4.7
- v2.4.6
- v2.4.5
- v2.4.4
- v2.4.3
- v2.4.2
- v2.4.1
- v2.4.0
- v2.3.0
- v2.2.1
- v2.2.0
- v2.1.0
- v2.0.9
- v2.0.8
- v2.0.7
- v2.0.6
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v1.8.5
- 1.8.2
- 1.8.1
- 1.8.0
- dev-analysis-qMnYej
This package is auto-updated.
Last update: 2024-11-03 20:02:16 UTC
README
Manage places and show them on a map.
Installation
- Require the package using composer:
composer require typicms/places
- Add the service provider in your config/app.php file:
'providers' => [
/*
* TypiCMS Modules Service Providers.
*/
TypiCMS\Modules\Places\Providers\ModuleServiceProvider::class,
];
- Publish files from this module to your project, run:
php artisan vendor:publish --provider="TypiCMS\Modules\Places\Providers\ModuleServiceProvider"
- Run the migration:
php artisan migrate
-
Set a Google Maps API key in your .env file. See Google Maps Platform.
-
Install @googlemaps/markerclusterer and :
bun add @googlemaps/markerclusterer --dev bun add @types/google.maps --dev
- Uncomment the following lines in
/resources/js/public.js
:
import initMap from './public/map'; window.initMap = initMap;
- Add this line to the
/resources/scss/public.scss
file:
@import 'public/map';
-
Run
bun run dev
to compile the assets. -
Connect to the admin panel, add some places, create a page linked to the module Places and visit this page to see the places on a map.
This module is part of TypiCMS, a multilingual CMS based on the Laravel framework.