Examples of using each Illuminate component in non-Laravel applications
Torch is a project to provide instructions and examples for using Illuminate components as standalone components in non-Laravel applications. The current master
branch shows how to use Illuminate’s 8.0
components.
Note: If you are working with an older project, you might have more success using the 5.5 components or the 5.1 components or the 4.2 components.
At the moment, the project is divided into many directories beneath components
which will each contain an index file, usually written with Slim. Navigate to that directory in your terminal and run the following to serve a web site from that directory:
$ composer install
$ php -S localhost:8000
Now you can visit http://localhost:8000/ in your browser to view the output of each.
A few important notes:
The most helpful use for contributions right now would be updating the readme’s in each section to make sure we have instructions on how to test this specific component to see that it’s working (based on how the specific index.php
for this component is set up).
Many of these components will still work. But a few of them require HttpFoundation. ¯\(°_o)/¯