Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/theihasan/mailer-lite-api-consume


https://github.com/theihasan/mailer-lite-api-consume

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

Laravel MailerLite Integration


Introduction


This Laravel application integrates with MailerLite to manage subscribers. Users registering on the platform will automatically have their names and emails added to a specified MailerLite list. Admins can later manage subscribers, including viewing, deleting, and adding subscribers to different groups.


Features




  • Automatic Subscriber Addition: Upon user registration, the user's name and email are automatically added to the designated MailerLite list.


  • Admin Panel: Administrators can manage subscribers, view subscriber details, delete subscribers, and assign subscribers to different groups.


  • Secure and Efficient: Utilizes Laravel's built-in features for secure authentication and efficient database management.


  • Scalable: Designed to scale with your application's growth, allowing for easy management of subscribers as your user base expands.


Installation



  1. Clone the repository:
    git clone https://github.com/imabulhasan99/Mailer-Lite-API-Consume.git


  2. Navigate to the project directory:
    cd Mailer-Lite-API-Consume


  3. Install dependencies:
    composer install


  4. Set up your environment variables by copying the .env.example file:
    cp .env.example .env


  5. Generate the application key:
    php artisan key:generate


  6. Configure your MailerLite API key in the .env file:
    MAILER_LITE_API_KEY=your_mailer_lite_api_key_here


  7. If you want to add users to specific group then open config/maillite.php file:
     'group_id'  => [your group id]


  8. You will get your group id under group name in your dashboard
  9. Run database migrations:
    php artisan migrate



Usage


Once the installation steps are completed and your application is set up, you can start using the Laravel MailerLite integration. Users registering on your platform will automatically have their information added to the specified MailerLite list. Administrators can access the admin panel to manage subscribers.


Admin Panel


The admin panel allows administrators to:



  • View a list of subscribers

  • View subscriber details

  • Delete subscribers

  • Assign subscribers to different groups


To access the admin panel, navigate to /dashboard in your web browser and log in using your administrator credentials.


Contributing


Contributions to the Laravel MailerLite integration project are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.


License


This project is open-source software licensed under the MIT License.