This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 209403 - Open the PHP project support API
Summary: Open the PHP project support API
Status: RESOLVED DUPLICATE of bug 202511
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-10 04:19 UTC by Monomachus
Modified: 2012-03-12 09:22 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Monomachus 2012-03-10 04:19:36 UTC
Not long ago I found myself creating a plugin for Symfony2 framework support in NetBeans, and in there I wanted to add a new module dependencies and there is no "PHP project support API", I think this would be helpful to have for those people who will add some support to PHP (Frameworks) in NetBeans in their plugins modules.

In this API I would expect some tools to get around different set of problems

- Given A PHP File object to get the list of its fields
- Get the metadata for the PHP file for example annotations
- Maybe YAML metadata as well, I don't know yet but this would be very helpful

Is it possible in general or I should move on without hoping on this one?
Comment 1 Monomachus 2012-03-10 04:22:35 UTC
I am asking because I am wondering how to do some kind of switching plugin between the View, Entity, Controller, and routing file in Symfony2 framework, can you give me at least some hints of what should be done?
Comment 2 Tomas Mysik 2012-03-12 09:22:50 UTC
Well, there is some PHP API but it is not public. More information how to develop PHP framework support can be found here [1].

Thanks for reporting.
[1] http://wiki.netbeans.org/PhpFrameworkDevelopment

*** This bug has been marked as a duplicate of bug 202511 ***