├── .github └── workflows │ └── tests.yml ├── .gitignore ├── .styleci.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── composer.json ├── config └── torchlight.php ├── phpunit.xml.dist ├── src ├── Blade │ ├── BladeManager.php │ ├── CodeComponent.php │ └── EngineDecorator.php ├── Block.php ├── Client.php ├── Commands │ └── Install.php ├── Contracts │ └── PostProcessor.php ├── Exceptions │ ├── ConfigurationException.php │ ├── RequestException.php │ └── TorchlightException.php ├── Manager.php ├── Middleware │ └── RenderTorchlight.php ├── PostProcessors │ └── SimpleSwapProcessor.php ├── Torchlight.php └── TorchlightServiceProvider.php └── tests ├── BaseTestCase.php ├── BlockTest.php ├── ClientTest.php ├── ClientTimeoutTest.php ├── CustomizationTest.php ├── DualThemeTest.php ├── FindIdsTest.php ├── LivewireTest.php ├── MiddlewareAndComponentTest.php ├── PostProcessorTest.php ├── RealClientTest.php └── Support ├── an-inline-component-with-post-processors.blade.php ├── an-inline-component-with-swaps.blade.php ├── an-inline-component.blade.php ├── contents-via-file-2.blade.php ├── contents-via-file.blade.php ├── dedent_works_properly.blade.php ├── file-must-be-passed-through-contents.blade.php ├── simple-js-hello-world.blade.php ├── simple-php-hello-world-new-theme.blade.php ├── simple-php-hello-world-with-attributes.blade.php ├── simple-php-hello-world-with-classes.blade.php ├── simple-php-hello-world-with-style.blade.php ├── simple-php-hello-world.blade.php ├── two-codes-in-one-tag.blade.php └── two-simple-php-hello-world.blade.php /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | .env 3 | .phpunit.result.cache 4 | composer.lock -------------------------------------------------------------------------------- /.styleci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/.styleci.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/composer.json -------------------------------------------------------------------------------- /config/torchlight.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/config/torchlight.php -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/Blade/BladeManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/src/Blade/BladeManager.php -------------------------------------------------------------------------------- /src/Blade/CodeComponent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/src/Blade/CodeComponent.php -------------------------------------------------------------------------------- /src/Blade/EngineDecorator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/src/Blade/EngineDecorator.php -------------------------------------------------------------------------------- /src/Block.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/src/Block.php -------------------------------------------------------------------------------- /src/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/src/Client.php -------------------------------------------------------------------------------- /src/Commands/Install.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/src/Commands/Install.php -------------------------------------------------------------------------------- /src/Contracts/PostProcessor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/src/Contracts/PostProcessor.php -------------------------------------------------------------------------------- /src/Exceptions/ConfigurationException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/src/Exceptions/ConfigurationException.php -------------------------------------------------------------------------------- /src/Exceptions/RequestException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/src/Exceptions/RequestException.php -------------------------------------------------------------------------------- /src/Exceptions/TorchlightException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/src/Exceptions/TorchlightException.php -------------------------------------------------------------------------------- /src/Manager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/src/Manager.php -------------------------------------------------------------------------------- /src/Middleware/RenderTorchlight.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/src/Middleware/RenderTorchlight.php -------------------------------------------------------------------------------- /src/PostProcessors/SimpleSwapProcessor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/src/PostProcessors/SimpleSwapProcessor.php -------------------------------------------------------------------------------- /src/Torchlight.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/src/Torchlight.php -------------------------------------------------------------------------------- /src/TorchlightServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/src/TorchlightServiceProvider.php -------------------------------------------------------------------------------- /tests/BaseTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/tests/BaseTestCase.php -------------------------------------------------------------------------------- /tests/BlockTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/tests/BlockTest.php -------------------------------------------------------------------------------- /tests/ClientTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/tests/ClientTest.php -------------------------------------------------------------------------------- /tests/ClientTimeoutTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/tests/ClientTimeoutTest.php -------------------------------------------------------------------------------- /tests/CustomizationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/tests/CustomizationTest.php -------------------------------------------------------------------------------- /tests/DualThemeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/tests/DualThemeTest.php -------------------------------------------------------------------------------- /tests/FindIdsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/tests/FindIdsTest.php -------------------------------------------------------------------------------- /tests/LivewireTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/tests/LivewireTest.php -------------------------------------------------------------------------------- /tests/MiddlewareAndComponentTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/tests/MiddlewareAndComponentTest.php -------------------------------------------------------------------------------- /tests/PostProcessorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/tests/PostProcessorTest.php -------------------------------------------------------------------------------- /tests/RealClientTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/tests/RealClientTest.php -------------------------------------------------------------------------------- /tests/Support/an-inline-component-with-post-processors.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/tests/Support/an-inline-component-with-post-processors.blade.php -------------------------------------------------------------------------------- /tests/Support/an-inline-component-with-swaps.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/tests/Support/an-inline-component-with-swaps.blade.php -------------------------------------------------------------------------------- /tests/Support/an-inline-component.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/tests/Support/an-inline-component.blade.php -------------------------------------------------------------------------------- /tests/Support/contents-via-file-2.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/tests/Support/contents-via-file-2.blade.php -------------------------------------------------------------------------------- /tests/Support/contents-via-file.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/tests/Support/contents-via-file.blade.php -------------------------------------------------------------------------------- /tests/Support/dedent_works_properly.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/tests/Support/dedent_works_properly.blade.php -------------------------------------------------------------------------------- /tests/Support/file-must-be-passed-through-contents.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/tests/Support/file-must-be-passed-through-contents.blade.php -------------------------------------------------------------------------------- /tests/Support/simple-js-hello-world.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/tests/Support/simple-js-hello-world.blade.php -------------------------------------------------------------------------------- /tests/Support/simple-php-hello-world-new-theme.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/tests/Support/simple-php-hello-world-new-theme.blade.php -------------------------------------------------------------------------------- /tests/Support/simple-php-hello-world-with-attributes.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/tests/Support/simple-php-hello-world-with-attributes.blade.php -------------------------------------------------------------------------------- /tests/Support/simple-php-hello-world-with-classes.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/tests/Support/simple-php-hello-world-with-classes.blade.php -------------------------------------------------------------------------------- /tests/Support/simple-php-hello-world-with-style.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/tests/Support/simple-php-hello-world-with-style.blade.php -------------------------------------------------------------------------------- /tests/Support/simple-php-hello-world.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/tests/Support/simple-php-hello-world.blade.php -------------------------------------------------------------------------------- /tests/Support/two-codes-in-one-tag.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/tests/Support/two-codes-in-one-tag.blade.php -------------------------------------------------------------------------------- /tests/Support/two-simple-php-hello-world.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/torchlight-api/torchlight-laravel/HEAD/tests/Support/two-simple-php-hello-world.blade.php --------------------------------------------------------------------------------