mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-06 14:06:34 +02:00
Spacing
This commit is contained in:
@@ -15,4 +15,5 @@ To start the server, run the following command from your terminal in your projec
|
||||
|
||||
* [Learn about the built-in, command line web server][cli-server]
|
||||
|
||||
|
||||
[cli-server]: http://php.net/features.commandline.webserver
|
||||
|
@@ -35,6 +35,7 @@ The solutions listed above mainly handle PHP itself, and do not supply things li
|
||||
"All-in-one" solutions such as [MAMP][mamp-downloads] and [XAMPP][xampp] will install these other bits of software for
|
||||
you and tie them all together, but ease of setup comes with a trade-off of flexibility.
|
||||
|
||||
|
||||
[Homebrew]: http://brew.sh/
|
||||
[Homebrew PHP]: https://github.com/Homebrew/homebrew-php#installation
|
||||
[phpbrew]: https://github.com/phpbrew/phpbrew
|
||||
|
@@ -19,6 +19,7 @@ can use [phpmanager][phpmanager] (a GUI plugin for IIS7) to make configuring and
|
||||
FastCGI built in and ready to go, you just need to configure PHP as a handler. For support and additional resources
|
||||
there is a [dedicated area on iis.net][php-iis] for PHP.
|
||||
|
||||
|
||||
[php-downloads]: http://windows.php.net
|
||||
[wpi]: http://www.microsoft.com/web/downloads/platform.aspx
|
||||
[zsce]: http://www.zend.com/en/products/server-ce/
|
||||
|
@@ -39,6 +39,7 @@ performance, meaning real-time editor fixing is more fluid.
|
||||
English is preferred for all symbol names and code infrastructure. Comments may be written in any language easily
|
||||
readable by all current and future parties who may be working on the codebase.
|
||||
|
||||
|
||||
[fig]: http://www.php-fig.org/
|
||||
[psr0]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
|
||||
[psr1]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md
|
||||
|
@@ -28,6 +28,7 @@ to look into PSR-4.
|
||||
* [Read about PSR-0][psr0]
|
||||
* [Read about PSR-4][psr4]
|
||||
|
||||
|
||||
[namespaces]: http://php.net/language.namespaces
|
||||
[psr0]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
|
||||
[psr4]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md
|
||||
[psr4]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md
|
||||
|
@@ -12,4 +12,5 @@ over these datastructures or your own classes which implement SPL interfaces.
|
||||
|
||||
* [Read about the SPL][spl]
|
||||
|
||||
|
||||
[spl]: http://php.net/book.spl
|
||||
|
@@ -40,6 +40,7 @@ stand-alone xdebug GUI for Mac.
|
||||
* [Learn more about XDebug][xdebug-docs]
|
||||
* [Learn more about MacGDBp][macgdbp-install]
|
||||
|
||||
|
||||
[xdebug-install]: http://xdebug.org/docs/install
|
||||
[xdebug-docs]: http://xdebug.org/docs/
|
||||
[macgdbp-install]: http://www.bluestatic.org/software/macgdbp/
|
||||
|
@@ -11,8 +11,8 @@ dependencies. Even if you managed them manually, you still had to worry about au
|
||||
Currently there are two major package management systems for PHP - Composer and PEAR. Which one is right for you? The
|
||||
answer is both.
|
||||
|
||||
* Use **Composer** when managing dependencies for a single project.
|
||||
* Use **PEAR** when managing dependencies for PHP as a whole on your system.
|
||||
* Use **Composer** when managing dependencies for a single project.
|
||||
* Use **PEAR** when managing dependencies for PHP as a whole on your system.
|
||||
|
||||
In general, Composer packages will be available only in the projects that you explicitly specify whereas a PEAR package
|
||||
would be available to all of your PHP projects. While PEAR might sound like the easier approach at first glance, there
|
||||
|
@@ -114,10 +114,10 @@ file and tell you if you need to update any of your dependencies.
|
||||
|
||||
* [Learn about Composer][5]
|
||||
|
||||
|
||||
[1]: http://packagist.org/
|
||||
[2]: http://twig.sensiolabs.org
|
||||
[3]: https://www.versioneye.com/
|
||||
[4]: https://security.sensiolabs.org/
|
||||
[5]: http://getcomposer.org/doc/00-intro.md
|
||||
[6]: https://getcomposer.org/Composer-Setup.exe
|
||||
|
||||
|
@@ -78,6 +78,7 @@ $request = new pear2\HTTP\Request();
|
||||
|
||||
* [Learn more about using PEAR with Composer][6]
|
||||
|
||||
|
||||
[1]: http://pear.php.net/
|
||||
[2]: http://pear.php.net/manual/en/installation.getting.php
|
||||
[3]: http://pear.php.net/packages.php
|
||||
|
@@ -26,6 +26,5 @@ installed in any application you like:
|
||||
[4]: http://packages.zendframework.com/docs/latest/manual/en/index.html#zend-db
|
||||
[6]: https://github.com/auraphp/Aura.Sql
|
||||
[7]: http://propelorm.org/
|
||||
|
||||
[psr0]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
|
||||
[psr4]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md
|
||||
|
Reference in New Issue
Block a user