2017 © Pedro Peláez
 

symfony-bundle tiny-tasks-bundle

Tiny Tasks Bundle is a demonstrative tasks manager application for Symfony 3 and upper.

image

jarenal/tiny-tasks-bundle

Tiny Tasks Bundle is a demonstrative tasks manager application for Symfony 3 and upper.

  • Thursday, August 25, 2016
  • by jarenal
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Welcome to Tiny Tasks Bundle

I've developed this bundle for testing and demonstration purposes., (*1)

Some of the main libraries used for to build this bundle were:, (*2)

Installation

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:, (*3)

    $ composer require jarenal/tiny-tasks-bundle

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation., (*4)

Step 2: Enable the Bundle and dependencies

Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:, (*5)

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new Jarenal\TinyTasksBundle\JarenalTinyTasksBundle(),
            new FOS\RestBundle\FOSRestBundle(),
            new JMS\SerializerBundle\JMSSerializerBundle(),
        );


        if (in_array($this->getEnvironment(), ['dev', 'test'], true)) {
            // ...

            $bundles[] = new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle();
        }
    }

    // ...
}

Step 3: Enable the routing

For to enable the routing add the next lines to your app/config/routing.yml file:, (*6)

    jarenal_tiny_tasks_bundle:
        resource: "@JarenalTinyTasksBundle/Resources/config/routing.yml"

Step 4: FosRestBundle settings

In your app/config/config.yml file add the next lines for to set the default configuration for FosRestBundle:, (*7)

    fos_rest:
        routing_loader:
            default_format: json

Step 5: Database setup

NOTICE: Please note that this bundle is for testing purposes, so be careful before to execute the next commands in your database.

First enter the parameters of your database if you have not done yet in your app/config/parameters.yml, (*8)

Then create the database if doesn't exist:, (*9)

    $ php bin/console doctrine:database:create

Update schema for to generate the tables:, (*10)

    $ php bin/console doctrine:schema:update

Load the default fixtures for the status table:, (*11)

    $ php bin/console doctrine:fixtures:load

Step 6: Publish assets

Publishing bundle assets:, (*12)

    $ php bin/console assets:install --symlink

Step 7: Clearing cache and try it!

Clear Symfony cache:, (*13)

    $ php bin/console cache:clear

And finally call to the bundle using the next url:, (*14)

http://YOUR_SERVER/tiny-tasks

The Versions

25/08 2016

dev-master

9999999-dev

Tiny Tasks Bundle is a demonstrative tasks manager application for Symfony 3 and upper.

  Sources   Download

MIT

The Requires

 

by Jose Antonio Arenal

bundle symfony manager example tiny tasks

25/08 2016

1.0.0

1.0.0.0

Tiny Tasks Bundle is a demonstrative tasks manager application for Symfony 3 and upper.

  Sources   Download

MIT

The Requires

 

by Jose Antonio Arenal

bundle symfony manager example tiny tasks