Laravel

Showing 1-7 of 7 results
EngineeringIcon ChevronBack-end

Full User Authentication and Access Control: A Laravel Passport Tutorial, Pt. 1

By Layo Folaranmi

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.

13 minute readContinue Reading
EngineeringIcon ChevronBack-end

Building a GraphQL Server with Laravel

By Christopher Moore

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.

15 minute readContinue Reading
EngineeringIcon ChevronTechnology

Laravel Zero Downtime Deployment

By Elene Latsoshvili

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.

7 minute readContinue Reading
EngineeringIcon ChevronBack-end

Laravel API Tutorial: How to Build and Test a RESTful API

By André Castelo

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.

18 minute readContinue Reading
EngineeringIcon ChevronTechnology

Maintain Slim PHP MVC Frameworks with a Layered Structure

By Elvira Sheina

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.

9 minute readContinue Reading
EngineeringIcon ChevronBack-end

Handling Intensive Tasks with Laravel

By Daniel Gheorghe

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.

10 minute readContinue Reading
EngineeringIcon ChevronWeb Front-end

JSON Web Token Tutorial: An Example in Laravel and AngularJS

By Tino Tkalec

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).

16 minute readContinue Reading

Join the Toptal® community.