Build REST APIs with PHP 7 and Laravel 5
What you'll learn
- Organize your PHP project development and production environment
- Work with RESTful APIs in PHP
- Implement your API with Silex framework for PHP
- Quickly build clean APIs with vanilla PHP and Laravel
- Leverage the built-in dependency injection container
- Build a weather API to collect weather information from multiple sources in a RESTful way
- Create a user administration RESTful API to authenticate and authorize users, paginate data, and perform advanced error reporting with appropriate error messages and data transformations
- Create a service that can get data from other applications, and aggregate and modify them
- Perform unit testing and endpoint testing on your APIs
PHP 7 with added features and Laravel, being the best and the most widely used PHP framework with its expressive and elegant syntax will ease your way of developing robust feature-rich websites, web applications, and web services. If you are a PHP developer who wants to build applications on the latest versions of PHP and Laravel by creating RESTful APIs, then go for this course.
This comprehensive 2-in-1 course is a step-by-step tutorial which is a perfect course to create and learn the use of REST APIs to make fully-functioning PHP applications. You will first learn the basic concepts associated with the REST architectural style. You will then learn to build a complete web service in vanilla PHP. You will also create, test, and secure your APIs by taking an example of a weather application which provides weather information from multiple sources. In this application, you will learn to use multiple libraries and technologies like Dingo API for routing, JSON web tokens for authentication, and Travis CI for continuous integration and testing. This course covers in-depth content with tutorials that put the theory into practice by giving you the skills required to build, test, and secure your own PHP Laravel APIs.
Contents and Overview
This training program includes 2 complete courses, carefully chosen to give you the most comprehensive training possible.
The first course, Building PHP RESTful Web Services, begins with an introduction to the REST architecture, the course goes on to build a complete web service in vanilla PHP. It shows you how to develop APIs that can be consumed by other services. You will learn to test and secure your web services by making use of Silex or Phalcon framework which simplifies the development process. You will also learn how to add reactivity to your web services, gearing you up for the journey to a microservice-based application.
The second course, Building RESTful API with Laravel, will make your client to server communication easier with HTTP requests. You will learn how to develop a real world, RESTful API with Laravel. You will then create an API from scratch, which provides weather information from multiple sources. You will also learn to use multiple libraries and technologies like Dingo API for routing, JSON web tokens for authentication and Travis CI for continuous integration and testing.
By the end of this course, you will be able to create, test, and secure your web services using PHP and Laravel.
Meet Your Expert(s):
We have the best work of the following esteemed author(s) to ensure that your learning journey is smooth:
Halil Burak Cetinkaya is a Software Engineer at Ericsson. He dedicates his time and effort to get better at everything. He is very passionate about everything associated with software development. He has developed many applications in his entire career. He is hardworking and always likes to learn and discover new things. He also likes to help other people.
Bence Gazder is a Software Developer at COdeCluster Ltd in Hungary and has worked on various projects for the Budapest University of Technology and Economics. He uses Laravel/Lumen every day, and a commit to Laravel-related open source projects regularly.
Who this course is for:
- This course is for PHP web developers who want to build RESTful web services using PHP and Laravel in simple and easy steps.
Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.
With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.
From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.
Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.