Content-Length: 279411 | pFad | http://github.com/Stichoza/laravel-coderunner/tree/ac9ac5256292443208baf9c38b7007a11ea19644

CB GitHub - Stichoza/laravel-coderunner at ac9ac5256292443208baf9c38b7007a11ea19644
Skip to content

Stichoza/laravel-coderunner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel CodeRunner

Latest Stable Version Total Downloads Downloads Month PayPal donation

Add Laravel support to CodeRunner (Tinker in CodeRunner).

Screen Shot 2020-04-02 at 14 58 24

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

Screen Shot 2020-04-02 at 14 36 34

Note: If you have composer installed correctly in your system, vendor binaries would be already added in your .profile or .bash_profile. If not, add it to your profile paths, or otherwise go to CodeRunner preferences, navigate to Advanced tab and add binary path (e.g. /Users/YOUR_USERNAME/.composer/vendor/bin) to PATH shell variable:

Screen Shot 2020-04-02 at 14 40 22

Running in default laravel app

To run code in default laravel app, run laravel-coderunner install-default in your terminal (Only once, after installing this package).

If you want to reset the default app, you can run laravel-coderunner reset-default anytime.

Running in specific project

By default, the code is evaluated in default Laravel installation described above. 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 absolute path to your project in Arguments field.

Screen Shot 2020-04-02 at 14 44 34

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/Stichoza/laravel-coderunner/tree/ac9ac5256292443208baf9c38b7007a11ea19644

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy