Advanced Invoice Layout Extension
This Magento Extension offers customizable templates for PDF invoices, shipments and creditmemos that can be send via email to your customers.
learn moreTime is money and therefore every developer should strive for an optimal setup in which he can operate the fastest. Since I began with Magento in 2008 a lot has changed tool-wise and I am constantly improving to find the optimum Magento local development setup.
Now let's have a look at which software pieces do you need for fast and qualitative development of Magento Extensions:
As mentioned above Docker is a massive help in easily setting up a local Magento development environment and also switching between different PHP or Magento versions. Below you will find my perfect docker-compose.yml
that I use for each Magento project.
The setup has the following features:
Now let's have a look at the Docker Compose file:
version: "3.4"
services:
franken:
build: ./frankenphp
ports:
- "80:80"
- "443:443"
links:
- "mysql:mysql"
- "cache:cache"
- "mailhog:mailhog"
volumes:
- ../htdocs/:${WEBSERVER_DOCROOT}/htdocs
- ../src/:${WEBSERVER_DOCROOT}/src:delegated
- ../vendor/:${WEBSERVER_DOCROOT}/vendor
- ./magento/local.xml:${WEBSERVER_DOCROOT}/htdocs/app/etc/local.xml:ro
environment:
MAGE_IS_DEVELOPER_MODE: "1"
mysql:
image: mariadb:10.6
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_DATABASE: ${MYSQL_DATABASE}
MARIADB_AUTO_UPGRADE: 1
ports:
- "3306"
volumes:
- /var/lib/mysql
cache:
image: redis:latest
mailhog:
image: axllent/mailpit
ports:
- "1025:1025"
- "8025:8025"
Post Comments to "The ultimate Magento local development environment"