Download the PHP package nandosr98/laravel-remarketing without Composer

On this page you can find all versions of the php package nandosr98/laravel-remarketing. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-remarketing

📦 Laravel Remarketing

Laravel Remarketing es una librería sencilla y flexible que permite automatizar el envío de correos electrónicos de remarketing a usuarios que han iniciado un proceso (por ejemplo, una compra o solicitud) pero no lo han completado.

La librería se integra fácilmente en cualquier proyecto Laravel y permite configurar el tiempo de espera, el asunto del correo, la plantilla Blade a usar y el nombre de la cola de ejecución.


🚀 Instalación

Instala el paquete mediante Composer:

Publica los archivos de configuración, vistas y migraciones:

Ejecuta la migración para crear la tabla de remarketing:


⚙️ Configuración

El archivo de configuración config/remarketing.php permite personalizar el comportamiento del sistema de remarketing:


🧱 Estructura de la tabla

La migración create_laravel_remarketing_table crea una tabla simple para almacenar los registros de remarketing:

Campo Tipo Descripción
id bigint Identificador
model string Modelo relacionado (ej: App\Models\Order)
model_id bigint ID del modelo
sent boolean Si ya se ha enviado el email
queued boolean Si ya fue incluido en un Job
created_at timestamp Fecha de creación
updated_at timestamp Fecha de actualización

🧠 Flujo de funcionamiento

  1. Creación de un registro
  2. Ejecución del comando → selecciona los registros pendientes y crea Jobs.
  3. Job de envío → manda el correo RemarketingMessage.
  4. Evento de apertura → marca el registro como abierto.
  5. Evento de eliminación → borra el registro cuando se completa la acción.

⚡ Comando Artisan

Este comando:


📬 Job: RemarketingJob


💌 Mailable: RemarketingMessage


🎯 Eventos

Evento Descripción
OpenedRemarketing Se lanza cuando el usuario abre el correo.
DeleteRemarketing Se lanza cuando completa el proceso y se borra el registro.

Ejemplo:


🧩 Service Provider


🧪 Ejemplo completo


🕐 Cron recomendado


🧰 Requisitos


🧑‍💻 Autor

Desarrollado por nandosr98
Con ❤️ para la comunidad Laravel.


All versions of laravel-remarketing with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^11.0||^12.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package nandosr98/laravel-remarketing contains the following files

Loading the files please wait ...