Skip to content

Instantly share code, notes, and snippets.

@molotovbliss
Created March 19, 2018 17:29
Show Gist options
  • Star 14 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • Save molotovbliss/11e0b106a8ea1064addcb8f60b69b30c to your computer and use it in GitHub Desktop.
Save molotovbliss/11e0b106a8ea1064addcb8f60b69b30c to your computer and use it in GitHub Desktop.
Magento2 Resources List; Needing a place to keep a list of all the tools/references used during Magento development.

M2 DEV LINKS

Needing a place to keep a list of all the tools/references used during Magento development.


OFFICIAL MAGENTO REPOS AROUND M2

MAGENTO 2 CERTIFICATION

SERVICES / SERVER / SETUP

DASHBOARDS

CLIENT/ADMIN TOOLS

MUST-HAVE-MODULES

DEV RELATED MODULES

DATA GENERATORS/SCRUBBERS/INTEGRATIONS

PERFORMANCE

SECURITY

SEO

TEMPLATES/SKINS

HEADLESS/PWA

MAGENTO CODE EXAMPLES

COMPOSER

TECH DEBT/REPORTS

COMPILED MAGENTO RESOURCES LISTS

OTHER RELEVANT RESOURCE LISTS

PHP/PROGRAMMING

CHECKLISTS

GIT


PERSONAL GIST NOTES/SCRIPTS

Frontend Magento2.x useful code snippets

M2 CLI Commands Snippets

sync local db with remote db via bash

easy xdebug toggle bash script

restart all lamp services

optimal opc.ini for production

Configuration/Scripts for Magento 2.x PHP7.x OPCache Apache2.x mod_pagespeed

Generate a self signed certificate for HTTPS on local domains

Mage::Log or similar logging in M2

Magento 2.x PHP Bootstrap file with Logging

Batch check directory with XMLlint

Uses git detect changes & email adminis daily


DEVELOPER NOTES / QUICK REFERENCE

Optimizing Magento 2 Dev Environment

• mode = developer
• cache on
• no DI compile
• opcode on (validate_timestamps on opcache.ini)
• PHP 7+
• xdebug off (use a toggle bash script)

PHP conditions

        isset  is_null ===null  ==null  empty
 null |   F   |   T   |   T   |   T   |   T   |
unset |   F   |   T   |   T   |   T   |   T   |
  ""  |   T   |   F   |   F   |   T   |   T   |
  []  |   T   |   F   |   F   |   T   |   T   |
    0 |   T   |   F   |   F   |   T   |   T   |
false |   T   |   F   |   F   |   T   |   T   |
 true |   T   |   F   |   F   |   F   |   F   |
    1 |   T   |   F   |   F   |   F   |   F   |
   \0 |   T   |   F   |   F   |   F   |   F   |

Who put this together?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment