Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I want to read php source code(ZendPHP source code) in Visual Studio. How to do it?
By default Visual Studio doesn't ship with support for PHP. You can add support using an extension or edit the php files as part of a WebApplication project (in which case you will receive very basic editing support).
There are a bunch of extensions for Visual Studio which support PHP as a supported language in Visual Studio. I personally used the ones from DevSense a long, long time ago.
If you don't want to use an extension (for whatever reason) you can create an empty Web Application project and manually add your php files to it and set them to "content". That way the php files will be copied when you publish the application. You can remove any items that are .NET specific such as a default web page and the app.config.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Please let me know if you know a word file generator for php on Linux server.
I have a template word file and I want to generate a word file according to the template using php from my linux webserver.
As far as I can find on the web, all of these php libraries need Microsoft Word application to install on the server. I need plug-in which doesn't need to install word in the webserver since mine is linux. Please guide me.
Any work around or name of the plug-in would help me. Thanks in advance.
As mentioned in comment you can use You can use https://github.com/PHPOffice/PHPWord It's a PHP library that can create DOCX along with some formatting.
If you are looking for a similar solution you can also visit this link
http://webcheatsheet.com/php/create_word_excel_csv_files_with_php.php
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am looking to convert my PHP library code as a PHP extension. The full library is under a namespace. There are many PHP classes I am using under my library.
Is there any tool which convert the PHP code to .so and .dll PHP extension (with the namespace usage) ?
Writing the code in C or CPP is too much of work.
There is no tool that will automagically convert PHP code to a PHP Extension, but tools like Zephir provide a half-way DSL that can easily be converted from straight PHP and then compiled against Zephir to build a PHP extension... and yes, it does work with namespaces
The Zephir docs are pretty good, and give a decent explanation of how to write code for the Zephir DSL, and there are blog posts like marmelab's that show how to convert a PHP (namespaced) class to an extension using Zephir.
Edit
Since posting this answer, I've also discovered PHP-to-Zephir which claims to be able to convert PHP code to the Zephir DSL, although I haven't tested it in any way
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I wonder If there are any APIs or something for php to interact with GIT?
I want to print out information about branches, repositories etcetc, on a web page.
Is this possible?
A quick search turns up a github project https://github.com/kbjr/Git.php - which has a PHP library for accessing git using proc_open and usable in git safe mode.
It seems to be fairly easy to use. According to the api documents, you'd be able to get a list of branches in an array with these commands:
require_once('Git.php');
$repo = Git::open('/path/to/repo');
$branch_array = $repo->list_branches();
You'd substitute your own repo path. You would need the git commands installed for that to work.
As for creating a whole web page, there are complete systems for this - cgit, gitweb, gitphp and a number of others so it may be worth considering if any of those could be configured to meet your needs before creating a completely new tool.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
We are working on php application, and need to generate/export SPSS files for reporting section, it would be great if anybody can suggest about good API/codebase to start its development.
There is a free i/o module available from the SPSS Community website (www.ibm.com/developerworks/spssdevcentral) that provides apis for reading and writing sav files. It has a C compatible interface. It is licensed with the intention that you can freely incorporate and redistribute these modules in your application. The download includes modules for all major platforms. You have to register with the site in order to download, but there is no charge.
There is also a Python wrapper available from the ActiveState website (it uses the i/o modules) if you find that easier to work with.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
We are building a LAMP application that also needs to generate loads of complex PDF reports.
I'm looking for a library that runs on our Debian server and allows us to generate these reports.
The language isn't of great importance (java, python, php, perl, ...) as long as it's stable, flexible and supports Unicode. LTR and RTL writing systems are mandatory and if chinese is also supported it would be totally awsome.
I've already found ReportLab which looks promising, any other suggestions?
JasperReports is a good bet for generating reports using Java.