(123) 456 789

Address:34 Gillon Rd, Grenada, Mississippi(MS), 38901

Email:info@example.com

Author: Bryan Serrano

  • Install Upgraded GNU Bash on a Macbook Pro

    Install Upgraded GNU Bash on a Macbook Pro

    When you get a new Macbook Pro with M1 chip you get an old version of Bash. Bash isn’t old. It’s still being maintained. It has millions of Linux and Windows users. Here’s how to put the newest version of Bash back inside your MacOS box. Prerequisite: Install Homebrew. (Install iTerm2 for good measure.) Install…

  • WordPress REST API Quickstart

    WordPress REST API Quickstart

    The WordPress REST API has been available since 4.7.  It’s robust, consistent, and nifty to work with. Why? Backend and mobile developers can use other frameworks while still keeping WordPress around for their customers. Frontend developers can build sites using JavaScript without having to touch PHP. Let’s get started! Recommended Tools Troubleshooting Getting Started WordPress API supports…

  • Get cwRsync Working With Vagrant On Windows 10

    Get cwRsync Working With Vagrant On Windows 10

    Getting cwRsync to work with Vagrant on Windows 10 is a pain. This tutorial is for people who have: Reading comprehension 101: cwRsync is a standalone version of rsync for Windows that doesn’t require Cygwin to be installed. I don’t have Cygwin installed because Git For Windows includes Git Bash and this is “good enough.” With a…

  • Pcov Is Better than Phpdbg and Xdebug for Code Coverage

    Pcov Is Better than Phpdbg and Xdebug for Code Coverage

    pcov is faster, uses less memory, is more accurate than phdbg. Phpdbg Pcov Caveat, only works with PHPUnit 8+… Or does it? How to switch to pcov if you are stuck with PHPUnit 7 If you are doing this: Or this: Simply change to: And you’re done.

  • Phpdbg Is Much Faster Than Xdebug For Code Coverage

    Phpdbg Is Much Faster Than Xdebug For Code Coverage

    I work on a project that uses Travis CI to test and build against three jobs. (PHP 7.0, 7.1, 7.2) I recently ran into a roadblock where Travis would fail with “No output has been received” on the job that did code coverage using Xdebug. A screenshot of the last successful build before the failure: Only…

  • Forbidden File Names on Windows 10

    Forbidden File Names on Windows 10

    When I switched from Linux/OSX  to Windows 10, I encountered problems with “disappearing files.” First time it happened: I have a web application with a directory  named “aux.” When copying over the project from Linux to Windows this folder and its contents silently disappear. Second time it happened: Pulling the textmate.ruby bundle from GitHub: List of reserved file names on Windows 10: The following…

  • Building a Simple API using Opulence PHP

    Building a Simple API using Opulence PHP

    This tutorial will show you how to code a simple JSON API using Opulence PHP. We will install Opulence’s skeleton project using composer, then create a ‘user’ database entity, and finally we will match CRUD (Create, Read, Update, Delete) to POST, GET, PUT, and DELETE. Prerequisites: PHP7, Composer, MySQL. Installing Create an Opulence project with the following command:…

  • Install PHP7 and Composer on Windows 10

    Install PHP7 and Composer on Windows 10

    PHP7 is a general purpose scripting language well suited for web development. Composer is the defacto package manager for PHP7. This tutorial will show you how to install PHP7 and Composer on Windows 10 for use in a command prompt. A common misconception is that you need a web server like IIS, Apache, or Nginx…

  • Install Phalcon PHP On Windows 10

    Install Phalcon PHP On Windows 10

    A common misconception is that you need a web server like IIS, Apache, or Nginx to get started with PHP7 development. In fact, PHP7 has its own built in web server that you can invoke at the command prompt. Many modern PHP frameworks support this, such as Phalcon PHP. PHP7 and Composer on Windows 10…

  • Autocomplete a Silex Project in PHPStorm

    Autocomplete a Silex Project in PHPStorm

    The problem with Silex, and Pimple in general, is that when you do: PHPStorm has no way of knowing what’s going on in, or how to auto-complete, $app. I’ve gotten around this in the past by creating an “Inception Proxy” alongside a .phpstorm.meta.php configuration but for a new Silex project I’ve inherited this is not…