Any PHP editors supporting 5.3 syntax? [closed] - 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 8 years ago.
Improve this question
I'm using namespaces in a project and Eclipse PDT, my IDE of choice, recognizes them as syntax errors. Not only it renders its convenient error checking unusable, but it also ruins Eclipse's PHP explorer.
5.3 features are coming to PDT 2.0 scheduled for release in December. Are there any alternatives for the present moment? I'm looking for 5.3 syntax highlighting and error checking at the least.

Some threads that have been addressed by the various PHP IDE developers regarding the status of 5.3 syntax support:
PHPEclipse: http://www.phpeclipse.net/ticket/636 or google
Aptana: http://forums.aptana.com/viewtopic.php?t=6538 or google
PDT: http://bugs.eclipse.org/bugs/show_bug.cgi?id=234938 or google
TextMate: http://www.nabble.com/PHP-Namespace-Support-td19784898.html (Namespace support) or google

This blog states that PHP 5.3 support already presents in latest integration of PDT 2.1.0.

NuSphere (http://www.nusphere.com/ ) just released PhpED with full support for all php-5.3 features. Works great for me.
-j

The latest version of netbeans 6.8(beta) does support most of the new features...

I'm finding JetBrains php storm pretty good.

Have you tried Aptana Studio or the Aptana plugin for Eclipse? I'm not sure if the Aptana plugin supports PHP, but Aptana Studio does. That might have what you are looking for.

It probably won't really help you, but my current solution is Zend Studio 5.5 with real-time errors disabled. I can't use the internal debugger on 5.3 projects, but everything else in the IDE still works and the namespace code isn't highlighted as an error. I get to keep the code explorer and syntax highlighting and just test my code external to the IDE.

jEdit http://jedit.org

Related

PHP Tool to check syntax/code validity [closed]

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 new to PHP and was wondering whether there is a tool which checks the PHP code syntax and validity.
For example if I have:
class myClass
{
public function function1()
{
$this->myvariable++;
$this->function2();
}
private $myVariable;
}
I would like the tool to highlight that the variable myvariable and the function function2 does not exist within that class.
I have searched online and found http://www.icosaedro.it/phplint/index.html however when I tried it in my PHP project it did not work correctly. I know that php has the -l option, however that only checks for syntax not validity.
Any help would be greatly appreciated.
It sounds like you're looking for an IDE.
PHPStorm is a popular paid IDE for PHP. (~99$/~99€)
Netbeans is also popular, as well as being free.
I've also heard of phpDesigner, Komodo IDE, and Zend Studio. Also, you can find a list of PHP Editors here.
The kind of tool you're looking for, strictly speaking, is a static analysis tool such as PHP Mess Detector. An even simpler (and faster) check can be run from PHP itself using the -l switch, but will only warn against syntax errors.
More advanced checks against code smells, which are somewhat less than bugs but have been found to often evolve into those, can be run by tools such as CodeSniffer for PHP.
That said, the tools above (and many more) are either already bundled, or can be easily integrated, into various IDEs such as Eclipse for PHP. These also supply useful integrations such as code highlighting and inline error highlighting, so that you can quickly "zoom in" on the various bugs. Also, they come with a ton of useful features such as code completion, lookups, insight, templating, and refactoring. More advanced IDEs also "know" about the most popular frameworks and so can be a great help in using them.
You are searching for Integrated Development Environment or shortly IDE, which is software with a lot built in functions to help you to write, test, develop, debug etc... your software.
If we are talking about PHP programming language I prefer them in the following order:
Netbeans
PhpStorm
phpDesigner
Zend Studio

What is a good PHP Editor for Wordpress [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am c# developer working on a Word Press site. I am used to the Visual Studio experience of opening the project, working on it, then pressing run to see your site and debug it.
I am having a hard time trying to get a similar experience with WordPress. For example, I have tried both VS plugs for PHP. They both work great for new PHP projects, but with a fresh copy of the latest wordpress, the both break. In one, it just gives an error message, the other says that the MySQL Plugin is not enabled. (Yes, MySQL is installed and I can successfully host WordPress with MySQL through IIS). Dispite messages on both forums, I have not been able to resolve.
So the question is: what is a good editor, free or paid for working with wordpress sites? Just something that works. Like have you actually used one successfully with WordPress? My latest attempt is with PHP Storm which looks really good, but am still struggling with the learning curve of a new IDE. I would really like to be able to stay with VS if possible, as I like the Source Control.
PHPStorm is the best one and you can try it for free for 30 days.
Elcipse and Netbeans are both really good as well and free.
So here is my top3 editors that i'm working with:
Sublime text 3 - http://www.sublimetext.com/3
Apstana Studio - http://www.aptana.com/products/studio3
Brackets - http://brackets.io/
Why not use Netbeans?
I have been using it for 3 years now and it's great. It has built in support for Zend framework, Symphony, Hudson/Jenkins, Doctrine 2, PHPUnit, Atoum, APIGen and many more.
Some of its features include:
PHP Source Code Editor offering code templates and code generation, refactoring, parameter tooltips, hints and quick fixes, and smart code completion.
PHP 5.4 Support
Continuous Integration Support
PHP Debugging
Remote and Local Project Development
Code Coverage
Namespace and Variable Types
MySQL Integration
Documenting PHP Code with ApiGen
Komodo IDE is in my opinion the most complete and fast and best PHP editor. In fact it's not only an editor but Active State also has a free version of Komodo Edit. It uses the Mozilla xul render engine: http://en.m.wikipedia.org/wiki/ActiveState_Komodo

Visual Studio alternative for PHP [closed]

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 have earlier worked on Visual Studio and am pretty much comfortable in using that.
But now I have some programming work in PHP.
Is there any plug in available that I can install on Visual Studio 2008/2010 and program in PHP/MySQL.
Commercial you have:
Zend Studio wich is pretty powerfull.
Aptana is pretty good too
Of course Eclipse (Zend Studio is built on it). Now free!
Netbeans is lighter but very fast and practical I love it.
There are much lighter editors out there like textedit but if you want something like visual studio Zend/Eclipse is a good bet.
As for pluguins I guess I was wrong and there is http://www.jcxsoftware.com/ as pointed out by Sem Dendoncker. Seems pretty interresting I am downloading the trial now. But I am a cheap and love my free editors.
Try Codecharge Studio 5 which supports code generation, php and javascript events and direct connectivity with artisteer's templates.
There is also a CMS based on Codecharge Studio that supports most of contemporary CMS functions. You can use Codecharge Studio to add more functions or just use its free version and build your own site. Visit www.krisonav.com
I've been using Devsense's PHP for a couple of months and it has been a live saver. Breakpoints, debug, variable visualization all within that familiar and fast environment of VS. It's a bit buggy, doesn't visualize SimpleXMLElements real well, at times won't scroll through inline javascript but it's helped me so much.
Notepad++, even with debug is a far cry from VS. Notepad++'s autocomplete is very slow, VS does pretty good.
I'm using it for WordPress and it does fine, with the exception that (for speed) I've excluded the WP core from the project.

Anything better than PHPDoc out there? [closed]

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
Does anybody use anything else to document their PHP code than PHPDoc?
Are there any tools that read the same documentation syntax but give richer output?
I´ll go for doxygen too.
Here are several reasons :
compatible with phpdoc tags and other popular ones : it´s interoperable
works with various programming languages : a better time investment
there is alternative syntaxes : can choose the commenting style that suit you
very efficient with advanced formating / tagging / metadata
there is a GUI that is not linked to any IDE and an eclipse plugin as well
And still free, multiplatform, and open source :-)
It´s easy to learn, but harder that phpdoc because a lot richer.
You could try DocBlox; which is intended to be an alternative for phpDocumentor but with support for additional features of which full PHP 5.3 support is one. An additional benefit is that is it quite fast and uses relatively little memory.
You can read more on http://www.docblox-project.org or see a demo at http://demo.docblox-project.org/default
Another option other than phpDocumentor is Doxygen documentation with PHP support.
Doxygen (www.doxygen.org).
ApiGen
http://apigen.org/
ApiGen has support for PHP 5.3 namespaces, packages, linking between documentation, cross referencing to PHP standard classes and general documentation, creation of highlighted source code and experimental support for PHP 5.4 traits.
DocBlox
http://www.docblox-project.org/
PHP 5.3 compatible API Documentation generator aimed at projects of all sizes and Continuous Integration.
able to fully parse and transform Zend Framework 2
I've not used it with PHP, but doxygen claims to support the language.
I am using Doxygen too - you get used to the various keywords really fast - they are kind of self-explaining. ;)
RubyDoc is nice too, I espcially like they layout of the rdocs.
Doctrine uses PHPDoctor, which appears to work well with 5.3 in my tests.
http://peej.github.com/phpdoctor/#download
If you need to document code for PHP 5.3+, eg. if it uses namespaces Ted Kulp's fork of PHPDoctor might be your answer.

As a C# developer who wants to do some PHP work, what [book/online articles] should I [buy/read] to introduce myself to PHP? [closed]

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
I've got the bare minimum to handle the Linux/MySQL parts of the stack, but I want to have a basic grasp of PHP before I dive in. I'll be working on WordPress plugins, in case there's anything specifically interesting for that.
PS - any recommendations regarding recommended source control/IDEs would also be great, but I guess that's a separate question.
I would recomment the PHP manual too!
For PHP books you can check this question, personally I like Programming PHP, IDEs, I can recommend you to try:
Eclipse PDT
Zend Studio for Eclipse
NetBeans for PHP
DevPHP
Vim
Vim actually it's not an IDE, but you can get omnicompletion, syntax coloring, debugging, and so on...
The PHP Manual it's also a really good place to start learning the language.
When you're developing C# you should definitely take a look at VS.Php
The best php/mysql book is probably PHP and MySQL web development but if you already have an experience in web development you might just need something like the PHP cookbook.
Also, if you don't have any experience with share hosting, you should read something like Apache security (chapter 6).

Categories