• Stars
    star
    1,808
  • Rank 24,671 (Top 0.6 %)
  • Language
    PHP
  • License
    MIT License
  • Created over 9 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Examples of using each Illuminate component in non-Laravel applications

Torch logo

Torch - Using Laravel's Illuminate Components Independently

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.

Usage

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.

Packages

Ready for 8.0

Need to be moved over from 4.2

  • Mail - Never finished porting from 4.2-5.1 and then it never got the simpler upgrades from 5.1 until today

Other Packages

Done

Contributing

A few important notes:

  1. The imagined end user is a developer of any Symfony-HttpFoundation-using project copying the route closure directly into a project, so try to avoid using any Slim conventions and use as little preparation code outside the closure as possible.
  2. While some components would be easier to implement with a Laravel-style Application instance and a fuller bootstrap, I'd prefer we implement as many as possible without loading Laravel's Service Providers.
  3. Some components will require a bootstrap, and I hope we can come up with a Best-Practice bootstrap and Laravel-style Application instance for loading Service Providers, etc.

Contributing

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).

But my framework doesn't use Symfony's HttpFoundation!

Many of these components will still work. But a few of them require HttpFoundation. ¯\(°_o)/¯

More Repositories

1

Simple-RESS

Allowing PHP to access device screen width for use in Lukew's RESS (Responsive Design + Server Side Components) suggestion
PHP
128
star
2

suggestive

Suggestive - take suggestions from the fans/followers of your podcast or blog
JavaScript
98
star
3

syncCraft

Simple shell script to sync Craft DB & assets down locally
Shell
86
star
4

pulledover

Pulled Over App
JavaScript
57
star
5

craftcms-prune

CraftCMS Prune Twig plugin
PHP
49
star
6

ohmyzsh-dotfiles

Simplified version of Dotfiles for when using Oh My Zsh
Vim Script
43
star
7

alberts-avocado-toast

A simple example web site of some common geospatial and map embedding features
PHP
33
star
8

dotfiles

Simple script to set up my new computer
Shell
29
star
9

makeItCraft

Shell script to build out Craft install quickly
Shell
29
star
10

craftcms-linkHelpers

PHP
18
star
11

markedstyle

A repository of Markedapp styles
CSS
16
star
12

live-stream-timeline

PHP
14
star
13

tech-forward-gomix

Collecting all of the progressive tech groups in one place
HTML
12
star
14

happybrad

HappyBrad plugin for CraftCMS
PHP
10
star
15

mergency

It's a {food}mergency!
PHP
9
star
16

craftPluginDevHelpers

Helpers for Craft Plugin development
PHP
8
star
17

sprog

Sprog Craft plugin for generating REST APIs
PHP
8
star
18

markdown-rich-email-generator

Email generator for the Matt Stauffer Email
PHP
7
star
19

synonym-namer

PHP
7
star
20

smarterthings

Web app for managing SmartThings SmartApps, Device Handlers, and more
PHP
6
star
21

marvelwatch

PHP
5
star
22

simplepodcastsite

SimplePodcastSite - one day could be extract from 3mgs to be good for all podcasts
PHP
5
star
23

pickfifty

The quick tool I generated to pick fifty winners for my recently Laravel: Up and Running early reader offer
PHP
5
star
24

recipes.mattstauffer.com

CSS
3
star
25

tech-forward

Collecting all of the progressive tech groups in one place
JavaScript
3
star
26

alpine-day-2021

HTML
2
star
27

laraconeu-live

The Laracon EU Live Blog.
PHP
2
star
28

tuber

A simple Laravel app to be used for fun in my YouTube videos.
PHP
1
star
29

MedPack

A PHP abstraction for accessing health data from multiple APIs.
1
star
30

guarantor

CSS
1
star
31

VaproGUI

GUI front-end for creating Vaprobash files
PHP
1
star
32

thisenddowncom

thisenddown.com
PHP
1
star
33

try_git

1
star
34

frontendAwesomeMeetupApp

FrontendAwesome Ionic app
JavaScript
1
star
35

bbj_wp

PHP
1
star
36

LetMeRead

A mini bookmarklet that forces the base body font of the current web site to be a dark, readable color.
JavaScript
1
star
37

how-to-be-a-programmer

Beautified (more readable) clone of Robert L Read's "How to be a Programmer"
JavaScript
1
star