tl;dr It is easy to execute any bash script or external tool within PhpStorm to enhance development.
PhpStorm easens PHP development a lot
with out of the box features like autocompletion, code analysis, quick
navigation to files & methods, visual debugging, and VCS & Composer support.
More than 1.000 plugins are available
to extend PhpStorm…
tl;dr Use the »path« type in Composer to handle monolithic Git repositories.
Composer is able to fetch packages from various sources, as long as these
packages are self-contained. Each package in a single VCS or ZIP-file.
This improves reusability and distribution of packaged code a lot. It is also
required to enable smart dependency…
tl;dr TYPO3 offers a simple API to create a flexible logging setup.
Developers may write a log file with just two lines of code,
and configure custom logging endpoints for individual classes.
Sometimes it is necessary to write logs in an extension. For example
if a script imports data periodically, the developer may want…
tl;dr Bulk compress images with Trimage and TinyPNG to speed up page requests.
Images usually have the largest share of the total size of webpages.
Compressing them will lead to a significantly lower document size and therefore
speed up the rendering of a website and saving the client's bandwith.
Most CMS offer some plugins…
tl;dr Use a cron and a shell script to backup a website hosted on uberspace automatically.
One of the most important things to set up in a website project is a
working backup strategy.
If the project is static, without any user input, then it is sufficient to
write a deployment script, which installs…
tl;dr I wrote a simple PHP script to test and use cURL while working with APIs.
curl is a command line tool and library to transfer
data with many different types of servers with many different types of protocols.
The most basic curl request is done with curl example.com which triggers
a HTTP request…
tl;dr I made a comprehensive cheat sheet for daily work with Git commands.
Git is super cool to use and I prefer the commandline over any GUI.
But some of the commands are confusing and non-descriptive.
For example git pull is a shortcut for git fetch && git merge.
But the shortcut for git…
tl;dr Write useful Git commit messages by following an appropriate message format.
Git requires messages for every commit. These are shown in the git log.
So whenever it is necessary to examine the history of a file, it is
very painful if these messages dont contain any useful information,
as this requires to dive…