Chilion

Blogs, Hints, Tricks and Howto's

Category

PHP

Create a new webserver with PHP7, Nginx, MariaDb and ready for Laravel!

I assume you are using Ubuntu 16.04 as your server OS. I also assume you have already installed it. Start with getting up to date. First of all, startup your server console, update and upgrade apt-get: sudo apt-get update sudo… Continue Reading →

An AcceptanceTest with Codeception for Laravel

As a follow up of my blog from yesterday which contained information howto get codeception and Laravel playing nicely together I tought it would be nice to make a small AcceptanceTest of a Login page to see how this actually… Continue Reading →

Codeception and Laravel 5

As the documentation wasn’t precisely clear to me, I decided to write a hands-on for future use. I hope someone will find it useful :-)   First of all, you need to require codeception in your Laravel project. This can… Continue Reading →

Php Code Standards Fixer

As you code longer and longer on the same project and don’t run PHP Code Standards┬átests, you will encounter messy code sooner or later. Well, FriendsOfPhp come to the rescue here! I’m totally in love with this project; To get… Continue Reading →

Setup a new Laravel webserver with Ubuntu, Nginx, MariaDB, Composer and GIT

I assume you are using Ubuntu 14.04 as your server OS. I also assume you have already installed it. Start with getting up to date. First of all, startup your server console, update and upgrade apt-get: sudo apt-get update sudo… Continue Reading →

Disable View Renderer Zend Framework 1

I had to work in a extremely old project, and needed to disable the View Renderer. It’s a quick one, if you know how to do it, so for later use and your convenience, hereby. Do it by adding the… Continue Reading →

Don’t use leading underscores in PHP functions

While I was looking over some 3rd party┬ácode, and some extremely new code of my own. I discovered that I still use the leading underscore for private functions. To be clear, I’m talking about this: <?php private function _foo(){ //Hi… Continue Reading →

© 2017 Chilion — Powered by WordPress

Theme by Anders NorenUp ↑