Benutzer:Elkuku/Proyektz/EasyCreator/EasyCodeEye
Aus Joomla! Dokumentation
Inhaltsverzeichnis |
Description
EasyCodeEye provides an interface to several PEAR packages that will have an eye on your code...
Check your PATHs
PEAR itself and its packages have to be both in your PHP include_path and in your system PATH.
Please check the documentation of your OS to achive this..
ToDo more info ?
See also
PHP include_path
System include path
After changing your PATH variables and the PHP include_path don't forget to restart your server AND your session !
To check that everything is set up like it should be try
$ echo $PATH # echo $PATH
and
$ php -v # php -v
in a normal AND a root shell - This should give you the path to your PHP binaries and the PHP version..
PEAR
PEAR is a framework and distribution system for reusable PHP components.
Windows installation
The standard xampp installation for windows seems to come without PEAR. So you have to manually install PEAR:
Go to the ugly windows command line (execute -> cmd) - a 'black' window opens =;)
We assume your xampp installation on drive C in the standard folder
xampp.
cd xampp\php
execute
go-pear
choose to install a 'local' copy
For all the other stuff that will come up can accept the default values. Pay a little attention to the paths mentioned, and how to modify your php.ini and your PATH.
PEAR should now be installed.
Time to install the Packages
Done ?
NOTE : I am NOT a windoows user so - please verify the information and, pleaseplease, correct any errors - thx =;)
Linux installation
- Install PEAR (if not already installed)
Refer to the documentation of your distribution if you have any problems.
Do you need any additional information ? really ? ...See also
Time to install the Packages
Mac installation
ToDo
See also
CodeSniffer
EasyCreator provides an interface to PEAR::CodeSniffer. This enables you to verify the formatting of your code against some predefined standards like PEAR or Zend. You can also define your own coding standards for your project.
Installation
pear install PHP_CodeSniffer
See also
Copy/Paste Detector
Finds duplicated code.
Installation
Add the channels and Install
pear channel-discover pear.phpunit.de
pear channel-discover components.ez.no
pear install phpunit/phpcpd
See also
phpDocumentor
Documents your code.
Installation
pear install --alldeps PhpDocumentor
See also
PHPUnit
For executing unit tests and creating skeletons.
Installation
Add the channel and Install
pear channel-discover pear.phpunit.de pear install phpunit/PHPUnit
See also
Others
Statistics
This is ment to gather some statistics about your project, like number of files, code lines and sizes.
They are represented by pie charts (for now) using the javascript chart library from highcharts
Project reflection
Draws a picture of your extension.
Still under development..
