Questions tagged [phalanger]

Phalanger is a managed PHP implementation for the Microsoft .NET platform.

Phalanger is managed PHP implementation (compiler and runtime) introducing the PHP language into the family of compiled .NET languages. Phalanger gives web-application developers the ability to benefit from both the ease-of-use and effectiveness of the PHP language and the power and richness of the .NET platform taking profit from the best from both sides.

There are zero commits in the last 23 months. This is likely because of a new implemation on .net core which is named peachpie

51 questions
4
votes
1 answer

Has anyone been successful getting Joomla running under IIS/Phalanger?

Has anyone been successful getting Joomla running under IIS/Phalanger? I have gone through the Phalanger 3.0 installation, followed the instructions on making Joomla a app that runs using the Phalanger compiler, but for some reason I get an error…
DevelumPHP
  • 155
  • 1
  • 8
3
votes
1 answer

Phalanger in production

Is Phalanger php compiler stable enough for production environment? Does it need some extra server requirements (Web Host)? Can it be deployed using only .dll files?
Handsome Nerd
  • 17,114
  • 22
  • 95
  • 173
3
votes
2 answers

Using a phalanger as the view part of an MVC application

To enable better collaboration between some UI guy who know HTML and the backend guy who know .NET we're thinking of an architecture where we use an MVC web app and use phalanger as the view engine. Integrating phalanager as a view model looks…
Robert
  • 6,407
  • 2
  • 34
  • 41
3
votes
1 answer

Phalanger and php library for .net

I have three php classes Im trying to use in my .net application. I used Phalanger to take those three classes and make a .dll file using this command: phpc /target:dll Client.php Crypt.php Exception.php Which of course outputted Client.dll as…
owen gerig
  • 6,165
  • 6
  • 52
  • 91
2
votes
0 answers

How do I get cURL working over SSL with Phalanger?

I'm trying to use Phalanger to compile a script I wrote in PHP into a standalone executable. The script utilizes PHP's cURL extension to make various REST calls. This actually works fine so long as the websites it hits use http; however it fails any…
soapergem
  • 9,263
  • 18
  • 96
  • 152
2
votes
0 answers

modify php source code (phpseclib) for pure phalanger mode

Hello everybody php and phalanger experts: I am mainly developing with c#. PART 0 I need to compile some third party php code (part of phpseclib Crypt, File, Math, Net pure php implementations, and some files using RSA with ctr cyphermode) with…
2
votes
1 answer

Is it possible do code coverage for manual testing on .net server which has phalanger for compiling php code?

Is it possible do code coverage for manual testing on a .NET server which has phalanger for compiling php code?
2
votes
1 answer

"Hello world" in Phalanger PHP compiler

I want my console program simply be run using Phalanger. I did not use IIS or .net in any way. Is it possible to use Phalanger in the same way that we use php.exe -f hello.php? How to compile and run following script using Phalanger.
Handsome Nerd
  • 17,114
  • 22
  • 95
  • 173
2
votes
1 answer

Using curl with Phalanger

I'm trying to use the PHP Phalanger curl library php_curl.mng.dll in a .NET application. I set up my App.config as follows:
ericdes
  • 612
  • 1
  • 6
  • 12
2
votes
1 answer

MySQLi and Phalanger

I am trying to port 3 large php-projects into C# and thought Phalanger is a nice possibility to take it step by step instead of re-writing it all from scratch. But I ran in to a problem. The projects are using mysqli, and I don't know how to make…
2
votes
1 answer

phalanger (PHP): calling nested static C# classes

I cannot seem to get this to work without the compiler yelling at me for being... stupid. But I have a class with another nested static class inside of it. I am trying to access it but I get a syntax error saying: unexpected token :: I am trying to…
Serguei Fedorov
  • 7,763
  • 9
  • 63
  • 94
1
vote
1 answer

How to use Phalanger to obfuscate php code on CodeIgniter?

I have been working on PHP application built using CodeIgniter framework, which needs to be deployed on client site. I want to protect php code by compiling it before deployment using Phalanger. For testing this I've created a demo project on…
Krunal
  • 2,967
  • 8
  • 45
  • 101
1
vote
1 answer

How to convert Codeigniter into .net dll using phalanger?

I've been trying to get codeigniter working on .Net platform with the use of Phalanger. This is just an test exercise, and I want to actually convert Codeigniter into dll, so that I can remove source code from wwwroot/inetpub folder and just put…
Krunal
  • 2,967
  • 8
  • 45
  • 101
1
vote
1 answer

Using .net class with Phalanger in IIS

How can I reference to an assembly and use it's classes (ex: XamlWriter to generate xmal) in Phalanger web applications?
1
vote
3 answers

Phalanger and Zendframework

Zend framework is just a collection of PHP classes. Phalanger is a complete PHP compiler. So why I can not port Zend Framework-based application to Phalanger?? I got the following error whene I run the app in Phalanger: line…
Handsome Nerd
  • 17,114
  • 22
  • 95
  • 173
1
2 3 4