Laravel

The Laravel framework.

Dockerize your Laravel app

Laravel PHP Docker

For this tutorial we will start with a very simple Laravel app that has no database, or that uses a sqlite database located in the storage directory. The main goal is to show you the main pitfalls to keep in mind when dockerizing a Laravel application.

Read
Static code analysis for Laravel

PHP Laravel

In a previous blog post we presented PHPStan, a static code analyzer for PHP. If you are developing a Laravel application, you can of course use PHPStan to validate your code. However, Laravel has a lot of subtleties and auto-magic that make static code analysis challenging. This is where Larastan comes into play: a wrapper around PHPStan that adds support specifically for Laravel.

Read
Implement CRUD operations in Laravel, and automatic code generation

Laravel PHP

When working with model objects in Laravel, you will typically have to implement the CRUD operations: Create, Read, Update and Delete objects from the database. To support these operations you will need to write:

Read
Laravel : Quickstart

Laravel PHP

Laravel is an extremely powerful PHP framework for building web applications, but the first steps can be quite intimidating. In this tutorial we guide you through the first steps to get you started as a breeze.

Read
Understanding Laravel middleware : admin users

Laravel PHP

In Laravel, a Middleware is basically a piece of code that should be executed for every http request. Middlewares are typically used to:

Read
Disable user registration in your Laravel application

Laravel

Laravel is a powerful framework that comes with a lot of boilerplate code to handle most common cases. One of these is users management (register, login, reset password etc.)

Read
Using PHP CodeSniffer in a Laravel project

Laravel

PHP CodeSniffer is a great tool that enforces everybody is using the same coding standard when contributing to a project. For a Laravel project, there are however a few caveats to handle...

Read
Using font awesome in a Laravel project

Laravel

Font Awesome is a fantastic icon set to improve your web application. The integration in Laravel requires a few additional steps...

Read
An introduction to Laravel ORM : Eloquent

PHP Laravel

When working with an object oriented language, like PHP, Java or Python, an Object-Relational Mapping (ORM) tool allows to automatically convert model objects into rows in a database and vice-versa. It allows to easily save objects in a database, without worrying about writing appropriate SQL requests.

Read
Using Laravel with a SQLite database

Laravel PHP

For a development environment or for small web applications, a SQLite database may be perfectly sufficient to store your data. It is also much lighter than a full blown MySQL database.

Read
This website uses cookies. More information about the use of cookies is available in the cookies policy.
Accept