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

Torchlight Laravel Laravel Package

torchlight/torchlight-laravel

Torchlight syntax highlighting for Laravel Blade/Markdown using the Torchlight API. VS Code-compatible highlighting with themes, line highlighting and diffing, no JavaScript required. Includes caching, config publishing, and optional Blade components.

View on GitHub
Deep Wiki
Context7
0.5.11

Added

  • Support for Laravel 9 #29
  • Better support for PHP 8.1 #30
0.5.10

Added

  • Added the ability to define multiple themes for e.g. dark mode.
  • Cache time is now configurable.
0.5.9

Fixed

  • Fix cosmetic trailing space issue
0.5.8

Added

  • Attributes from the API will now be passed on to the code component. (The API now returns 'data-lang' as an attribute.)
0.5.7

Added

  • Block is now Macroable
0.5.6

Added

  • Added the ability to run post-processors per block rather than globally. (#20)
0.5.5

Changed

  • Changed the signature of the file processor.
0.5.4

Added

  • Added the ability to configure the directories where Torchlight looks for snippets.
0.5.3

Changed

  • Post-processors don't run if Laravel is compiling views.

Added

  • You can set tab_width to false to output literal tabs into the rendered HTML.

Fixed

  • Livewire middleware won't be registered for V1 of Livewire, since it's not possible.
0.5.2

Fixed

  • Replace tabs with spaces in code before it's sent to the API.
0.5.1

Added

  • Added support for Laravel Livewire (#10)
  • Added post-processors to allow your app to hook into the rendered response before it's sent to the browser.
0.5.0

Changed

  • Changed the signature for the Manager class. Remove the requirement for the container to be passed in.
0.4.6

Added

  • Added the ability to send options from the config file to the API.
0.4.5

Changed

  • The default response (used if a request fails) now includes the <div class='line'> wrappers.
0.4.4

Fixed

  • Catch ConnectionExceptions in addition to exceptions from the Torchlight API.
0.4.3

Added

  • getConfigUsing now accepts a plain array in addition to a callback.
0.4.2

Fixed

  • Cover a bug in Laravel pre 8.23.0.
0.4.1

Added

  • Ability to override the environment.
0.4.0

Added

  • Torchlight::findTorchlightIds method to search a string and return all Torchlight placeholders.
  • BladeManager::getBlocks
  • BladeManager::clearBlocks

Changed

  • Added square brackets around the Torchlight ID in the Block placeholder.
  • The BladeManager no longer clears the blocks while rendering. Needed for Jigsaw.
0.3.0
  • Add Torchlight facade
  • Add ability to set the cache implementation.
  • Add ability to abstract config from Laravel's config helper.
  • Changed package name from torchlight/laravel to torchlight/torchlight-laravel
0.2.1
  • Add Block::generateIdsUsing
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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport