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 …

Laravel 5.5 Adds Frontend Presets
Laravel 5.5 / April 10, 2017

Laravel 5.5 Adds Frontend Presets

Since Laravel 5.3 the framework has shipped with optional Bootstrap and Vue.js scaffolding so you can quickly get started creating your next app idea with some of the latest tools. These have always been easy to remove, but not everyone wants to use either of those, so in Laravel 5.5 a new Artisan preset command …

Introduction to Seeding Data in Testing
Laravel Tutorials / April 08, 2017

Introduction to Seeding Data in Testing

Since seeding was released in Laravel 5.1, testing has become easier and quicker. You can have ten users with each having a post or 1000 users with one or more posts inserted before the testing begins. In this tutorial, you will create a test case to test the user model and a seeder to seed …

Laravel Migrate Fresh Command
Laravel 5.5 / April 07, 2017

Laravel Migrate Fresh Command

You may be familiar with the migrate:refresh command that allows you to rollback and re-runs all of your migrations. This helps when you need to rebuild your database during development. Coming to Laravel 5.5 is an improvement on this with a new command named migrate:fresh. The difference between “refresh” and “fresh” is that the new …

Which Laravel Helper Do You Use for Your URLs?
Laravel Tutorials / April 06, 2017

Which Laravel Helper Do You Use for Your URLs?

Jacob Bennett ran a Twitter poll to see which URL helper most developers are using for their Blade views. The route helper won out and in this article let’s look at the different styles and some of the advantages and disadvantages to each.

Read more…
Laravel OPcache Package
Laravel Packages / April 05, 2017

Laravel OPcache Package

Appstract has created a Laravel Package that gives you Artisan commands for working with OPcache.

Read more…
Laravel Forge PHP SDK
News / April 04, 2017

Laravel Forge PHP SDK

Mohamed Said released a PHP SDK for the Laravel Forge API.

Read more…
Utilizing Laravel’s Cache with Query Params
Laravel Tutorials / April 04, 2017

Utilizing Laravel’s Cache with Query Params

Laravel provides a very intuitive and useful means of caching the responses of your projects, whatever your project is (RESTful API, Web Platform, etc.). In general, Laravel can store in the cache system whatever data you send (HTML, JSON, collections, Eloquent instances, and similar) accordingly with a provided expiration time. Going straight with the code, …