Tidy up your code drastically by binding models to routes and automatically fetching a model by it's primary key when you access a URI like /users/1.
Interfaces are used in development a lot, but why make a class adhere to an defined interface? Let's take a look at an example of how this is useful.
A look at some of the most useful features of PHP7. These things might sound scary, but they're really simple, useful concepts.
Harness the power of Algolia's search service within Laravel. Easily sync model data and present the results to your users.
Namespaces are everywhere for good reason, they help organise your code and prevent naming conflicts. Learn how to use them, and how PSR-4 autoloading can help even the smallest projects.
Twillio provides a really easy way to send SMS messages. We go from setting up a number to sending messages, and then handling errors if things go wrong.
Letting an email service like Mailgun handle your email is the right way to go, it's also really easy to set up!
Easily set up powerful, flexible configuration within Slim 3 and make it easier to switch your application settings.
Generating random strings is usually part of every application, but how do we securely generate them?
A useful tip for when you need to quickly cast an array to an object.
Working with a database from PHP? PDO is a great option, and this series covers the essentials every developer should know.
How ternery operators can clean up your code and speed up development.
This series looks at the 5 SOLID design principals. These can be applied to any object oriented language.
PHP 5 is bundled with a reflection API that gives you the ability to reverse-engineer classes, interfaces, functions, methods and extensions. In this series we'll look at some examples to get you started with PHP reflections.
Did you know PHP has a built-in web server we can run from the command line? Let's take a look at how it works.