Why this project?
Web GIS Project with Laravel is a learning/educational project covering and implementing most of the common Geographical Information Systems feature needs using PostGIS, GeoServer, OpenLayers, and Laravel through the design and development of a single Laravel project.
I'm building this project as an entire advanced course aimed at Laravel developers who want to get into the GIS world, screencasts (video courses) are now available for registered users. Registration is free, and I will never share your email address or send you any unsolicited messages. Also, Web GIS Project with Laravel is free of advertising and will never be monetized.
I will try to make one commit per article/lesson and reference it at the end of each post; the article will explain the details. You should be able to follow along on a Ubuntu development machine or on any platform running docker.
If you have any questions or comments, please create an account and post a comment on an article or follow @gislaravel on Twitter (with the button at the top of the page).
Web GIS Project with Laravel is an ongoing learning/educational project with all of the source code available on Github (please note that the original repository has changed).
Finally, an RSS feed for all articles/lessons is available at https://www.webgis.dev/rss.
About me and the stack
I've been working as a developer with commercial and open-source GIS software for more than 20 years. The Laravel framework is beautiful and elegant for backend development; the developer experience is impressive. So my goto Web/GIS backend stack is now:
I'm more on the backend/DevOps side than on the frontend side for web development, so I use a minimal frontend stack: Alpine.js. As stated by Caleb Porzio, its creator, "Alpine is a rugged, minimal tool for composing behavior directly in your markup ." Its syntax is very similar to Vuejs, so learning Alpine is a piece of cake if you are familiar with Vue.
As a development stack, we will use docker (it is the only required dependency for the project)
Laravel offer a great Docker environment with Laravel Sail, but we will try to work with docker directly to have complete control over the docker images we use. Docker might be intimidating initially, but it is really powerful and will allow us to have the perfect PHP/Laravel development environment with all of our dependencies running smoothly.
Important notice: Following this Tweet by Taylor Otwell (the creator of Laravel) and to be in compliance with Laravel trademark, I decided to rename the project to Web GIS Project with Laravel and to change the domain name to www.webgis.dev. A redirection from the old domain name to the new one is in place and will be active for a few months. The GitHub repository (and username) has also changed and is now available at https://github.com/webgisdev/gislaravel. Finally, the Twitter account is now @gislaravel.