Anuncios Libros Cursos Categorías

Laravel a producción/deployment mediante Apache y MySQL

29-07-2024 - Andrés Cruz

Laravel a producción/deployment mediante Apache y MySQL

Laravel Lanzar tu app en Laravel en producción o hacer el deployment, para ello, los pasos que tienes que seguir no difieren mucho de cualquier otro proyecto de PHP, veamos los pasos que debes de tener en cuenta.

Continuar leyendo


Using the with method to load Relationships with Eager Loading

09-07-2024 - Andrés Cruz

Laravel When we work with relationships in Eloquent, we often need to load all the relationships of a specific model or several, we are talking about having a main model and another or others that we relate using a foreign key and we want to load all this data in a single query, Let's see how to do it using the with method.

Continuar leyendo


Uso del método with para cargar Relaciones con Eager Loading

09-07-2024 - Andrés Cruz

Laravel Cuando trabajamos con relaciones en Eloquent, a menudo necesitamos cargar todas las relaciones de un modelo específico o de varios, estamos hablando a que tenemos un modelo principal y otro u otros relacionamos mediante una clave foránea y deseamos cargar todos estos datos en una sola consulta, veamos como hacerlo mediante el método de with.

Continuar leyendo


Eloquent Relationships in Laravel: “Has”, “With” and “WhereHas” Methods

08-07-2024 - Andrés Cruz

Laravel In Laravel, the model layer with Eloquent is one of the richest MVC layers that Laravel includes and with the most options, and it is not superfluous, since it is the data layer, which connects to the database. data to manage it; There are many methods available in Eloquen, but, we are going to know 3 that can be confused with “Has”, “With” and “WhereHas”.

Continuar leyendo


Relaciones Eloquent en Laravel: Métodos “Has”, “With” y “WhereHas”

08-07-2024 - Andrés Cruz

Laravel En Laravel, la capa del modelo con Eloquent es una de las capas del MVC que incluye Laravel más ricas y con más opciones, y que no está demás, ya que se trata de la capa de datos, la cual se conecta a la base de datos para gestionar la misma; hay muchos métodos disponibles en Eloquen, pero, vamos a conocer 3 que pueden confundirse que con los “Has”, “With” y “WhereHas”.

Continuar leyendo


Laravel Fortify, what it is, when to use and first steps

10-07-2024 - Andrés Cruz

Laravel Fortify, what it is, when to use and first steps

Laravel Laravel Fortify is a package for authentication, registration, password recovery, email verification and more, in short, it allows you to perform the same functionalities as Laravel Breeze that we used before, but without the graphical part.

Continuar leyendo


Laravel Fortify, qué es, cuando usar y primeros pasos

10-07-2024 - Andrés Cruz

Laravel Fortify, qué es, cuando usar y primeros pasos

Laravel Laravel Fortify es un paquete para la autenticación, registro, recuperación de contraseña, verificación de correo electrónico y más, en pocas palabras, permite realizar las mismas funcionalidades que Laravel Breeze que empleamos antes, pero sin parte gráfica.

Continuar leyendo


Simple QR, Generate codes in Laravel

05-07-2024 - Andrés Cruz

Simple QR, Generate codes in Laravel

Laravel QR codes are fashionable and serve to extend our application in a simple and visual way, sharing a QR code that can internally process the application using a discount code or URL. Let's see how to use them in Laravel.

Continuar leyendo


Simple QR, Genera códigos en Laravel

05-07-2024 - Andrés Cruz

Simple QR, Genera códigos en Laravel

Laravel Los códigos QRs están de moda y sirven par poder extender nuestra aplicación de una manera sencilla y visual, compartiendo un código QR que internamente puede procesar la aplicación mediante algún código de descuento o URL, veamos como emplearlos en Laravel.

Continuar leyendo


Middleware to Verify the es/en language prefix

07-07-2024 - Andrés Cruz

Laravel The next development that we are going to carry out is to use a middleware to detect the language configured by the user and establish it through the translation text strings, in addition, we also define the acronyms or language tag in the URL to return the corresponding translation.

Continuar leyendo