Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 99be6f4

Browse files
committed
Add readme
1 parent 5f6a932 commit 99be6f4

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

‎README.md‎

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,29 @@
1-
# laravel-coderunner
2-
Add Laravel support to CodeRunner (Farewell Tinkerwell)
1+
# Laravel CodeRunner
2+
Add Laravel support to CodeRunner (Tinker in CodeRunner).
3+
4+
## Installation
5+
6+
Install this package globally via [Composer](https://getcomposer.org/).
7+
8+
```
9+
composer global require stichoza/laravel-coderunner
10+
```
11+
12+
## Usage
13+
14+
### Add Laravel in CodeRunner langauges
15+
16+
1. Go to CodeRunner preferences.
17+
1. Navigate to Languages tab.
18+
1. Right-click on `PHP` and select Duplicate.
19+
1. Name new language `Laravel`.
20+
1. Write following in the "Run Command" field:
21+
```bash
22+
laravel-coderunner $filename
23+
```
24+
25+
### Running code for specific project.
26+
By default, the code is evaluated in default Laravel installation that is provided with this package. Follow this steps if you want to run code in different project:
27+
28+
1. Assuming you already have Laravel available in CodeRunner, click "Run Settings..." button right next to Run and Stop buttons.
29+
1. Enter path to your project in Arguments field.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /