Skip to content

▶️ Add Laravel support to CodeRunner (Tinker in CodeRunner)

License

Notifications You must be signed in to change notification settings

Stichoza/laravel-coderunner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel CodeRunner

Add Laravel support to CodeRunner (Tinker in CodeRunner).

Installation

Install this package globally via Composer.

composer global require stichoza/laravel-coderunner

Usage

Add Laravel in CodeRunner langauges

  1. Go to CodeRunner preferences.
  2. Navigate to Languages tab.
  3. Right-click on PHP and select Duplicate.
  4. Name new language Laravel.
  5. Write following in the "Run Command" field:
laravel-coderunner $filename

Running code for specific project

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:

  1. Assuming you already have Laravel available in CodeRunner, click "Run Settings..." button right next to Run and Stop buttons.
  2. Enter path to your project in Arguments field.

About

▶️ Add Laravel support to CodeRunner (Tinker in CodeRunner)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages