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
v0.6.2

Laravel 13 support!

v0.6.1

Laravel 12 support!

v0.6.0
v0.5.13

Add support for Laravel 10, drop support for Livewire 1

What's Changed

New Contributors

Full Changelog: https://github.com/torchlight-api/torchlight-laravel/compare/v0.5.12...v0.5.13

v0.5.11

Added

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

New Contributors

Full Changelog: https://github.com/torchlight-api/torchlight-laravel/compare/v0.5.10...v0.5.11

v0.5.10

0.5.10 - 2022-02-01

Added

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

New Contributors

Full Changelog: https://github.com/torchlight-api/torchlight-laravel/compare/v0.5.9...v0.5.10

v0.5.9

What's Changed

0.5.9 - 2022-01-19

Fixed

  • Fix cosmetic trailing space issue

Full Changelog: https://github.com/torchlight-api/torchlight-laravel/compare/v0.5.8...v0.5.9

v0.5.8

What's Changed

0.5.8 - 2022-01-19

Added

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

Full Changelog: https://github.com/torchlight-api/torchlight-laravel/compare/v0.5.7...v0.5.8

v0.5.7

0.5.7 - 2021-11-02

Added

  • Block is now Macroable

Full Changelog: https://github.com/torchlight-api/torchlight-laravel/compare/v0.5.6...v0.5.7

v0.5.6

0.5.6 - 2021-11-01

Added

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

New Contributors

Full Changelog: https://github.com/torchlight-api/torchlight-laravel/compare/v0.5.5...v0.5.6

v0.5.5

Changed

  • Changed the signature of the file processor.
v0.5.4

0.5.4 - 2021-09-06

Added

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

0.5.3 - 2021-08-14

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.
v0.5.2

0.5.2 - 2021-08-02

Fixed

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

0.5.1 - 2021-08-01

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.
v0.5.0

Changed

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

0.4.6 - 2021-07-28

Added

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

0.4.5 - 2021-07-18

Changed

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

0.4.4 - 2021-06-16

Fixed

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

See changelog

v0.4.2

See changelog

v0.4.1

See changelog.

v0.4.0

See changelog

v0.3.0
v0.2.1
v0.2.0

Change the namespace from Hammerstone\Torchlight to just Torchlight.

v0.1.1

Require Ramsey UUID.

v0.1.0

Initial release 🎉

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