Coder Social home page Coder Social logo

contrib-light-table-php's Introduction

EXPERIMENTAL, DEPRECATED, and ARCHIVED

PHP plugin for Light Table

Demo

PHP plugin for Light Table

Requirement

A php binary should be available in your $PATH. After having copied the plugin to Light Table user plugin directory,

  • View menu > Commands > App: Reload behaviors

Usage

  • View menu > Commands > Connect: Show connect bar
  • Add a PHP connection
  • Select a directory to serve as the root of your PHP project
  • Press [ctrl|cmd]+shift+enter to evaluate the current buffer.

Development

Download composer

curl -sS https://getcomposer.org/installer | php

Install vendors (relied upon to connect to Light Table)

$(cd php-src && php ../composer.phar install --prefer-dist)

TODO

  • Evaluate selected expression

contrib-light-table-php's People

Contributors

thierrymarianne avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

contrib-light-table-php's Issues

Adding a connection doesn't appear to work

  • Operating System: Windows 10
  • LightTable version: 0.8.1

I'm a complete LightTable beginner so I maybe doing something wrong. But the plugin doesn't appear to be creating a connection. I managed to get a simple error dialog up once, just saying 'Couldn't create a connection', so I restarted LT. After a restart I can neither generate an error or eval any syntax.

  1. I have installed the plugin
  2. I have reloaded behaviors
  3. I have PHP in my path (it is very old though v5.2.13), i.e. php -i at the command line works
  4. I add a connection and specifiy %HOMEPATH%\lighttable i.e. C:\Users\Ian\lighttable
  5. If I try to select some syntax in my php file (which is in my project directory) and hit Ctrl+Shift+Enter nothing happens
  6. If I check the connections again there is no PHP connection there.
  7. If I open the console - no errors are displayed.

2016-10-18 01_20_05-light table

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.