RSS

Blog

KnpIpsum, Symfony2 Tutorial Application

By Matthieu Bontemps
15 August 2011
In the What's up category
KnpIpsum, Symfony2 Tutorial Application

UPDATE − December 16th

Great news! As of today, we'll be offering you something much better: a Symfony2 Tutorial Screencast on our brand new KnpUniversity platform!

Written by our very own Ryan Weaver − manager of the Symfony2 documentation, trainer, talker and Symfony2 enthusiastic developer.

Watch it now!

Demo application

The KNP team has created a simple demo tutorial application in Symfony2 called KnpIpsum.
It contains lots of examples and tutorials. They should be easy to read for a beginner or for a developer who wants to discover new bundles.

You will discover how to use the best bundles and libs (Fos UserBundle, Behat, MenuBundle) in real life.

KnpIpsum can also be the base of your new Symfony2 application.

View the online demo

We've set up an online demo on ipsum.knplabs.org - have a look!

View the code online

The code is browsable and download on github.

Download the code

Use git to fetch the code locally:

git clone git://github.com/KnpLabs/KnpIpsum.git
php bin/vendors install

Then install the assets:

php app/console assets:install web
php app/console --no-debug assetic:dump
  • 2013-05-12 kevmtl

    i just downloaded it and it doesn't work....

    in app_dev.php :

    require_once __DIR__.'/../app/bootstrap.php.cache';

    file do not exists

  • 2013-02-28 Jérôme Petazzoni

    First: thanks a lot for putting this app together.
    However, it looks like a lot of things were updated behind the scenes, and the installation instructions don't work anymore.
    For starters, bin/vendors doesn't exist anymore in the repository.
    I don't know if you're still working on this tutorial, but if you are, I'd recommend to re-run the install at least once, to make sure that everything is working properly (I'm doing that currently; will let you know how it goes!)

  • 2013-02-18 fox

    Is there somewhere a tutorial which explains how such kind of template tags, template functions? , and bundles are created ?
    eg:
        {{ knp_menu_render('MyBundle:Builder:myMenu') }} 

    Please

  • 2013-02-10 PhpBeginner

    Stefan is very true... I personally have never used the command line to do anything with php and would love to have a simple explanation on how to install this without the command line...

  • 2011-12-10 Abdelkarim Mateos

    Where it's correct path for git clone git://github.com/KnpLabs/KnpIp... (attention of knplabs... not correct)
    Symfony/
    ../Symfony/

    ???

  • 2011-11-12 Stefan

    Ok guys,
    I'm really trying to get into Symfony2 but all those tutorials (which should be made for beginners) suck.
    When I call git in the root-directory, the KnIpsum-directory is created directly in the root-dir. Is that correct?

    Ok, even if I installed the assets, what now?
    Where do I have to point my browser to see anything.

  • 2011-10-27 neki chan

    thanks so much for the tuto. i'll start my learn from the demo d^^b