Skip to content

Seeding geographical coordinates using Laravel

Today I learned that MySQL 8 has column types to store geographic coordinates. Here’s how I managed to seed my database with such data types using Laravel. I really did not expect this to require an article, and on top of that my database has definitely no need for this kind of refinement at this stage of the project.

I have no idea what I’m doing.