Topic: Laravel

Translating Custom Error Messages in Laravel Packages

Laravel has great localization tools that make it very easy to translate your application into different languages. How can we adapt those tools to tranlsate custom error messages in a custom package?

Laravel

Read More

Running Homestead 2.0 on Windows

Homestead version 2 requires more support tooling than version 1, especially on windows. Let's take a look at setting up Homestead 2.0 on a Windows machine for the first time.

Laravel Vagrant

Read More

Single Table Inheritance

Single Table Inheritance can be a useful tool in certain situations. Let's look at using Single Table Inheritance in a Laravel application and why we might want to do that.

Eloquent Laravel PHP

Read More

Laravel 5 Package Development: The Service Provider

A service provider is a key part of integrating your custom package into a Laravel application. Laravel 5 has more specific requirements for service providers, but it also enables lots of new possibilities for package integration.

Laravel

Read More

Using Lumen and Mandrill to Process Incoming Mail

Have you ever wanted to automate data entry via email? We can use Laravel Lumen and Mandrill to set up a very simple service for parsing incoming mail and saving important data.

E-Mail Laravel Lumen

Read More

Using Mockery with Codeception and Laravel 4

Integrating Codeception with a Laravel 4.* application is not as straight forward as you might hope, especially if you need to mock API calls. Let's take a look at an approach I used recently that solved this problem.

Codeception Laravel Testing

Read More

Better 404 Logging in Laravel

We can use Laravel's error handling tools to write log entries when users trigger 404 errors. This can help us track down broken links or find other potential problems with the user experience in our Laravel application.

Laravel

Read More

Simplify Validation Messaging with Blade Directives

Displaying error messages can be a cumbersome affair, especially if you don't want to use the default message format. Let's use a custom blade directive to simplify how we show validation errors to users.

Blade Laravel

Read More

Laravel Passport and Travis CI

To use Laravel Passport effectively you need to ensure it is properly configured in your application. Ensuring that this configration also works in a test enviroment can be tricky, depending on your situation. Let's take a look at one possible solution.

Laravel Testing

Read More