Setup for core development

If you are into Framelix and really want to help improving the core, here is how you can start developing directly in the core, tests and docker image.

Requirements

Same as Setup for module development.

Setup

  1. First, fork the repository on https://github.com/frmlx/framelix.
  2. Clone your forked repository somewhere to your host git clone https://github.com/{username}/framelix
  3. Change to that directory and run the following commands
Copy to clipboard

This will create 4 available apps/ports on your host.

What and how to develop?

First and foremost, when you want to create new features, please first consider creating a discussion on Github. Maybe someone else is already working on similar things.

As Framelix is a Full-Stack container, there are many things where you can develop. Improving the docker container itself. Improving the Framelix module core. Just working on some frontend stuff inside the core, etc... Pick the thing you like, you don't need to know everything to help us out.

It is best, to just generally always ask when you're stuck. This is kind of a new Framework. A general rule of thumb is not established yet. Just come over and discuss with us.

PhpStorm Setup for tests

We use PhpStorm IDE a lot, as it have cool features that make development faster and easier. One thing of it is, you can run Php Unit tests directly from contextmenu in PhpStorm, including CodeCoverage reports, which is super handy.

To make this work, you need to set the following settings. Than you can right-click->Run on any PhpUnit test (or a whole folder) inside FramelixTests/tests.

phpstorm-cli-interpreter-docker-compose.png
phpstorm-test-frameworks.png
phpstorm-runtest.png