WAWern Anchetainwernancheta.hashnode.dev·Aug 30, 2021 · 3 min readGetting Started with Facades in LaravelFacades in Laravel allows you to call non-static methods as if they were static methods. This makes it possible for you to call methods in certain classes without the need for creating an object everytime you use them. It basically has the same benef...00
WAWern Anchetainwernancheta.hashnode.dev·Aug 15, 2021 · 8 min readA Primer to Service Container in LaravelIn this post we'll take a look at how to make use of the service container in Laravel. Let's say we have a class for paying with Stripe: <?php namespace App\Services; class StripePaymentService { public function pay() { return 'p...00