Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Boris Laravel Package

d11wtq/boris

Interactive REPL for PHP powered by Boris. Drop into a console and inspect variables, evaluate code, explore objects, and debug applications quickly from the command line with an easy, lightweight shell.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Developer Productivity Initiatives: Accelerates debugging, prototyping, and learning curves for PHP/Laravel developers by eliminating the edit-reload cycle. Ideal for teams prioritizing time-to-insight in iterative workflows.
  • Onboarding & Training: Reduces ramp-up time for new engineers by providing an interactive sandbox to explore Laravel’s ecosystem (e.g., Eloquent, Blade, service containers) without risking production-like environments.
  • Build vs. Buy for Debugging Tools: Replaces or complements heavier IDE plugins (e.g., Xdebug) or custom CLI tools, especially for teams with limited devops resources. Low-maintenance alternative to self-built solutions.
  • API/Integration Exploration: Enables rapid testing of third-party APIs, payment gateways, or legacy systems by simulating requests/responses in real-time (e.g., Boris::run('App::make(\'PaymentGateway\')->charge(100)')).
  • Educational Use Cases: Supports internal "PHP/Laravel bootcamps" or documentation workshops by letting learners experiment with code snippets interactively.
  • Legacy System Maintenance: Bridges gaps in undocumented or poorly tested legacy codebases by allowing ad-hoc inspection of objects/methods (e.g., var_dump($user->getHiddenAttributes())).
  • Feature Validation: Validates edge cases or business logic hypotheses without writing full test cases (e.g., "Does this discount apply to bulk orders?").

When to Consider This Package

Adopt When:

  • Your team relies heavily on Laravel/PHP and suffers from slow edit-reload cycles during development.
  • You need a lightweight, no-configuration tool for ad-hoc debugging (vs. setting up Xdebug or Laravel Telescope).
  • Onboarding new developers is a bottleneck, and interactive exploration would reduce friction.
  • Your workflow involves frequent API testing, data migration scripts, or one-off data transformations.
  • You’re maintaining legacy systems with unclear logic or undocumented dependencies.
  • Your stack lacks a built-in REPL (e.g., Symfony’s console is insufficient for deep inspection).

Look Elsewhere If:

  • You need advanced debugging (e.g., step-through execution, breakpoints) → Use Xdebug + IDE (PhpStorm, VSCode).
  • Your team requires production-safe debugging → Use Laravel Telescope or Sentry.
  • You’re working in a non-PHP/Laravel environment (e.g., Node.js, Python).
  • You need structured testing frameworks → Use PHPUnit/Pest.
  • The package’s last release (2015) is a dealbreaker for security/compatibility (audit dependencies manually).
  • Your team prefers GUI-based tools over CLI (e.g., Laravel Nova, Admin Panels).

How to Pitch It (Stakeholders)

For Executives:

"Boris is a 10-minute productivity boost for every PHP/Laravel developer. By eliminating the edit-reload cycle, it cuts debugging time by ~30%—freeing engineers to focus on high-impact work. Think of it as a Swiss Army knife for the terminal: no setup, instant feedback, and zero overhead. For a team of 5 devs, that’s ~15 hours/month saved on repetitive tasks. Low risk (MIT license), high reward."

Key Metrics to Track:

  • Reduction in "debugging time per ticket."
  • Faster onboarding (new hires ramp up 20% quicker).
  • Fewer production bugs from undetected edge cases.

For Engineering Leaders:

*"Boris fills a critical gap in our toolchain: interactive PHP exploration without IDE bloat. It’s perfect for:

  • Quick API validation (e.g., testing Stripe webhooks live).
  • Legacy code archaeology (inspecting old Eloquent models without breaking anything).
  • Prototyping (e.g., 'Does this query return the right data?').

Why not Xdebug?

  • No configuration needed (just composer require d11wtq/boris).
  • Works in any Laravel project with zero setup.
  • Terminal-native: No context switching from IDE.

Risks:

  • Last updated in 2015 → Audit dependencies (Composer audit) and consider forking if critical.
  • Not a replacement for structured tests, but a force multiplier for exploratory work."*

For Developers:

*"Tired of editing a file, running php artisan serve, refreshing the browser, just to check if a method works? Boris is your new best friend.

Example Workflow:

  1. Drop into your app’s context:
    vendor/bin/boris
    
  2. Inspect anything:
    >> $user = App\User::find(1);
    >> $user->posts()->count();
    
  3. Test logic live:
    >> $discount = (auth()->user()->isPremium() ? 0.2 : 0.1);
    >> $total = $cart->subtotal() * (1 - $discount);
    

Pro Tip: Use it to document your own code—if you can’t explain it in Boris, it’s not clear enough.

Caveat: It’s not maintained, but it’s stable for Laravel 5.x/6.x. If you hit issues, fork it or use it as a reference for a modern REPL tool."

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
emuniq/filament-browser-notifications
syriable/filament-translator
hungnm28/livewire-form
wenprise/eloquent
crudly/encrypted
fadion/bouncy
cuci/prototurk-sdk
gos/pubsub-router-bundle
cuci/prototurk-sdk-symfony
clementtalleu/easyadmin-markdown-bundle
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui