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

This branch is 105 commits behind locutusjs/locutus:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

May 27, 2021
58b29f9 · May 27, 2021
Nov 19, 2020
May 27, 2021
May 27, 2021
Nov 19, 2020
Nov 19, 2020
May 2, 2016
Feb 14, 2017
Nov 19, 2020
May 3, 2016
Nov 19, 2020
Oct 23, 2019
Nov 19, 2020
Oct 23, 2019
Oct 23, 2019
Nov 19, 2020
Nov 19, 2020
May 27, 2021
May 24, 2021

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%