From a3bb4825245df4997b170a3e01b593909a95db7c Mon Sep 17 00:00:00 2001 From: Max Staack Date: Wed, 11 Mar 2020 15:32:16 +0100 Subject: [PATCH] update readme --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f382581..cf83596 100644 --- a/README.md +++ b/README.md @@ -15,14 +15,13 @@ $model->myPoint = new Point(1,2); //lat, long $table->polygon('myColumn'); ``` -## Versions -- Use 4.* for Laravel 5 -- Use 5.* for Laravel 6/7 - ## Warning This Package has been moved to a new owner and aims for Laravel 6/7 and PHP 7 support only soon! -Replace all your references to the new namespace: `MStaack\LaravelPostgis` +Replace all your references to the new namespace: +``` +MStaack\LaravelPostgis +``` Thanks to : - https://github.com/njbarrett @@ -32,7 +31,13 @@ Thanks to : Fluent in Laravel Packages and Postgres/Postgis? Consider contributing! We are looking for anyone that wants to help out! ## Installation +- Use 3.* for Laravel 5 +```bash +composer require "mstaack/laravel-postgis:3.*" +``` + +- Use 5.* for Laravel 6/7 ```bash composer require mstaack/laravel-postgis ```