redhat-developer / alizer

⛔️ DEPRECATED - Application analyzer toolkit, use https://github.com/devfile/alizer instead
Apache License 2.0
12 stars 17 forks source link

Add laravel port detection #241

Closed thepetk closed 1 year ago

thepetk commented 1 year ago

What does this PR do?

It introduces a very first logic for laravel framework and port detection. The logic introduced focuses on the .env file which can be found inside the component and the APP_PORT variable.

APP_NAME=Laravel
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost
APP_PORT=9988

A test case for this logic has been added. Regarding the duplicate resources addition this will be cleaned during the issue #217

Which issue(s) does this PR fix

Fixes #212

PR acceptance criteria

Testing and documentation do not need to be complete in order for this PR to be approved. We just need to ensure tracking issues are opened.

How to test changes / Special notes to the reviewer