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

Redaktilo Laravel Package

gnugat/redaktilo

Redaktilo adds a simple, developer-friendly API to manage and manipulate text content in PHP, with utilities for formatting and transforming strings in a consistent way. Useful when you need reusable text handling logic without pulling in a heavy framework.

View on GitHub
Deep Wiki
Context7
2.0.0:
  • bumped requirement to Symfony 5
  • bumped requirement to PHP 7.2
1.7.4:
  • added support for PHP 8
1.7.3:
  • added support for Symfony 4
1.7.2:
  • removed final
1.7.1:
  • added support to Symfony 3
  • added support to PHP 7
  • updated to phpspec 2.4
  • updated to PHPUnit 4.5
  • added support to PHPUnit 5
1.7.0:
  • added documentation to upgrade to 2.0
  • added Text#map
  • added deprecation messages
1.6.0:
  • added an optional filename argument to Editor#save
  • removed TextFactory
  • removed Text#__construct
  • removed LineBreak
  • added Text::fromArray
  • added Text::fromString
  • added StringUtil::detectLineBreak
1.5.0:
  • added Text#decrementCurrentLineNumber
  • added Text#incrementCurrentLineNumber
1.4.0:
  • added PatternNotFoundException
  • added NotSupportedException
  • added InvalidLineNumberException
  • added InvalidArgumentException
  • added IOException
  • added FileNotFoundException
  • added DifferentLineBreaksFoundException
  • added CommandNotFoundException
  • added Exception
1.3.0:
  • added ContentFactory
  • added LineReplaceAllCommand
  • added Editor#run
1.2.1:
  • fixed BC break by making command constructor arguments optional
1.2.0:
  • added mix of line break management
  • fixed text first line getter setter
  • fixed LineRemoveCommand using array_splice
  • added LocationSanitizer
  • added TextSanitizer
  • added InputSanitizer interface
1.1.6:
  • fixed line number after line removal
1.1.5:
  • fixed line numbers after line removal
1.1.4:
  • added tests for search relative to the first line
  • added tests for line search with the immediate line above
  • fixed Text to actually throw InvalidLineNumberException
1.1.3:
  • fixed LineSearchStrategy#findAbove
1.1.2:
  • fixed passing of 0 as location
1.1.1:
  • fixed order of arguments in PatternNotFoundException
  • fixed message in NotSupportedException and PatternNotFoundException
1.1.0:
  • deprecated string support from LineReplaceCommand
  • deprecated has from Editor
  • added callback support to LineReplaceCommand
  • added hasAbove and hasBelow to Editor
  • added loggable exceptions
  • added line getter and setter to Text
  • added priority to Search Strategies
1.0.0:
  • updated documentation
1.0.0-rc3:
  • added Text length
1.0.0-rc2:
  • lowered requirements
  • fixed PSR4
  • added keywords
  • added @pyrech to authors
1.0.0-rc1:
  • added totalLineNumber to Text
  • added safe checks
1.0.0-beta2:
  • renamed under with below
  • removed File prefix from Editor's open/save
1.0.0-beta1:
  • moved FileFactory into Filesystem
  • removed newText from Editor
1.0.0-alpha7:
  • Updated EditorBuilder with extensible only services
  • Removed api tag from services
  • Moved EditorBuilder into Service
  • Moved Filesystem into Service
  • Moved TextFactory into Service
  • Moved FileFactory into Service
  • Moved TextToPhpConverter into Service
  • Renamed PhpContentConverter to TextToPhpConverter
  • Removed ContentConverter interface
1.0.0-alpha6:
  • renamed LineContentConverter to LineBreak
  • used Text instead of File
  • removed constructor API
  • removed File read and write
  • injected lines instead of content in File
  • used FileFactory in Filesystem
  • created FileFactory
  • made File a Text
  • suffixed Editor open/save with "File"
  • added newText in Editor
  • created TextFactory
  • created Text
1.0.0-alpha5:
  • renamed SearchStrategy previous/next to above/under
  • renamed Editor addBefore/addAfter to insertAbove/insertUnder
  • renamed Editor changeTo to rename
  • renamed Editor jumpUpTo/jumpDownTo to jumpAbove/jumpUnder
  • improved the vocabulary with Actions, Directions and Location
1.0.0-alpha4:
  • fixed current line update's responsability in commands
1.0.0-alpha3:
  • removed changeTo from File
1.0.0-alpha2:
  • fixed Insight analysis 15
1.0.0-alpha1:
  • removed SubstringSearchStrategy
  • removed replaceWith from Editor
  • added LineInsertAboveCommand
  • added LineInsertUnderCommand
  • removed LineInsertCommand
  • moved line management from Editor to commands
  • renamed UnsupportedCommandException into CommandNotFoundException
  • added before/after to the Editor jumpTo methods
  • removed FactoryMethod
  • removed SearchStrategy's has method
  • added before/after to the SearchStrategy find methods
  • added abstract class LineSearchStrategy
  • renamed LineSearchStrategy to SameSearchStrategy
  • moved search exception throwing from Search to the Editor
  • added location for Editor's manipulation methods
  • moved NotSupportedException from Engine to Search
  • replaced ReplaceEngine with CommandInvoker
  • removed ReplaceStrategy
  • added InsertCommand
  • added RemoveCommand
  • added ReplaceCommand
0.9.0:
  • added PhpSearchStrategy
  • moved SearchEngine from the Engine namespace to the Search namespace
  • moved ReplaceEngine from the Engine namespace to the Replace namespace
0.8.0:
  • removed StaticContainer in favor of EditorBuilder and EditorFactory
  • added SubstringSearchStrategy
  • fixed tester.sh exit status
  • added LineRegexSearchStrategy
0.7.2:
  • fixed the routing test by removing the dependency on sf2's DI component
0.7.1:
  • fixed line break in line content converter's back method
0.7.0:
  • replaced introduction with tutorial
  • replaced architecture details with reference
  • added vocabulary (cursor and line)
  • added static DIC documentation
  • added factory methods documentation
  • added BundleRouting example
  • fixed Editor::addAfter by moving down the cursor
  • added Line factory method for empty ones
  • added Filesystem factory method to force creation
  • moved factory methods into Gnugat\Redaktilo
  • removed Filesystem's detectLineBreak method
  • removed File's readlines and writelines methods
  • injected LineContentConverter into:
    • LineReplaceStrategy
    • LineSearchStrategy
    • LineNumberSearchStrategy
  • added LineContentConverter
  • added ContentConverter
0.6.1:
  • fixed private methods into public static ones
0.6.0:
  • moved Engines into thei own directory
  • added ReplaceEngine to comply to the open/closed principle
  • removed File's hasLine
  • added a Dependency Injection Container
  • added a use case for line presence checking
  • added a use case for "documentation reformatting"
  • replaced Behat by PHPUnit for automated use cases
0.5.0:
  • added SearchEngine to comply to the open/closed principle
0.4.0:
  • added line replacement
  • added line removal
  • added checking of line presence
0.3.0:
  • added file existence check
  • added line break detection
  • added bin/tester.sh script
  • moved stateness from Editor to File
  • moved classes at the root
  • removed interfaces
  • compiled documentation
  • improved tests
0.2.0:
  • added jump to methods to Editor
  • removed autosave
  • added manual save
  • added usage documentation
  • added use cases documentation
  • removed installer
0.1.2:
  • fixed openFile to open
0.1.1:
  • fixed Insight analysis 1
  • added travis configuration
  • added badges on README
0.1.0:
  • created file opening
  • created insertion of line after a given one
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.
cadot.eu/make
besmartand-pro/php-quality-config
sentix/ai-chatbot
codifyo/ts-generator-bundle
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky