Skip to content
/ phpjs Public
forked from locutusjs/locutus

php.js implements PHP functions in JavaScript

License

Notifications You must be signed in to change notification settings

salahmyn/phpjs

 
 

Repository files navigation

Locutus

All your standard libraries will be assimilated into our JavaScript collective. Resistance is futile.

More info at: https://locutus.io/

Install

npm install locutus

Use

vim index.js
var sprintf = require('locutus/php/strings/sprintf')
var echo = require('locutus/php/strings/echo')
var effectiveness = 'futile'
echo(sprintf('Resistance is %s', effectiveness))
var strings = require('locutus/golang/strings')
console.log(strings.Contains('Locutus', 'cut'))
$ node index.js
Resistance is futile
true

Development

Some guidelines and instructions can be found in CONTRIBUTING.md

Sponsors

✨ thanks to https://jetbrains.com for providing a free license to their development tools ❤️

About

php.js implements PHP functions in JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 80.7%
  • HTML 14.3%
  • PHP 3.4%
  • Other 1.6%