PHP

Showing 10-18 of 40 results
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 ChevronBack-end

Server-side I/O Performance: Node vs. PHP vs. Java vs. Go

by Brad Peabody

Understanding the Input/Output (I/O) model of your application can mean the difference between an application that deals with the load it is subjected to, and one that crumples in the face of real-world uses cases. Perhaps while your application is small and does not serve high loads, it may matter far less. But as your application’s traffic load increases, working with the wrong I/O model can get you into a world of hurt.

16 minute readContinue Reading
EngineeringIcon ChevronBack-end

PhalconPHP: A Solution for High-load RESTful APIs

by Andrew Belousoff

PhalconPHP will make your high-load application fast and easy, it's one of the fastest MVC frameworks for PHP available. It's written in C and supplied as a compiled PHP extension, so it doesn’t need to be interpreted at every request. Consider PhalconPHP for your next project, you won't regret it.

20 minute readContinue Reading
EngineeringIcon ChevronBack-end

Magento 2 Tutorial: How to Build a Complete Module

by Gabriel Queiroz Silva

Magento built a reputation as an e-commerce market leader, all thanks to its ease of use and customizability. Getting into the framework was only made easier with the release of Magento 2. In this post, Toptal Software Engineer Gabriel Queiroz Silva gives us a step-by-step tutorial to building your first Magento 2 website.

25+ 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

PHP Frameworks: Choosing Between Symfony and Laravel

by Karim Sakhibgareev

Many popular languages for web development have their 'default' framework, such as Ruby on Rails for Ruby, or Django for Python. However, PHP has no such single default and has multiple popular options to choose from. In this article, Toptal Freelance Developer Karim Sakhibgareev compares the two most popular PHP frameworks, Symfony and Laravel, explores their features, and establishes guidelines for how PHP developers should choose between them.

17 minute readContinue Reading
EngineeringIcon ChevronBack-end

WordPress REST API: The Next Generation CMS Feature

by Brian Coords

For a while, WordPress seemed to had fallen behind. As the web became more reliant on JavaScript to create immersive, interactive experiences, it became increasingly clear that WordPress needed to offer new ways for users and developers to interact with its content. In this post, Toptal Freelance Developer Brian Coords explores the amazing new features of WordPress's REST API, showing why WordPress is still on the cutting edge of web development.

12 minute readContinue Reading
EngineeringIcon ChevronTechnology

How to be Efficient in PhpStorm: An IDE that Really Matters

by Alexey Filatov

It’s every developer’s dream to be more efficient. In this article, you’ll learn how one engineer saved himself from typing more than 20,000 characters over six months and prevented 1,000 bugs in the process.

16 minute readContinue Reading
EngineeringIcon ChevronBack-end

How to Build a Multilingual App: A Demo With PHP and Gettext

by Igor Santos

Making your website or web app available to a wider audience often requires it to be available in multiple languages. For non-English projects, you can increase your audience by releasing it in English as well as your native language. Internationalizing and localizing your project, however, becomes a much easier process if you start during its infancy. In this article, Toptal Software Engineer Igor Gomes dos Santos shows us how to leverage simple tools, like Gettext and Poedit, to internationalize and localize a PHP project.

16 minute readContinue Reading

Join the Toptal® community.