TJ Miller TJ Miller's Blog https://www.tjmiller.me Thu, 25 Oct 2018 00:00:00 +0000 Tue, 06 Nov 2018 20:22:02 +0000 Jigsaw via Netlify Building Package Installers Thu, 25 Oct 2018 00:00:00 +0000 Building package installers for Laravel and Lumen packages to make it super easy to get up and running. https://www.tjmiller.me/blog/building-package-installers https://www.tjmiller.me/blog/building-package-installers Verifying Laravel Version Compatibility Fri, 14 Sep 2018 00:00:00 +0000 Verifying Laravel version compatibility with TravisCI for package development. https://www.tjmiller.me/blog/verifying-laravel-version-compatibility https://www.tjmiller.me/blog/verifying-laravel-version-compatibility Abstracting Request Keys Fri, 23 Mar 2018 00:00:00 +0000 In an API’s codebase, it's a good idea to abstract the keys for the requests and responses on top of your data layer. This is a key step to making it easier for your codebase to evolve and still uphold your API contract. https://www.tjmiller.me/blog/abstracting-request-keys https://www.tjmiller.me/blog/abstracting-request-keys Sentry Logging in Laravel Wed, 03 Jan 2018 00:00:00 +0000 Using Sentry for Laravel application logging. https://www.tjmiller.me/blog/sentry-logging-in-laravel https://www.tjmiller.me/blog/sentry-logging-in-laravel Linking Vessel Projects Together Fri, 22 Dec 2017 00:00:00 +0000 Vessel is a great project, lets walk through linking multiple Vessel projects together. https://www.tjmiller.me/blog/linking-vessel-projects-together https://www.tjmiller.me/blog/linking-vessel-projects-together Using Middleware to Configure a Service Class Tue, 19 Dec 2017 00:00:00 +0000 Using HTTP middleware to configure a service class based on the request in Laravel. https://www.tjmiller.me/blog/using-middleware-to-configure-a-service-class https://www.tjmiller.me/blog/using-middleware-to-configure-a-service-class Separate Interactive Test Suites Wed, 11 Oct 2017 00:00:00 +0000 Using separate test suites in a Laravel project with PHPUnit. https://www.tjmiller.me/blog/separate-interactive-test-suites https://www.tjmiller.me/blog/separate-interactive-test-suites An Approach to Testing Middleware Tue, 10 Oct 2017 00:00:00 +0000 I’ve always tested middleware in one of two ways, a unit test with mocks and asserting the callback in the `handle` method or integration tests on application routes. https://www.tjmiller.me/blog/an-approach-to-middleware-testing https://www.tjmiller.me/blog/an-approach-to-middleware-testing