LaraCSV – Generate CSV files from your Eloquent models
Laravel Packages / April 24, 2017

LaraCSV – Generate CSV files from your Eloquent models

LaraCSV is a new package from Muhammad Usman that allows you to fluently generate CSV files from your Eloquent Models.

Read more…
The Static Site Generator Jigsaw Launched V1.0
Laravel Applications / April 20, 2017

The Static Site Generator Jigsaw Launched V1.0

Jigsaw, a static site generator, made by Tighten just tagged and launched v1.0 that includes the addition of Collections. These allow you to work with a list of related content, like blog posts, a portfolio of your work, staff bios, and more.

Read more…
An Introduction to Laravel Authorization Gates
Laravel Tutorials / April 19, 2017

An Introduction to Laravel Authorization Gates

Laravel Gate has an elegant mechanism to ensure users are authorized to perform actions on resources. Before version 5.1, developers used ACL packages such as Entrust or Sentinel along with middlewares for authorization. The problem with this approach is the permissions you attach to users are just flags; they don’t encode the complex logic of …

Laravel 5.5 Adds Support for Custom Exception Reporting
Laravel 5.5 / April 17, 2017

Laravel 5.5 Adds Support for Custom Exception Reporting

In Laravel 5.5 it will be possible to define a report method on any custom exception. Laravel will look for the existence of the report method on any exception that it catches in the Illuminate\Foundation\Exceptions\Handler class. if (method_exists($e, ‘report’)) { return $e->report(); } This is a convenient place to send a notification email to the …

Manage your Laravel Forge Sites and Servers through Alfred
Development Tools / April 14, 2017

Manage your Laravel Forge Sites and Servers through Alfred

Since the release of the Forge API developers have started creating a lot of apps and integrations, as well as an unofficial SDK. For those that use Alfred on the Mac, Vince Mitchell, launched a Workflow so you can quickly run many Forge commands right from your desktop. Some of the commands include: forge key …

Learn How to Send an Email on Error Exceptions
Laravel Tutorials / April 13, 2017

Learn How to Send an Email on Error Exceptions

You’ve created a new Laravel app for your client and deployed it on the production server. Everything was working fine till a customer has a problem with the app because of some buggy code. He immediately leaves the app, and the same thing happens with multiple customers before you know about the bug. You fix …

Quickly Run PHPUnit Tests in PhpStorm
Development Tools / April 12, 2017

Quickly Run PHPUnit Tests in PhpStorm

PhpStorm has loads of features and it’s extremely powerful, however, it can be difficult finding new options that will speed up workflow. A few months ago we covered a Sublime Text Package for automatically running your PHPUnit tests and by using a keyboard shortcut it drastically reduces the time it takes to run them. The …

Laravel v5.4.18 is now released
News / April 11, 2017

Laravel v5.4.18 is now released

Laravel V5.4.18 is now released and available. This is a maintenance release but it does include a few new features to the TestResponse, Validator, Artisan, and Mailer. Test Response The TestResponse received a few new methods: assertSeeText() assertDontSeeText() assertJsonMissing() assertSuccessful() The assertSeeText() and assertDontSeeText() look for text within HTML responses, but run a strip_tags over …

Using the Google API with Socialite
Laravel Tutorials / April 11, 2017

Using the Google API with Socialite

When I start a project that requires users to log in using their Google accounts, I immediately turned to Laravel Socialite. Socialite is one of Laravel’s official packages, but it is clear it only handles user authentication, making its use not as dynamic as I had hoped it would be. While I needed users to …

Building maintainable PHP apps using Composer
Laravel Tutorials / April 10, 2017

Building maintainable PHP apps using Composer

This tutorial brought to you by Recognize the problem of trying to use somebody’s library and having to copy it into your codebase, use submodules, or even PEAR, which causes headaches for many PHP developers. Composer is here to solve these problems, similar to NPM for JavaScript devs, and Bundler for Ruby devs, by defining …