Coder Social home page Coder Social logo

mailerlite-subscriber's Introduction

Subscriber Management System with MailerLite Integration

This project adds a subscriber management system to an existing web application, and integrates it with the MailerLite API.

The following features were added

  • Create new subscriber by accessing the PATH /subscriber/create
  • Update an existing subscriber by accessing the PATH /subscriber/edit
  • Delete an existing subscriber from the subscriber page
  • View all subscribers by accessing the PATH /subscriber
  • A request class to handle validations
  • a middleware that checks if a key exists in the database before accessing other routes
  • Encryption of Mailerlite Api key, as storing a raw key can be very unsafe
  • Validate and Save api key by accessing PATH /key/save

Some Subscriber Management System Technical integration Details:

  • Implements the repository design pattern for scalability, robustness and flexibility, This makes our code more robust to changes, such as if a decision was made later on to switch to a mail source that isn't MailerLite, this can easily be done without breaking any thing.
  • Uses of the PHP MailerLite SDK package installed via Composer.
  • Service providers was created for Mailerlite easy instantiation and dependency injection

Installation

To install the project, follow these steps:

  • Clone the repository
  • Install dependencies using Composer: composer install
  • Set up the database and environment variables
  • Run the database migrations: php artisan migrate
  • Start the server: php artisan serve

Usage

To use the subscriber management system, access the appropriate URLs as described above. The MailerLite integration is automatically available and can be accessed by using the MailerLite class as needed.

Usage

The project includes tests that can be run using PHPUnit. To run the tests, execute the following command: php artisan test

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [email protected]. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.