├── .gitignore ├── LICENSE ├── README.md ├── composer.json ├── config └── blade.php ├── phpunit.xml ├── src ├── Compilers │ ├── BladeCompiler.php │ └── StringBladeCompiler.php ├── Engines │ └── CompilerEngine.php ├── Facades │ └── StringBlade.php ├── Factory.php ├── StringBladeServiceProvider.php ├── StringView.php └── View.php └── tests ├── View ├── Blade │ ├── AbstractBladeTestCase.php │ ├── BladeAppendTest.php │ ├── BladeBreakStatementsTest.php │ ├── BladeCanStatementsTest.php │ ├── BladeCananyStatementsTest.php │ ├── BladeCannotStatementsTest.php │ ├── BladeCommentsTest.php │ ├── BladeContinueStatementsTest.php │ ├── BladeCustomTest.php │ ├── BladeEachTest.php │ ├── BladeEchoTest.php │ ├── BladeElseAuthStatementsTest.php │ ├── BladeElseGuestStatementsTest.php │ ├── BladeElseIfStatementsTest.php │ ├── BladeElseStatementsTest.php │ ├── BladeEndSectionsTest.php │ ├── BladeEscapedTest.php │ ├── BladeExpressionTest.php │ ├── BladeExtendsTest.php │ ├── BladeForStatementsTest.php │ ├── BladeForeachStatementsTest.php │ ├── BladeForelseStatementsTest.php │ ├── BladeHasSectionTest.php │ ├── BladeHelpersTest.php │ ├── BladeIfAuthStatementsTest.php │ ├── BladeIfEmptyStatementsTest.php │ ├── BladeIfGuestStatementsTest.php │ ├── BladeIfIssetStatementsTest.php │ ├── BladeIfStatementsTest.php │ ├── BladeIncludeFirstTest.php │ ├── BladeIncludeIfTest.php │ ├── BladeIncludeTest.php │ ├── BladeIncludeWhenTest.php │ ├── BladeJsonTest.php │ ├── BladeLangTest.php │ ├── BladeOverwriteSectionTest.php │ ├── BladePhpStatementsTest.php │ ├── BladePrependTest.php │ ├── BladePushTest.php │ ├── BladeSectionTest.php │ ├── BladeShowTest.php │ ├── BladeStackTest.php │ ├── BladeStopSectionTest.php │ ├── BladeUnlessStatementsTest.php │ ├── BladeUnsetStatementsTest.php │ ├── BladeVerbatimTest.php │ ├── BladeWhileStatementsTest.php │ └── BladeYieldTest.php ├── DataObjectStub.php ├── StringViewTest.php ├── ViewCompilerEngineTest.php ├── ViewFactoryTest.php ├── ViewStringBladeCompilerTest.php ├── ViewTest.php └── fixtures │ ├── basic.php │ ├── component.php │ ├── namespaced │ └── basic.php │ ├── nested │ ├── basic.php │ └── child.php │ ├── section-exception-layout.php │ └── section-exception.php └── bootstrap.php /.gitignore: -------------------------------------------------------------------------------- 1 | /.netbeans/ 2 | /bkp/ 3 | vendor/ -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/composer.json -------------------------------------------------------------------------------- /config/blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/config/blade.php -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/phpunit.xml -------------------------------------------------------------------------------- /src/Compilers/BladeCompiler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/src/Compilers/BladeCompiler.php -------------------------------------------------------------------------------- /src/Compilers/StringBladeCompiler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/src/Compilers/StringBladeCompiler.php -------------------------------------------------------------------------------- /src/Engines/CompilerEngine.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/src/Engines/CompilerEngine.php -------------------------------------------------------------------------------- /src/Facades/StringBlade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/src/Facades/StringBlade.php -------------------------------------------------------------------------------- /src/Factory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/src/Factory.php -------------------------------------------------------------------------------- /src/StringBladeServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/src/StringBladeServiceProvider.php -------------------------------------------------------------------------------- /src/StringView.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/src/StringView.php -------------------------------------------------------------------------------- /src/View.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/src/View.php -------------------------------------------------------------------------------- /tests/View/Blade/AbstractBladeTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/AbstractBladeTestCase.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeAppendTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeAppendTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeBreakStatementsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeBreakStatementsTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeCanStatementsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeCanStatementsTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeCananyStatementsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeCananyStatementsTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeCannotStatementsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeCannotStatementsTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeCommentsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeCommentsTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeContinueStatementsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeContinueStatementsTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeCustomTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeCustomTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeEachTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeEachTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeEchoTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeEchoTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeElseAuthStatementsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeElseAuthStatementsTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeElseGuestStatementsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeElseGuestStatementsTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeElseIfStatementsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeElseIfStatementsTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeElseStatementsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeElseStatementsTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeEndSectionsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeEndSectionsTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeEscapedTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeEscapedTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeExpressionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeExpressionTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeExtendsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeExtendsTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeForStatementsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeForStatementsTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeForeachStatementsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeForeachStatementsTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeForelseStatementsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeForelseStatementsTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeHasSectionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeHasSectionTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeHelpersTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeHelpersTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeIfAuthStatementsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeIfAuthStatementsTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeIfEmptyStatementsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeIfEmptyStatementsTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeIfGuestStatementsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeIfGuestStatementsTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeIfIssetStatementsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeIfIssetStatementsTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeIfStatementsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeIfStatementsTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeIncludeFirstTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeIncludeFirstTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeIncludeIfTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeIncludeIfTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeIncludeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeIncludeTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeIncludeWhenTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeIncludeWhenTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeJsonTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeJsonTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeLangTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeLangTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeOverwriteSectionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeOverwriteSectionTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladePhpStatementsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladePhpStatementsTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladePrependTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladePrependTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladePushTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladePushTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeSectionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeSectionTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeShowTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeShowTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeStackTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeStackTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeStopSectionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeStopSectionTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeUnlessStatementsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeUnlessStatementsTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeUnsetStatementsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeUnsetStatementsTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeVerbatimTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeVerbatimTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeWhileStatementsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeWhileStatementsTest.php -------------------------------------------------------------------------------- /tests/View/Blade/BladeYieldTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/Blade/BladeYieldTest.php -------------------------------------------------------------------------------- /tests/View/DataObjectStub.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/DataObjectStub.php -------------------------------------------------------------------------------- /tests/View/StringViewTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/StringViewTest.php -------------------------------------------------------------------------------- /tests/View/ViewCompilerEngineTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/ViewCompilerEngineTest.php -------------------------------------------------------------------------------- /tests/View/ViewFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/ViewFactoryTest.php -------------------------------------------------------------------------------- /tests/View/ViewStringBladeCompilerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/ViewStringBladeCompilerTest.php -------------------------------------------------------------------------------- /tests/View/ViewTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/ViewTest.php -------------------------------------------------------------------------------- /tests/View/fixtures/basic.php: -------------------------------------------------------------------------------- 1 | 2 | Hello World 3 | -------------------------------------------------------------------------------- /tests/View/fixtures/component.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/fixtures/component.php -------------------------------------------------------------------------------- /tests/View/fixtures/namespaced/basic.php: -------------------------------------------------------------------------------- 1 | Hello World 2 | -------------------------------------------------------------------------------- /tests/View/fixtures/nested/basic.php: -------------------------------------------------------------------------------- 1 | Hello World 2 | -------------------------------------------------------------------------------- /tests/View/fixtures/nested/child.php: -------------------------------------------------------------------------------- 1 | Hello World 2 | -------------------------------------------------------------------------------- /tests/View/fixtures/section-exception-layout.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/fixtures/section-exception-layout.php -------------------------------------------------------------------------------- /tests/View/fixtures/section-exception.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/View/fixtures/section-exception.php -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TerrePorter/StringBladeCompiler/HEAD/tests/bootstrap.php --------------------------------------------------------------------------------