DeveloperBreeze

Laravel Programming Tutorials, Guides & Best Practices

Explore 51+ expertly crafted laravel tutorials, components, and code examples. Stay productive and build faster with proven implementation strategies and design patterns from DeveloperBreeze.

Tutorial
php

Handling HTTP Requests and Raw Responses in Laravel

Most modern APIs return data in JSON format. Laravel simplifies handling JSON responses by providing a json() method.

use Illuminate\Support\Facades.Http;

$response = Http::post('https://api.example.com/endpoint', [
    'key1' => 'value1',
    'key2' => 'value2',
]);

$data = $response->json(); // Automatically parses JSON response into an associative array
dd($data);

Oct 24, 2024
Read More
Tutorial
javascript php

Building a Custom E-commerce Platform with Laravel and Vue.js

Building a custom e-commerce platform can be a rewarding endeavor, offering flexibility, scalability, and control over the user experience. In this tutorial, we will guide you through the process of creating a custom e-commerce platform using Laravel for the backend and Vue.js for the frontend. By the end of this tutorial, you'll have a solid foundation for a fully functional e-commerce platform that you can expand and customize according to your needs.

Before we begin, make sure you have the following:

Aug 27, 2024
Read More
Tutorial
php

Integrating and Using NMI Payment Gateway in Laravel

The NMI API allows you to securely store customer payment details in a "vault" for future transactions. We'll create a method to add customer details to the vault.

Inside the NMI class, add the following method:

Aug 14, 2024
Read More