we-inspire / wiconnect
WIConnect Laravel-Package
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Language:JavaScript
README
Introduction
WIConnect is a product of three students, who are very interested in web-technologies. This project is an interface for Laravel to send data to a Node.JS server.
Installation
- Laravel 4.1
- add
"we-inspire/wiconnect": "4.1.*"
to your composer.json of your laravel project
- add
- Laravel 4.0
- add
"we-inspire/wiconnect": "4.0.*"
to your composer.json of your laravel project
- add
- run
composer install
orcomposer update
- add Service Provider
'WeInspire\WeInspire\WeInspireServiceProvider'
to your conf/app.php - copy
vendor/we-inspire/wiconnect/assets/start.weinspire.php
to/path/to/laravel/app/bootstrap/
- copy
vendor/we-inspire/wiconnect/assets/index.server.php
to/path/to/laravel/public/
Usage
send Data from Laravel to Node.js-Server:
use WeInspire\Helpers\;
WIHelpers::sendToNode($data, $functionname);
receive Data from Node.js-Server:
- requires npm package WIConnect-node on your node.js server.
- start php server
php /path/to/laravel/public/index.server.php
Documentation and API
You can explore the documentation and API here.
Development
This project is currently under development. If you want to improve this project, please feel free to contact us, fork or send pull requests.
Issues
Please provide us information about issues you find.
License
WIconnect is open-source software licensed under the MIT License.