Skip to content

Phpbox 1.0.35 (Windows)

Choose a tag to compare

@Solayman Solayman released this 19 Nov 04:29
· 5 commits to master since this release

Phpbox 1.0.35

New: unused code in gray

PHP files now show code that nothing uses in a soft gray, so it is easy to spot and clean up. Hover a gray name to see why.

  • Local variables that are set but never read
  • Variables passed into a closure with use (...) but never used inside it
  • Parameters at the end of a function, closure or private method that are never used
  • use imports that are never used (the whole line grays when every name in it is unused)
  • Private methods, properties and constants that are never referenced
  • Public and protected methods that no other file in the project calls, and that no parent class, trait or interface declares

Phpbox leaves code alone when it cannot be sure: references, extract(), include, $$name, compact(), methods called by computed name, attributes, and methods frameworks call by convention (resource actions, handle, scope…, accessors, tests, Livewire hooks).

Works instantly while you type and needs no language server. Turn it off in Settings → Editor → General → Show unused code in gray.

AI agent: much lower token use with Claude

  • Long conversations keep their context. Compacting a Claude chat now uses Claude's own compaction in the same conversation, instead of starting a new one. The agent keeps what it has already read, and the conversation is no longer paid for again. The Compact button works the same way.
  • Effort applies to one chat. A higher reasoning effort (xhigh or max) now applies only to the chat where you choose it; new chats start at medium. Choosing xhigh or max shows a short note that it uses your plan allowance much faster.
  • Attached files are sent once. "Attach active file" sends the whole file the first time in a chat, then only a short reference while the file is unchanged.
  • Complete file contents for agents. Agents that read files through Phpbox now get the full file (or exactly the lines they ask for).

Fixes

  • Fixed an editor error ("Selection points outside of document") when jumping to a search result or declaration in a file that had become shorter, for example after an AI agent rewrote it.
  • Fixed the AI agent chat panel closing with an error when the last message was a note such as "The request was cancelled".