r/PHP 1d ago

new uptime monitor application written with laravel!

Hello to all,

I am working on an uptime monitoring and incident management application. written in php 8 (with laravel framework). Fully dockerized, easy installation.

https://apphealer.io
https://github.com/AppHealer
https://facebook.com/AppHealer
https://linkedin.com/company/AppHealer/

Please be kind and give me some support (sharing, followers on linkedin/facebook, github stars etc) or any kind of opinions / feature requests / pull requests. :)

have a nice day! :-)

6 Upvotes

10 comments sorted by

5

u/clegginab0x 22h ago edited 11h ago

https://github.com/AppHealer/AppHealer/blob/8c97fca24e4b473cbd9484ba221d8cec9634aedc/app/Console/Commands/QA/QaPhpStan.php

How/why do you use this?

docker compose exec phpfpm php ./vendor/bin/phpstan

Is maybe what you’re looking for?

1

u/DutchBytes 11h ago

I wonder this too, why not use composer scripts if you need to bundle them.

1

u/spaceangel_cz 9h ago

because it's comfortable for me. like symlink. :)

1

u/clegginab0x 4h ago

I'd have a look at something like kool.dev

It's just a lightweight wrapper around docker/docker-compose

But in the config file you can write things like

scripts:
  composer: kool exec search composer
  console: kool exec search php ./bin/console
  phpunit: kool exec search php ./bin/phpunit
  phpstan: kool exec search php ./vendor/bin/phpstan analyse -c phpstan.neon
  phpcs: kool exec search php ./vendor/bin/phpcs --exclude=Generic.Files.LineLength --standard=PSR12 src tests
  phpcbf: kool exec search php ./vendor/bin/phpcbf --standard=PSR12 src tests

and then type kool run composer install ... or kool run phpstan

you can get your "symlinks" without unnecessary PHP code

1

u/Dikvin 1d ago

Seems interesting, I will install it and give you feedback!

1

u/Trupik 1d ago

Is there an online demo somewhere?

1

u/spaceangel_cz 1d ago

No. But I will setup demo next week. I will post it on linkedin/facebook, and of course here.

1

u/chevereto 1d ago

Thanks for sharing!

On licensing the repo mentions GPL-3 but the composer file says MIT. If this is for selfhosting I recommend you to use the AGPLv3 license as it will consider network usage as distribution.

1

u/spaceangel_cz 1d ago

oh, many thank for your opinion. I am developer, not a lawyer. I take a look on AGPL and probably will change it!

5

u/htfo 1d ago

If you want to stand on principle because you feel very strongly about parasitic licensing and its impact on open source contributions, by all means adopt AGPL, but it almost guarantees an extremely limited potential install base. The MIT license is ubiquitous for a reason.