What is the simplest tool to create a useful code documentation for web appliaction based on Yii 1.1 framework (that used PHP language).
I need a manual way not auto generating tool, and I need something simple to use like Word and not something needs cmd or any console to create the documentation.
I hope my question is clear this time :)
Related
I have a quick question.
I have an existing project in php. Now, i am trying to set up locally. I am checking the way to find out which framework they have used.
Can any one guide me how to detect framework in that existing project? Is there any way?
Help would be appreciated.
You can use chrome extension "wappalyzer".This extension shows which frameworks are used.
Context
I'm working with several people on a Symfony application.
Problem
We would like to have a database filled automatically with sample data, to avoid creating it manually on each developer environment.
Question
Is there an official way to do it or do we need to use .sql files we pass to each other to create sample data?
I've seen that's possible with the .net framework, that's why I ask for Symfony.
Take a look at the DoctrineFixturesBundle.
Also there is another bundle called AliceBundle, which makes it very easy to generate different sets of data.
I am looking to implement Angular2 inside my current Laravel project. I've read about many setups including AngularClass's version with Webpack, but I feel like it's all over-complicated.
What I wish to make:
A simple single page app inside my Laravel app.
It needs to have something like Grunt/Gulp or even Webpack to compile upon changes.
Does not need NodeJs to run in production, no lite-server, just like AngularJS it can be injected and that's it.
I need to understand the implementation files to achieve this, so no starterpack or angular-cli, unless if you can supply good arguments.
Looking for a "how to"-like example on creating the above.
Thanks in advance.
EDIT: More information
As ANKH pointed out, i needed a more detailed and coursed question. So here we go:
- Looking for a example implementation of a Angular2 based SPA inside an existing PHP application (Laravel).
- I've tried many different tutorials, going from the heroes tour, to Sitepoint and AngularCLI based tutorials, but they all assume a SPA on it's own. Ergo, they are compiled and served through NodeJS, which I don't need.
Turns out that I've actually been looking at this entirely wrong. I've gone with using Angular-cli and found that I could generate the output files and include these inside my Laravel project. No need to integrate them further.
I have a REST webservice using Codeigniter and using this lib : https://github.com/chriskacerguis/codeigniter-restserver
I want to generate documentation for this web service. I look to use Swagger UI to generate this documentation. But, I didn't find any documentation how to use Swagger with Codeigniter.
The only project using this two technologies is this one, but don't have a good documentation : https://github.com/panxp/codeigniter-swagger
Can someone paste an example using this two technologies or give me a link to a good documentation ?
Of course, if there is another good lib to generate documentation, I'll take it if it's usable with Codeigniter.
In past projects I have used http://apidocjs.com/ which I find pretty easy to use and straightforward to generate from in multiple environments. It took me like 15-20 minutes to get going and looking how I wanted with it having npm already installed. This one doesn't really care about directory or code structure, just your supplied info in the doc blocks.
You Can use https://github.com/manish29ify/codeigniter3-restapi-with-swagger Still it is under development but you can use Swagger with PHP rest server very easily
Using PHP, can I find out which CMS or framework is used on a particular website. Eg Wordpress, Magento or Codigniter, Laravel.
I've tried this approach: http://dailyblogging.org/internet/detect-cms-and-scripts-of-websites/
This is what I actually want, but in code form, not as an online service: http://onlinewebtool.com/cmsdetector.php This should be a PHP script that does not run as an online service.
What will it take to do this, or at least give me a hint?
Update 2018
Github repo moved:
https://github.com/AliasIO/Wappalyzer/blob/master/src/apps.json
There is a Chrome extension called Wappalyzer.
You can see some regexp which are included in the wappalyzer project for detecting servers, cms and frameworks.
Maybe you can include this and write a php script that uses this:
https://github.com/ElbertF/Wappalyzer/blob/master/share/apps.json
For Drupal, view source
And if you find
/sites/all
/sites/
For including image/javascript/css, its Drupal based site.
Same way, if you find wp_content, its wordpress.
For MVC ftameworks, its difficult to determine as url routing is same for all.