Claude Code | Blog | Mozex                        [ Skip to content ](#main-content)   [                  ozex Labs ](https://mozex.dev) [About](https://mozex.dev#about) [Projects](https://mozex.dev#projects) [Open Source](https://mozex.dev#open-source) [Services](https://mozex.dev#services) [Docs](https://mozex.dev/docs) [Blog](https://mozex.dev/blog) [ Get in Touch ](https://mozex.dev#contact) 

        [About](https://mozex.dev#about) [Projects](https://mozex.dev#projects) [Open Source](https://mozex.dev#open-source) [Services](https://mozex.dev#services) [Docs](https://mozex.dev/docs) [Blog](https://mozex.dev/blog) [ Get in Touch ](https://mozex.dev#contact) 

     [   Back to Blog ](https://mozex.dev/blog) Tagged: Claude Code 
=====================

     [ Parallel Claude Code Sessions in Laravel: A Copied .env Shares Your MySQL Database 
------------------------------------------------------------------------------------

 ](https://mozex.dev/blog/28-parallel-claude-code-sessions-in-laravel-a-copied-env-shares-your-mysql-database) I'd have a Claude Code session working in a project and want to get on with something else while it ran. A second session in the same checkout wasn't the answer: neither session would know the other was working, so they'd interfere with each other's work and end up reverting each other's changes. Running two test commands at once caused problems too, because both ran against one database. Git worktrees fix the files: each session gets its own directory and branch. In a worktree with a copied .env, one migrate:fresh took the main checkout's users table in my test app from 1,000 rows to 0. I built mozex/laravel-worktree for this problem: one command gives each worktree its own database, test database, .env and Herd site. If you'd rather script it yourself, read the section on unsetting the parent's environment first, because the obvious Artisan command still emptied the main database in my test. Everything here ran on a fresh Laravel 13.33 app with MySQL 8.4 and PHP 8.5, served by Laravel Herd 1.30 on Windows 11, with version 1.6.0 of the package (it supports Laravel 11 to 13, PHP 8.2+, MariaDB and PostgreSQL; WORKTREE\_HERD=none skips Herd).

   Sep 28, 2026   ·  10 min read   ·  [ Claude Code ](https://mozex.dev/blog/tags/claude-code) [ Developer Tools ](https://mozex.dev/blog/tags/developer-tools) [ Laravel ](https://mozex.dev/blog/tags/laravel) [ PHP ](https://mozex.dev/blog/tags/php) [ Open Source ](https://mozex.dev/blog/tags/open-source)  

  [ Two Fixes Made Claude Code 15x Faster Per Command on Windows 
--------------------------------------------------------------

 ](https://mozex.dev/blog/24-two-fixes-made-claude-code-15x-faster-per-command-on-windows) I ran echo in Claude Code 178 times last week. Median time: 7,395 milliseconds. Not a build. Not a test suite. A command that prints a word and exits. I'd filtered down to commands that do nothing at all, no pipes, no loops, no subshells, because I wanted to know what the tool costs when it isn't doing anything. Claude Code had felt heavy for weeks. I'm on Windows 11 with Claude Code running through Git Bash, and I'd filed the sluggishness under "the model is thinking." It wasn't the model. Two local fixes later, that same echo returns in under half a second and a file read went from 909 ms to 24 ms.

   Aug 3, 2026   ·  16 min read   ·  [ Claude Code ](https://mozex.dev/blog/tags/claude-code) [ Bash ](https://mozex.dev/blog/tags/bash) [ Developer Tools ](https://mozex.dev/blog/tags/developer-tools) [ Performance ](https://mozex.dev/blog/tags/performance) [ Windows ](https://mozex.dev/blog/tags/windows)  

  [ My Claude Code Status Line: Usage, Pace, and Context at a Glance 
------------------------------------------------------------------

 ](https://mozex.dev/blog/1-my-claude-code-status-line-usage-pace-and-context-at-a-glance) I've been using Claude Code as my daily driver for a while now. One thing that kept bugging me was not knowing where I stood with my usage limits until I actually hit them. Claude Code has a status line feature that lets you run a custom script and display whatever you want at the bottom of the terminal. I built one that shows me everything I care about in a single line. Freek Van der Herten wrote a nice post about his own status line showing the repo name and context window percentage. That was my starting point, but I wanted more: rate limit tracking, reset countdowns, and a pace indicator that tells me whether I'm burning through my weekly budget too fast.

   Mar 22, 2026   ·  11 min read   ·  [ Claude Code ](https://mozex.dev/blog/tags/claude-code) [ Bash ](https://mozex.dev/blog/tags/bash) [ Developer Tools ](https://mozex.dev/blog/tags/developer-tools)  

###  Stay in the Loop 

 Get the latest posts delivered to your inbox - on your schedule.

   Every New Post Weekly Digest Monthly Digest  

  Subscribe   Subscribing...     No spam. Unsubscribe anytime.

   ![Mozex](https://mozex.dev/images/mozex/profile-256.webp)###  Mozex 

 Laravel Specialist

 Senior Laravel Specialist &amp; Consultant. Building developer tools and open-source packages.

 [   ](https://github.com/mozex) [   ](https://www.linkedin.com/in/mozex) [   ](https://x.com/mozexdev) [   ](https://mozex.dev/blog/feed) 

###  Browse by Topic 

  [ Laravel  21  ](https://mozex.dev/blog/tags/laravel) [ PHP  21  ](https://mozex.dev/blog/tags/php) [ Open Source  7  ](https://mozex.dev/blog/tags/open-source) [ DevOps  5  ](https://mozex.dev/blog/tags/devops) [ Developer Tools  4  ](https://mozex.dev/blog/tags/developer-tools) [ Database  4  ](https://mozex.dev/blog/tags/database) [ AI  4  ](https://mozex.dev/blog/tags/ai) [ Claude Code  3  ](https://mozex.dev/blog/tags/claude-code) [ Testing  3  ](https://mozex.dev/blog/tags/testing) [ Performance  3  ](https://mozex.dev/blog/tags/performance) [ Architecture  3  ](https://mozex.dev/blog/tags/architecture) [ Tutorial  3  ](https://mozex.dev/blog/tags/tutorial) [ Bash  2  ](https://mozex.dev/blog/tags/bash) [ Anthropic  2  ](https://mozex.dev/blog/tags/anthropic) [ WooCommerce  2  ](https://mozex.dev/blog/tags/woocommerce) [ Productivity  1  ](https://mozex.dev/blog/tags/productivity) [ Markdown  1  ](https://mozex.dev/blog/tags/markdown) [ MCP  1  ](https://mozex.dev/blog/tags/mcp) [ GitHub Actions  1  ](https://mozex.dev/blog/tags/github-actions) [ Pest  1  ](https://mozex.dev/blog/tags/pest) [ Code Review  1  ](https://mozex.dev/blog/tags/code-review) [ Windows  1  ](https://mozex.dev/blog/tags/windows)  

###  Need expert Laravel help? 

 I offer consulting, code reviews, and custom development for Laravel applications.

 [ View Services   ](https://mozex.dev#services) 

   Live across open source

  1,351,044+  

 package downloads and counting

  Mozex Labs  [     Iminify, our free image compressor ](https://www.iminify.com) 

 [   ](https://github.com/mozex) [   ](https://www.linkedin.com/in/mozex) [   ](https://x.com/mozexdev) [   ](mailto:hello@mozex.dev) [   ](https://mozex.dev/blog/feed) 

  © 2026 Mozex Labs
