How To Set Up Laravel, Nginx, and MySQL with Docker Compose (English)
Learn how to run Laravel with Nginx and MySQL using Docker Compose. Step-by-step setup for local development with containers.
Learn how to run Laravel with Nginx and MySQL using Docker Compose. Step-by-step setup for local development with containers.
In this guide, you will create a Laravel PHP application, build your app into a Docker image, and deploy that image to a Kubernetes cluster using the LAMP Helm chart. Next, you’ll set up an Ingress controller to add SSL and a custom domain name to your app. When completed, you will have a working Laravel application connected to a MySQL database that is running on a Kubernetes cluster.
Laravel’s Seeders are special classes that live in the `database/seeders` directory in a Laravel project that allow you to programmatically insert a collection of default or sample records in the database. In this guide, learn how to use seeders to populate the database with sample data, using Eloquent models.
When working with database query results, it is often useful to obtain only the total number of rows in a result set, instead of pulling the full dataset content with a regular query. Eloquent offers a few different aggregate methods that return a scalar value instead of an Eloquent object, such as count(), max(), and sum(). In this part of the series, you’ll update the main application view to show the total number of links in each list, using the count() method.
Migrations and Seeders are powerful database utilities provided by the Laravel PHP framework to allow developers to quickly bootstrap, destroy and recreate an application’s database.
Laravel is an easy to use, modern framework for the PHP programming language. In this guide, we will demonstrate how to install Laravel with an Nginx web server on an Ubuntu 14.04 server instance.
In a previous part of this series, you learned how to obtain database records using the all() method from within an Eloquent model, sorting the resulting collection with the sortDesc() method. In this guide, you’ll learn how to use the orderBy() method to sort results in the database query itself, which offers more flexibility and performance to order query results at the database level.
Die Containerisierung einer Anwendung bezeichnet den Anpassungsprozess einer Anwendung und ihrer Komponenten, um sie in einfachen Umgebungen ausführen zu können, die als Container bekannt sind. Derartige Umgebungen sind…
Using Laravel to build a real project. Deploying the project using Laravel Forge to the cloud provider.
Learn how to use Carbon in Laravel and PHP applications to read and modify dates and times.