PHP – Paul Hayes https://paul-hayes.org Mon, 04 Sep 2017 13:09:20 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.3 Laravel Certification Now Available https://paul-hayes.org/2017/09/04/laravel-certification-now-available/ Mon, 04 Sep 2017 13:09:20 +0000 https://www.paul-hayes.org/?p=105 At Laracon 2017, it was announced that Laravel Certification is now available. There are certifications for individuals or teams. More info is available at https://laravel.com/certification/

]]>
FYI: Laravel 5.5 is out, remember to update your PHP https://paul-hayes.org/2017/09/04/laravel-5-5-is-out/ Mon, 04 Sep 2017 13:01:49 +0000 https://www.paul-hayes.org/?p=101 In case you didn’t already know, Laravel 5.5 was released in August. If you’re planning on using it, checkout the requirements. Make sure your PHP is version 7.0 or above. (I totally forgot this on my laptop, and was suprised that Laravel 5.4.30 kept installing on it.)

]]>
All Your Contact Forms Are Belong to Us: Critical Vulnerability Found in PHPMailer https://paul-hayes.org/2017/01/04/all-your-contact-forms-are-belong-to-us-critical-vulnerability-found-in-phpmailer/ Wed, 04 Jan 2017 18:19:15 +0000 https://www.paul-hayes.org/?p=54 David Golunski found a big vulnerability in PHPMailer. Essentially the sender data isn’t sanitized in PHPMailer versions less than 5.2.18. More details at Wordfence. The 4.7 version of WordPress has PHPMailer in it’s core in /wp-includes/class-smtp.php.

]]>
Good Drupal 8 Theme Book https://paul-hayes.org/2016/12/28/good-drupal-8-theme-book/ Wed, 28 Dec 2016 23:58:28 +0000 https://www.paul-hayes.org/?p=51 Check out “Drupal 8 Theming with Twig” by Chaz Chumley over at Packt. It’s a straightforward intro to using Twig with Drupal 8. Between now and Jan 1 2017, all e-books are $5!

Note: I did run into an issue with using the db to update between chapters and Drupal 8.2.4. There are a few fields that aren’t there. Other than that, a good read.

]]>
Haven’t learned PHP 7.0? You’re going to learn it now: Laravel 5.5 Will Require It https://paul-hayes.org/2016/12/18/havent-learned-php-7-0-youre-going-to-learn-it-now-laravel-5-5-will-require-it/ Sun, 18 Dec 2016 18:58:37 +0000 https://www.paul-hayes.org/?p=48 “But my job is only using 5.6…”

Well, it’s time to learn PHP 7.0 because Laravel 5.5 is gonna require it.

Check out the details here at Laravel News!

]]>
Get OpCache running on scotchbox : Simple Saturday https://paul-hayes.org/2016/12/10/get-opcache-running-on-scotchbox/ Sat, 10 Dec 2016 22:58:32 +0000 https://www.paul-hayes.org/?p=41 Working on a Drupal8 project and using scotchbox for the dev enviroment does not have OpCache enabled by default.

You’d think that the php.ini file to enable it would be in /etc/php5/apache2/php.ini, but you’d be wrong.

The setting is actually in /etc/php5/apache2/conf.d/user.ini .

]]>
Good Bootstrap to WordPress Tutorial https://paul-hayes.org/2016/11/25/good-bootstrap-to-wordpress-tutorial/ Fri, 25 Nov 2016 23:56:38 +0000 http://www.paul-hayes.org/?p=37 So, I had to pick back up my wordpress theming skills for a job I’m starting, and found a good tutorial that shows you how to convert a bootstrap site to a wordpress theme. (Kill two birds with one stone).

Check out Building WordPress Themes with Bootstrap over at EnvatoTuts+ by Adi Purdilla

]]>
Hacking 27% of the Web via WordPress Auto-Update https://paul-hayes.org/2016/11/23/hacking-27-of-the-web-via-wordpress-auto-update/ Wed, 23 Nov 2016 22:39:09 +0000 http://www.paul-hayes.org/?p=35 We think that some of the tools that we use for the web are secure if it comes automatically from a central point. Well, the guys over at Wordfence found a pretty significant point of failure at the api.wordpress.org service.

 

]]>
Laravel 5.3 is now available https://paul-hayes.org/2016/08/23/laravel-5-3-is-now-available/ Wed, 24 Aug 2016 03:27:43 +0000 http://www.paul-hayes.org/?p=26 Laravel 5.3 welcome screenNew major features have been added

  • Laravel Scout : Laravel Scout is a new driver based full-text search engine for Eloquent
  • Laravel Passport : You need to make an OAuth 2 server? Laravel Passport has got you covered. Get one set up in a few minutes.
  • Laravel Echo : Laravel Echo is an improvement to the existing event broadcasting system that makes it easy to work with web sockets. To utilize Echo the backend will ship with the Laravel core and then you will need to pull in an NPM package for the JavaScript side. (I need to look deeper into this)

More details can be seen at the official blog for Laravel.

FYI: Read the requirements! I had to update my laptop’s PHP to 5.6. (Though I’m covered on my vagrant boxes. Thanks scotchbox!

]]>
Learning Magento 2 https://paul-hayes.org/2016/05/25/learning-magento-2/ Wed, 25 May 2016 20:16:11 +0000 http://www.paul-hayes.org/?p=9 magento-logoI’ve done Magento 1 development for some years and was really eager when I heard that Magento 2 would be released. I preordered a few Magento 2 developer books at the end of 2015. I tried to go through a few and realized that some had major issues, (i.e. Vagrant configurations not working, or incomplete modules in the book.) so I decided to bite the bullet and purchase the Fundamentals of Magento 2 Development (On-Demand) online training course from Magento U. The next few articles will chronicle my learning experience.

The course costs $689, compared to the $3000+ for an in person experience at one of the centers in LA, Austin, NY or London.

There are 6 units that take about 6 – 8 hours each to complete.

So far my only complaint is that it is taking time for me to be able to access the student guide and exercise solutions. I’m able to access the video right away.

Note: I did try the free course for Unit 1, which doesn’t have the student guide and exercise solutions.

I’ll post more when I go through the each section.

 

]]>