pvessel / article-bundle
Simple CRUD Article Bundle.
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.2
- symfony/framework-bundle: ~2.3
Requires (Dev)
- phpunit/phpunit: ~3.7
- symfony/console: ~2.3
- symfony/yaml: ~2.3
This package is not auto-updated.
Last update: 2025-05-06 10:59:27 UTC
README
This bundle allow to create and view Articles.
Installation
Step 1: Download PvesselArticleBundle using composer
Tell composer to require PvesselArticleBundle by running the command:
$ php composer.phar require "pvessel/article-bundle:dev-master"
Composer will install the bundle to your project's vendor/pvessel/article-bundle
directory.
Step 2: Enable the bundle
Enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Pvessel\ArticleBundle\PvesselArticleBundle(), ); }
Step 3: Add to router
Add to your routing.yml
article: resource: "@PvesselArticleBundle/Controller" type: annotation
Step 4: Update database
In order to work with this bundle you must update your database (and create one if you don't use it yet).
$ app/console doctrine:schema:update --dump-sql
Step 5: Enjoy!
Run your web server and browser and try it! ( use /article path to start)