dev-master
9999999-dev https://github.com/pvessel/article-bundleSimple CRUD Article Bundle.
MIT
The Requires
- php >=5.3.2
- symfony/framework-bundle ~2.3
The Development Requires
json xml html converter
Simple CRUD Article Bundle.
This bundle allow to create and view Articles., (*1)
Tell composer to require PvesselArticleBundle by running the command:, (*2)
``` bash $ php composer.phar require "pvessel/article-bundle:dev-master", (*3)
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 <?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Pvessel\ArticleBundle\PvesselArticleBundle(), ); }
Add to your routing.yml, (*4)
``` yml article: resource: "@PvesselArticleBundle/Controller" type: annotation, (*5)
### 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). ``` bash $ app/console doctrine:schema:update --dump-sql
Run your web server and browser and try it! ( use /article path to start), (*6)
Simple CRUD Article Bundle.
MIT
json xml html converter