HOME > Development > RESTful API with Laravel- Build a Real API with Laravel

RESTful API with Laravel- Build a Real API with Laravel

  • Development
  • Dec 24, 2024
SynopsisRESTful API with Laravel: Build a Real API with Laravel, avai...
RESTful API with Laravel- Build a Real Laravel  No.1

RESTful API with Laravel: Build a Real API with Laravel, available at $84.99, has an average rating of 4.45, with 227 lectures, 2 quizzes, based on 1277 reviews, and has 7906 subscribers.

You will learn about Create your own projects with Laravel (not only RESTful APIs) Make the most of your work tools (Sublime Text 3, Git, Github, Composer, PHP artisan and Laravel) Generate and maintain the structure of the database in an automated way with Laravel and the PHP Artisan console Use PHP Artisan effectively and be much more efficient Create and configure your own local development environment Properly configure your development environment for all your projects Hone the main HTTP methods/verbs for HTTP and RESTful APIs Use free professional tools to improve your productivity This course is ideal for individuals who are This course is for all web development and PHP lovers or This course is for all those who need to develop their own API completely RESTful or If you want to build your own fully functional and step-by-step RESTful API or If you need to keep your skills up to date and be competitive or If you want to do a complete development of your projects and your RESTful API with Laravel It is particularly useful for This course is for all web development and PHP lovers or This course is for all those who need to develop their own API completely RESTful or If you want to build your own fully functional and step-by-step RESTful API or If you need to keep your skills up to date and be competitive or If you want to do a complete development of your projects and your RESTful API with Laravel.

Enroll now: RESTful API with Laravel: Build a Real API with Laravel

Summary

Title: RESTful API with Laravel: Build a Real API with Laravel

Price: $84.99

Average Rating: 4.45

Number of Lectures: 227

Number of Quizzes: 2

Number of Published Lectures: 227

Number of Published Quizzes: 2

Number of Curriculum Items: 229

Number of Published Curriculum Objects: 229

Original Price: $39.99

Quality Status: approved

Status: Live

What You Will Learn

  • Create your own projects with Laravel (not only RESTful APIs)
  • Make the most of your work tools (Sublime Text 3, Git, Github, Composer, PHP artisan and Laravel)
  • Generate and maintain the structure of the database in an automated way with Laravel and the PHP Artisan console
  • Use PHP Artisan effectively and be much more efficient
  • Create and configure your own local development environment
  • Properly configure your development environment for all your projects
  • Hone the main HTTP methods/verbs for HTTP and RESTful APIs
  • Use free professional tools to improve your productivity
  • Who Should Attend

  • This course is for all web development and PHP lovers
  • This course is for all those who need to develop their own API completely RESTful
  • If you want to build your own fully functional and step-by-step RESTful API
  • If you need to keep your skills up to date and be competitive
  • If you want to do a complete development of your projects and your RESTful API with Laravel
  • Target Audiences

  • This course is for all web development and PHP lovers
  • This course is for all those who need to develop their own API completely RESTful
  • If you want to build your own fully functional and step-by-step RESTful API
  • If you need to keep your skills up to date and be competitive
  • If you want to do a complete development of your projects and your RESTful API with Laravel
  • So you need to build a RESTful API for a project, but you do not know even where to start? Do not worry I will guide you through the whole process to build a genuine RESTful API using Laravel.

    Join the more than 5.000 students already taking this course, building their RESTful APIs using Laravel, and enjoying every single class!

    Note: You can take, and in fact it is recommended, to follow the course using the most recent version of Laravel. Additionally, the course includes extensive sections about how to upgrade your project to different versions of Laravel, in case you decide to use any previous version.

    Build your RESTful API with Laravel, using a complete marketplace as the case of use. With Laravel, creating every component will be a breeze. You will have a project with users, sellers, buyers, transactions, products, and categories. Explore all types of relationships, one to many, many to many and much much more using Eloquent the Laravel ORM.

    The full guide for creating a real RESTful API with Laravel.You can follow the course using the latest Laravel version (it is recommended).

    You will not find a Laravel course like this. This course explains everything you need to develop a RESTful API using the Laravel framework.

    At the end of the course, you will have a RESTful API with Laravel, for a market system, where users can purchase and sell different products with different categories and transactions. Inclusive, the same user can be both a seller and a buyer (you will take advantage of inheritance for this).

    ?Do Not wait anymore! Become a master in the development of genuinely RESTful APIs with Laravel. Join the course now and see you in class

    Remember: The course has been constantly updated to use the latest versions of Laravel. So feel free to use the version you like (especially the latest version of Laravel).

    In this course, you learn how to develop a realistic,  fully implemented, and professional RESTful API with Laravel.

    Laravel is the most popular PHP framework, with more than 20 million downloads along with lots of enterprise and personal projects worldwide. Additionally, it includes fantastic features to implement a RESTful API easily. Laravel is RESTful friendly.

    What is a RESTful API?
    A Web API is like a web service that works entirely with HTTP. A RESTful API must follow the REST (REpresentational State Transfer) practices, allowing to orientate the design to the resources, provide standard responses based on the different HTTP status codes, and the corresponding according to Hypermedia Links in responses (HATEOAS).

    Why Laravel?
    Because Laravel is a framework made by programmers for programmers, expressive, simple, intuitive, and powerful. Laravel provides useful features for web projects including RESTful APIs.

    Each new Laravel version includes many changes that make this framework even better, simple, programmer-friendly, and at the same time much more powerful. In fact, the latest versions of Laravel included a lot of new features to help to develop RESTful APIs in the right way.

    During this course, you will master the complete structure of Laravel, along with the new features included in the latest version of Laravel to develop an actual RESTful API.

    You will learn this about the development of a RESTful API with Laravel:

  • Using the Laravel PHP artisan for code and components generation

  • Usage and creation of middleware on Laravel

  • The Laravel Resource routes and controllers (ideal for RESTful APIs)

  • Fully supported JSONformat responses for a JSON RESTful API

  • Validation of requests directly from the Laravel Controllers

  • Handling all types of exceptions and errors from Laravel handler

  • Complex operations involving up to three resources/models for a specific operation

  • Usage of Laravel dependency injection and model binding

  • Generation of the database structure using Laravel migrations

  • Automatic insertion of fake data into the database through “faker,” using Laravel factories, and seeders

  • Laravel Sessions and access_token authentication for the RESTful API. Yes, Both!

  • Using Laravel Passport to protect the RESTful API with OAuth2

  • Paginationof results using Laravel collections

  • Using URL parameters to execute actions (the RESTful approach)

  • Sortingresults based on URL parameters with a RESTful approach

  • Filteringresults using URL parameters

  • Cachingresponses using Laravel Cache System

  • Limitation of requests using the Laravel middleware

  • Implementing HATEOAS on Laravel (a pure RESTful API must use HATEOAS)

  • Using PHP Fractal for transforming responses

  • Usage of CORSon the API responses to allow JavaScript-based clients and web browsers.

  • Use the Laravel Policiesand Gatesto handle the user’s authorization layer.

  • Much more!!

  • You can take a look at the full list of contents below. You will finish with a complete RESTful API and understanding a lot of Laravel skills.

    You will create an actual RESTful API from scratch and step by step using Laravel. Follow the REST architecture and build appropriate URLs to identify actions and resources using the Laravel best features and learn Laravel in the way.

    Take full advantage of tools like Sublime Text 3, Git, power shell, Laravel, Composer, PHP artisan, and be more productive for agile development.

    Note: In few classes of the course I use Windows (only for the first classes), but I included specific directions in the case you use Linux or Mac and all the tools used are cross-platform, so you will no have any problem.

    You will have lifetime access to the current classes and the classes that I will regularly add (take a look at the last section to see what is coming).

    At the end of this course, you will be able to develop your pure RESTful API with Laravel in an efficient way with the best practices, taking advantage of the facilities provided by Laravel for the proper implementation of your projects and your RESTfulAPI.

    Do not wait any longer. Join the course and see you in classes.

    Course Curriculum

    Chapter 1: Introduction

    Lecture 1: About the Instructor and the Course

    Lecture 2: Taking Advantage of the Course and Contents

    Lecture 3: How to Ask Questions

    Chapter 2: Downloading and Installing the Tools to Develop the RESTful API with Laravel

    Lecture 1: Downloading and Installing PHP with XAMPP

    Lecture 2: Downloading and Installing Composer

    Lecture 3: Downloading and Installing Virtual Box

    Lecture 4: Downloading and Installing Vagrant

    Lecture 5: Downloading and Installing Sublime Text 3

    Lecture 6: Downloading and Installing Github Shell

    Lecture 7: Downloading and Installing Node and NPM

    Lecture 8: Downloading and Installing Postman to Test the Laravel RESTful API

    Chapter 3: Creating and Setting the Initial Structure of Laravel for the RESTful API

    Lecture 1: Obtaining Laravel Using Composer

    Lecture 2: Adding Laravel Homestead as a Dependency for The Laravel Project

    Lecture 3: Laravel 6 and higher additional step

    Lecture 4: Notes About Laravel Vite

    Lecture 5: Preparing and Configuring Laravel Homestead

    Lecture 6: Adding the Virtual Domain on The System

    Lecture 7: Using Vagrant to Manage the Laravel Homestead Virtual Machine

    Lecture 8: Keep The Laravel Project Updated

    Chapter 4: Configuring and Using Sublime Text 3 to Develop the RESTful API with Laravel

    Lecture 1: Installing the Package Control

    Lecture 2: Creating and Using Projects

    Lecture 3: Installing and Using SublimeCodeIntel to Resolve Laravel and RESTful API classes

    Lecture 4: Installing and Using SideBarEnhancement

    Lecture 5: Installing and Using SublimeLinter for PHP

    Lecture 6: Installing and Using PHPCompanion to Auto-import Laravel Definitions

    Chapter 5: Understanding the Case Study for the RESTful API

    Lecture 1: Understanding the RESTful API Resources (Models) and its Relationships

    Lecture 2: Understanding the Main End-Points for the RESTful API

    Chapter 6: Discovering and Configuring the Laravel Structure for the RESTful API

    Lecture 1: Discovering the Laravel Structure

    Lecture 2: Discovering the Laravel PHP Artisan Commands

    Lecture 3: Configuring the Laravel Environment Variables

    Lecture 4: Understanding the Laravel Routes System for RESTful APIs

    Chapter 7: Creating the Initial Laravel Components for the RESTful API

    Lecture 1: How to Solve Common Errors During the Development of the RESTful API

    Lecture 2: Creating Initial Laravel Structures for The Models and Its Migrations

    Lecture 3: Creating an Initial Laravel Structure for The Controllers

    Lecture 4: Creating Some End-Point for the RESTful API Using Laravel Resource Routes

    Chapter 8: Implementing the RESTful API Models and its Relationships using Laravel Eloquent

    Lecture 1: Implementing The Properties for Category

    Lecture 2: Implementing The Properties for Product

    Lecture 3: Implementing The Properties for Transaction

    Lecture 4: Implementing The Properties for User

    Lecture 5: Implementing The Relationships Between Models

    Chapter 9: Creating the Database Structure Using Migrations from Laravel

    Lecture 1: Solving a Common Issue with the Laravel Migrations

    Lecture 2: Implementing The Migration for Users

    Lecture 3: Implementing The Migration for Categories

    Lecture 4: Implementing The Migration for Products

    Lecture 5: Implementing The Migration for Transactions

    Lecture 6: Creating the Migration for The Pivot Table

    Chapter 10: Creating the Laravel Factories for Database Seeding

    Lecture 1: Creating The Laravel Factory for User

    Lecture 2: Creating The Factory for Category

    Lecture 3: Creating The Factory for Product

    Lecture 4: Creating The Factory for Transaction

    Lecture 5: Using The Factories from The DatabaseSeeder of Laravel

    Lecture 6: Executing The Migrations and Seeder using Artisan from Laravel

    Chapter 11: Implementing the Operations for UserController

    Lecture 1: Implementing The Index Method for UserController

    Lecture 2: Implementing The Show Method for UserController

    Lecture 3: Implementing The Store Method for UserController

    Lecture 4: Implementing The Update Method for UserController

    Lecture 5: Implementing The Destroy Method for UserController

    Chapter 12: Implementing the operations for Buyer

    Lecture 1: Implementing The Index Method for BuyerController

    Lecture 2: Implementing The Show Method for BuyerController

    Chapter 13: Implementing the operations for Seller

    Lecture 1: Implementing The Index Method for SellerController

    Lecture 2: Implementing The Show Method for SellerController

    Chapter 14: Improving the current RESTful API operations

    Lecture 1: Defining Mutators and Accessor for Models

    Lecture 2: Generalizing The Response Methods

    Lecture 3: Using The Generalized Methods

    Lecture 4: Using The Generalized Methods for Error Responses

    Chapter 15: Handling Errors and Exceptions with the Laravel Handler

    Lecture 1: Returning Validation Errors as a JSON Response

    Lecture 2: Returning Model Not Found Errors as a JSON Response

    Lecture 3: Handling AuthenticationException

    Lecture 4: Handling AuthorizationException

    Lecture 5: Handling NotFoundHttpException

    Lecture 6: Handling MethodNotAllowedHttpException

    Lecture 7: Handling General HttpException

    Lecture 8: Catching Exceptions When Removing Related Resources

    Lecture 9: Handling Unexpected Exceptions

    Chapter 16: Implicit Model Binding with Routes and Methods

    Lecture 1: Using The Laravel Implicit Model Binding for Some Methods

    Lecture 2: Resolving Buyer Using Laravel Global Scopes

    Lecture 3: Resolving Seller Using Laravel Global Scopes

    Chapter 17: Implementing Soft Deleting for All the Models

    Lecture 1: Modifying the Migrations for Soft Deleting

    Lecture 2: Using soft Deleting for All the Models

    Chapter 18: Implementing the Operations for Category

    Lecture 1: Implementing the Index Method for CategoryController

    Instructors

  • RESTful API with Laravel- Build a Real Laravel  No.2
    JuanD MeGon
    Online Instructor | Senior Software Engineer
  • RESTful API with Laravel- Build a Real Laravel  No.3
    ProgramarYa By JuanDMeGon
    Your e-Learning Experience
  • Rating Distribution

  • 1 stars: 45 votes
  • 2 stars: 45 votes
  • 3 stars: 165 votes
  • 4 stars: 367 votes
  • 5 stars: 655 votes
  • Frequently Asked Questions

    How long do I have access to the course materials?

    You can view and review the lecture materials indefinitely, like an on-demand channel.

    Can I take my courses with me wherever I go?

    Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!