Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4 from Ercogx/feature/support-laravel-11
Browse files Browse the repository at this point in the history
Add support for laravel 11
  • Loading branch information
Traineratwot authored Jun 17, 2024
2 parents 5ce2dec + 183a399 commit a4c29f6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ return new class extends Migration {
{
Schema::create('map_points', function (Blueprint $table) {
$table->id();
$table->point('point')->nullable(); // for Point type

$table->point('point')->nullable(); // for Point type in Laravel 10
$table->geography('point', 'point', 0)->nullable(); // for Point type in Laravel 11

$table->string('point_string')->nullable(); // for String type
$table->json('point_array')->nullable(); // for Array type
$table->timestamps();
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
"php": "^8.1",
"filament/filament": "^3",
"filament/forms": "^3",
"illuminate/contracts": "^10.0",
"illuminate/contracts": "^10.0|^11.0",
"matanyadaev/laravel-eloquent-spatial": "^3.0|^4.0",
"spatie/laravel-package-tools": "^1.15.0"
},
"require-dev": {
"nunomaduro/collision": "^7.9",
"orchestra/testbench": "^8.0",
"nunomaduro/collision": "^7.9|^8.0",
"orchestra/testbench": "^8.0|^9.0",
"pestphp/pest": "^2.0",
"pestphp/pest-plugin-arch": "^2.0",
"pestphp/pest-plugin-laravel": "^2.0"
Expand Down

0 comments on commit a4c29f6

Please sign in to comment.