How to make simple Geolocation service
Max Kostinevich explains how to create your own Geolocation service using Cloudflare workers.
Read more [maxkostinevich.com]
Posts tagged with service
Max Kostinevich explains how to create your own Geolocation service using Cloudflare workers.
Read more [maxkostinevich.com]
On his blog Barry van Veen listed some examples of things you can do within a Laravel service provider.
Currently, I'm working on my first Laravel package. So, it was time to dive into the wonderful world of the service container and service providers.Laravel has some great docs about, but I wanted to see some real-world examples for myself. And what better way than to have a look at the packages that you already depend on?
This post details the different things that a service provider can be used for, each taken from a real open-source project. I've linked to the source of each example.
https://barryvanveen.nl/blog/34-laravel-service-provider-examples
Join 9,500+ smart developers
Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
"Freek’s newsletter is one of the best ways to stay updated with the Laravel and PHP ecosystem. It consistently highlights useful packages, tools, and ideas from the community, especially the amazing work coming from Spatie. As a Laravel developer building SaaS and web platforms, I find it extremely helpful to discover practical tools and insights that improve my development workflow."
Over at Envato Tuts Alireza Rahmani Khalili wrote a good article on Laravel Facades.
Sweet syntax, which Laravel uses, makes writing code cleaner and easier to understand. Laravel facades are actually the syntactic sugar for service location.http://code.tutsplus.com/tutorials/what-are-laravel-50-facades--cms-25347Let’s take a look at Laravel Facade and the way it functions.