Setting up authentication and state in a stateless API context might seem somewhat problematic. But Laravel Passport gives developers a clean, straightforward way to add OAuth 2.0 to an app's API.
GraphQL is a query language for APIs and can be used to query data from a server while also allowing clients to specify exactly what data is needed. Toptal Freelance Developer Christopher Moore explains how to create a GraphQL server using the Laravel Framework along with walking through some examples including querying relationships, mutations, and authentication.
Updating live applications used to be a tedious and somewhat risky affair, but with the emergence of modern development frameworks and tools, updates and deployment are becoming straightforward. In this article, Toptal Java Developer Elene Latsoshvili explains how you can update a Laravel app with zero downtime, and how this can be done for most PHP applications.
Laravel is a PHP framework developed with developer productivity in mind. Written and maintained by Taylor Otwell, the framework is very opinionated and strives to save developer time by favoring convention over configuration. The framework also aims to evolve with the web and has already incorporated several new features and ideas in the web development world---such as job queues, API authentication out of the box, real-time communication, and much more. In this article, we'll explore the ways you can build---and test---a robust API using Laravel. We'll be using Laravel 5.4, and all of the code is available for reference on GitHub.
Fat controllers and models: an inevitable problem for most large-scale projects based on MVC frameworks such as Yii and Laravel. Fortunately, there's a cure, and it's in architecting a layered structure.
When dealing with time consuming, resource intensive tasks, most PHP developers are tempted to choose the "quick hack route". We've all used "ini_set('max_execution_time', HUGE_INT);" before, but it doesn’t have to be this way. In today's tutorial, PHP developer Daniel Gheorghe demonstrates how an application’s user experience may be improved by separating long-running tasks from the main request flow using Laravel.
Authentication is one of the most important parts of any web application. For decades, cookies and server-based authentication was the easiest solution. However, handling authentication in modern Mobile and Single Page Applications can be tricky and demand a better approach. One of the best known solutions to authentication problems for APIs is the JSON Web Token (JWT).
World-class articles, delivered weekly.
Subscription implies consent to our privacy policy
Thank you!
Check out your inbox to confirm your invite.
Join the Toptal® community.