How to handle logs and reports in your app using Laravel 5 – Part 1
Logging is a very important part of every application. Introduction When building an app, it’s always good to keep track of virtually every activity on the application. It gives you an overview of what your users  are doing and what mistakes they make more often. From a security perspective, web application logs can be very useful in: [...]
How to create a custom Artisan Command in Laravel 5
Several artisan commands come shipped with Laravel 5. Run php artisan list and you will get all the artisan commands that you can use. Some of the most popular ones that are used on a daily basis are: php artisan serve, php artisan down, php artisan up, php artisan make:migration. Introduction The more your application grows, the more functionalities [...]
Api Rate Limiting Out of the box in Laravel 5.2
This is a series of posts that showcase new features and aha moments in Laravel 5.2 1. Implicit Route Model Binding 2. Simplified Eloquent Global Scopes 3. Append Scheduled Tasks Output 4. Form Array Validation 5. Middleware Groups 6. Auth Scaffolding 7. Â API Rate Limiting 8. More helper functions Laravel makes web development so easy [...]
How to build a Project Management App in Laravel 5 – Part 9
Create a collaborators directory in the resources/views directory and create a form.blade.php. In the form.blade.php, add this: [crayon-596663542b9cd191735518/] Then go to your show.blade.php in your projects directory and add @include('collaborators.form') just immediately after the div that gives us information about the number of comments, [...]
How to build a Project Management App in Laravel 5 – Part 8
Let’s provide the ability to add Comments to the various tasks. Create a new folder named comments in the views directory and create a form.blade.php inside the comments directory. Move the part of the show.blade.php that has to do with the comment form into form.blade.php file like so: form.blade.php [crayon-596663542d45b291585844/] [...]
PHP Super Globals
Superglobals are built-in variables in PHP that are always available in all scopes. Available in all scopes mean these variables can be accessed from any part of your application/project. These are the super global variables we have in PHP at the time of this writing: 1. $GLOBALS Any variable assigned to this super global is accessible in [...]
PHP[WORLD] 2015
I welcome you to this year’s php[world] conference. The conference strive to create an amazing experience for the greater PHP community that brings together developers from Drupal, WordPress, Joomla!, Magento, Zend Framework, Symfony, Laravel, CakePHP and more. A lot of very important personalities are present for the #PHPWorld Conference [...]
Profile your PHP Applications with BlackFire
There are so many situations where you really want to monitor the performance of your web apps. Sometimes you want to know why a certain part of the app takes donkey hours to load, other times you just want to find out ways you can increase the load time of your app. One very good solution that gives you awesome analysis about it right now [...]
Laravel Eloquent For Days: Crud, Mass Assignment, Aggregates, Eager Loading
Eloquent is the ORM for Laravel and it is a house of treasures. Dive deep into it and you’ll see lots of quality, awesome and unused mansions lying within. This is the beginning of a series titled Laravel Eloquent For Days! There are several helper functions, tips, tricks and techniques you will be exposed to when dealing with [...]
DOM Traversal in PHP – As simple as JQuery
JQuery is a very popular javascript library that has eased the traversal of HTML DOM elements. The Javascript community has benefitted immensely from that. PHP also has a very good library that can be used to traverse the DOM, it’s very efficient and simple to use. Today, I’ll show you how to do DOM Traversal in PHP using Symfony’s [...]