WordPress – Security & Performance

Security Wordfence Security I install this plugin on every client’s wordpress site. It’s amazing what the free version itself is capable of. Wordfence includes an endpoint firewall and malware scanner that were built from the ground up to protect WordPress. Our Threat Defense Feed arms Wordfence with the newest firewall rules, malware signatures and malicious […]

Composer vs NPM vs Bower

In every new Laravel project, lots of files are initiated and installed. Web developers will see two familiar files- composer.json & package.json. It looks similar but both are actually different. Composer Composer is a PHP dependency manager. It uses Packagist to get information on dependencies and install them properly for you. Important if you’re doing […]

Laravel – Beauty of Eloquent ORM

Laravel’s Eloquent ORM (Object-Relational Mapper) is an ActiveRecord implementation that allows one to work with database objects and relationships with expressive and verbose syntax! Suppose you want a query to retrieve all posts with the title ‘laravel’, Using Query Builder, you would do this, However, with Eloquent, you can do this, To shorten it further, […]

PHP Composer – Dist vs Source

Dist The dist is a packaged version of the package data. Usually a released version, usually a stable release. Source The source is used for development. This will usually originate from a source code repository, such as git. You can fetch this when you want to modify the downloaded package. Why is it important? Source […]

VSCode – Cheat Sheet

Reaching for the mouse breaks the mental flow. This cheat sheet is meant to help both hands stay on keyboard while coding. Shortcuts ⌃ + ` – Toggle terminal ⌘ + B – Toggle sidebar visibility ⌘ + D – Multiple cursors, click on each occurrence. ⇧ + ⌘ + L – Multiple cursors, click […]