Coding

Guest Post: Optimizing Laravel Performance

I have a post over at my company’s blog today regarding optimizing Laravel. Check it out!

http://www.freshconsulting.com/optimizing-laravel-performance/

Continue reading “Guest Post: Optimizing Laravel Performance”

Advertisements
Coding

Total Control of Logging in Laravel 5.1

A little while back I showed how to configure LogEntries with Laravel 5.0. Now that I’ve updated to 5.1, I needed to update the configuration to use Laravel’s new layout. In addition, I needed to control the level at which log entries were being saved to remove the clutter of the logs in the staging/production environment. Here’s how you set that up. Continue reading “Total Control of Logging in Laravel 5.1”

Coding

Quick Tip – Adding LogEntries to Laravel 5.0

I’ve used LogEntries on a couple of projects now and I really like it. They provide a really simple API in which you can send your logging entries to and be able to view it online. This comes in handy when you don’t always have access to the servers, or want some additional alerts without having to set them up yourself.

While there isn’t a “specialized” plugin for Laravel, Laravel does use MonoLog by default, which has a LogEntries writer built into it. The current documentation available works with version 4.2. However, in version 5.0, they removed the start/global.php file, requiring a slightly different approach.  Continue reading “Quick Tip – Adding LogEntries to Laravel 5.0”

Coding

Laravel 5 Configurations in AWS Elastic Beanstalk

I’m working on a new project that is running an API using Laravel 5. We’re also hosting it on Amazon’s Elastic Beanstalk service, which gives us great scaling capabilities on the fly. However, since new instances of your application can be added/removed on the fly, setting your configuration requires a little more tweaking than the base install provides.

Continue reading “Laravel 5 Configurations in AWS Elastic Beanstalk”

Coding

Quick Tip – Configuring Laravel Environments on Media Temple

Note: This applies to Laravel 4. I’m still looking into options for Laravel 5…

I ran into a pesky little bug today where the Laravel standard environment configuration by hostname wasn’t working on a Media Temple deployed site. After some digging and tweaking, here’s how you get it to work…

Continue reading “Quick Tip – Configuring Laravel Environments on Media Temple”

Coding

How to add Zurb Foundation 5 to a Laravel 4 App

I needed to rebuild a simple game timer app and figured it would be a great way to get my feet wet with Laravel. I’ve heard great things about it and wanted to give it a try. I also wanted to upgrade the application to use Zurb Foundation 5, since I already used 4 with the application and wanted to use the latest and greatest. Unfortunately, there aren’t any composer packages or ruby gems or other handy installers to get Zurb into my Laravel project. It turns out it isn’t as hard as you might think.

Continue reading “How to add Zurb Foundation 5 to a Laravel 4 App”