Coder Social home page Coder Social logo

Comments (3)

EdgedSheet avatar EdgedSheet commented on August 21, 2024 3

Maybe instead of only adding Mailpit, the "Services & Ports" should be extendable by the user with custom services.
That way we can use a config file just like laragon.ini and define a service with their path, port and possibly command.

Example of Mailpit can be:
Download Mialpit and throw it in laragon/bin/mailpit

[mailpit]
path="C:/laragon/bin/mailpit"
ExecuteCmd="./mailpit"
defaultPort=1025
ports=ui, 8025

or if you prefer Mailhog, you can always use it like:

[mailhog]
path="C:/laragon/bin/mailhog"
ExecuteCmd="./MailHog_windows_amd64"
defaultPort=1025
ports=ui, 8025

The Laragon Services & Ports UI will show up like this.

Services & Ports
At the bottom you see a new section called custom displaying Mailpit with the default port for the server and then the additional port for the web ui. Not sure how hard it would be to get these automatically when running a service, but these are set in the config.

What do you think about something like this @leokhoa ? Think that having extendable services would be really nice feature.

Really wish Laragon was Open Source so it would be easier for contributors to add certain features like this.

from laragon.

LrkDev avatar LrkDev commented on August 21, 2024

Hi !
While waiting for an answer, you can see this article :
https://pen-y-fan.github.io/2023/02/23/how-to-install-mailpit-in-laragon/

from laragon.

EdgedSheet avatar EdgedSheet commented on August 21, 2024

Hi ! While waiting for an answer, you can see this article : https://pen-y-fan.github.io/2023/02/23/how-to-install-mailpit-in-laragon/

This is a nice solution for now.
Comes really close to my comment with something regarding the autostart/services feature.
Wish this would work with the start/stop button, but alas.

from laragon.

Related Issues (20)

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.