Joe Lennon

Developer of ProgrammingPodcasts.com. Founder of Subwoofr. Author of HTML5 in Action and Beginning CouchDB. IBM developerWorks Contributing Author.

Using DigitalOcean Spaces object storage in Laravel

Today DigitalOcean announced a great new product called Spaces that is essentially a much cheaper version of Amazon's S3 object storage product. For $5 per month, you get 250GB of storage and 1TB of bandwidth included. This would cost over $95 per month with S3. Additional storag...

Tags: php, laravel, digital-ocean spaces

Generating custom branded stylesheets in Laravel with scssphp

Want to provide your customers with a quick and simple way of styling your Laravel application to match their corporate brand? This post is for you. If you've ever customised Bootstrap with Sass (or LESS) before, you already know how simple it is to drastically change the visual...

Tags: php, sass, styles, branding, theming, theme

Unauthenticated errors in Laravel Passport

I ran into a problem today while trying to test out a Laravel API protected with OAuth2 via Laravel Passport. Essentially any time I tried to use Postman to consume an API protected by the auth middleware, it would return an error response with the message Unauthenticated. After...

Tags: php, laravel, passport

Fixing RuntimeException No application encryption key has been specified error

A common issue you might experience when working on a Laravel application is the exception: RuntimeException No application encryption key has been specified. You'll often run into this when you pull down an existing Laravel application, where you copy the .env.example file to...

Tags: php, laravel, exception

Fixing "Uncaught ReflectionException: Class config does not exist" in Laravel applications

I ran into an issue this evening while working on a Laravel application. I was adding some mail functionality and set the MAIL_FROM_NAME environment variable to my name. Later, I got the following error message when I tried to load any page in my application: Fatal error: Uncaugh...

Tags: laravel, config, error