Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP Building Websites with PHP Slim Basics & Twig Templates Installing The Slim Framework

Which Software i Need To install in my Local PC for working in PHP.

Which Software i have to use in my local PC for to add Monolog and Slim ... Best Platfome To Learn PHP inclued all Source. or i can add easly.

1 Answer

DATA DEER
DATA DEER
18,940 Points

I'd recommend XAMPP. It consists of a virtual apache server that can run your php code on your local pc.

  • Just Install XAMPP, start the apache server and navigate to the htdocs folder inside the installation directory.
  • Create a new folder for every project you start.
  • Put you files into the matching folder.
  • Then you can easily access your files by typing "localhost" into your browser and selecting the project folder.

Sadly XAMPP doesn't work properly with Skype running in the background. So just close Skype to run the XAMPP virtual server.

Thanks But I need Coding Software Which can add metalog silly ... componnants For this:

" use Monolog\Logger; use Monolog\Handler\StreamHandler;

// create a log channel $log = new Logger('name'); $log->pushHandler(new StreamHandler('path/to/your.log', Logger::WARNING));

// add records to the log $log->addWarning('Foo'); "

DATA DEER
DATA DEER
18,940 Points

It looks like there is a way to install slim on a local system like XAMPP. (But i have to admit that i haven't tried this tutorial)