venu / sf2-blog
Simple blog application built on symfony2
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 1
Open Issues: 0
Type:application
Requires
- php: >=5.3.3
- doctrine/doctrine-bundle: 1.0.*
- doctrine/doctrine-fixtures-bundle: dev-master
- doctrine/doctrine-migrations-bundle: dev-master
- doctrine/orm: >=2.2.3,<2.4-dev
- friendsofsymfony/rest-bundle: 0.10.*
- friendsofsymfony/user-bundle: 2.0.*
- gedmo/doctrine-extensions: 2.3.0
- jms/debugging-bundle: dev-master
- jms/di-extra-bundle: 1.0.*
- jms/security-extra-bundle: 1.1.*
- jms/serializer-bundle: 0.9.*
- mopa/wsse-authentication-bundle: dev-master
- nelmio/api-doc-bundle: 2.0.*
- sensio/buzz-bundle: dev-master
- sensio/distribution-bundle: 2.1.*
- sensio/framework-extra-bundle: 2.1.*
- sensio/generator-bundle: 2.1.*
- stfalcon/tinymce-bundle: dev-master
- stof/doctrine-extensions-bundle: 1.1.*
- symfony/assetic-bundle: 2.1.*
- symfony/monolog-bundle: 2.1.*
- symfony/swiftmailer-bundle: 2.1.*
- symfony/symfony: 2.1.*
- twig/extensions: 1.0.*
This package is not auto-updated.
Last update: 2025-03-29 16:11:42 UTC
README
This is simple demo of creating blog using symfony2 (2.1) & with some good bundles.
- FOSUserBundle
- FosRestBundle
- NelmioApiDocBundle
- JMSSerializerBundle
- TinymceBundle
- Doctrine Bundles (ORM, fixtures, Migrations etc)
- and some other good bundles
Features
- Anonymous/Logged in user can view posts.
- User can register, log-in etc
- User can post comments.
- User can like/dislike posts.
- Admin can login.
- Admin can manage (create/view/edit/delete) posts.
- Admin can manage comments.
Intallation
- git clone git@github.com:venu/sf2-blog.git
- curl -s http://getcomposer.org/installer | php
- php composer.phar install
- Rename app/config/paramters.dist.yml to app/config/paramters.yml
- Modify app/config/paramters.yml file with your database settings.
- Create virtualhost for blog.local. And that domain in host file.
Setup Database
- php app/console doctrine:migrations:migrate
- php app/console doctrine:fixtures:load --append
Testing
- Blog: http://blog.local/
- Api: http://blog.local/apidoc/
- Admin: http://blog.local/admin/