Giter Site home page Giter Site logo

liip / liiphellobundle Goto Github PK

View Code? Open in Web Editor NEW
200.0 67.0 51.0 349 KB

[DEPRECATED] Alternative Hello World Bundle for Symfony2 using several FriendsOfSymfony Bundles

PHP 70.81% Gherkin 1.62% HTML 27.57%
symfony php hello-world bundle symfony-bundle

liiphellobundle's Introduction

UNMAINTAINED

This bundle is no longer maintained. Feel free to fork it if needed.

Installation

  1. Add this bundle to your composer.json:

     $ php composer.phar require liip/hello-bundle:dev-master
    
  2. Add this bundle to your application's kernel:

     // application/ApplicationKernel.php
     public function registerBundles()
     {
         return array(
             // ...
             new Liip\HelloBundle\LiipHelloBundle(),
             // ...
         );
     }
    

Alternatively download and install the following Symfony2 Standard Edition fork:

    $ git clone https://github.com/liip-forks/symfony-standard.git
    $ cd symfony-standard
    $ git checkout techtalk

What is this?

Just a very simple example bundle using services for controllers and the following Bundles:

  • FOSRestBundle / JMSSerializerBundle
  • FOSUserBundle
  • DoctrinePHPCRBundle
  • LiipContainerWrapperBundle
  • LiipImagineBundle
  • LiipDoctrineCacheBundle
  • LiipThemeBundle
  • LiipHyphenatorBundle
  • NelmioApiDocBundle

liiphellobundle's People

Contributors

adrienbrault avatar kosdfol avatar lsmith77 avatar mik-laj avatar vzabaznov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

liiphellobundle's Issues

composer vendor update

Had to modify the json file (for the fork of the symfony-standard) as follow to get the vendors:

    "require": {
       ...
        "doctrine/doctrine-bundle": "1.2.*",
        "doctrine/doctrine-fixtures-bundle": "2.1.*",
       ...
        "symfony/monolog-bundle": "2.2.*",
        ...
    },

Service Issue

After i added the bundle correctly to my SF2 Version i got an exception:

RuntimeException: The parent definition "liip_container_wrapper.service" defined for definition "liip_hello.container" does not exist.

Bundle installation fails

doctrine/phpcr-bundle 1.0.*

Is not found when running the php composer.phar require liip/hello-bundle command inside of an existing symfony 2.3.1 project.

The error is the following:
liip/hello-bundle dev-master requires doctrine/phpcr-bundle 1.0.* -> no matching package found

Install doesn't work, missing dependency.

Problem 1
- Installation request for liip/hello-bundle dev-master -> satisfiable by liip/hello-bundle[dev-master].
- liip/hello-bundle dev-master requires liip/hyphenator-bundle dev-master -> no matching package found.

Failed to start the session because headers have already been sen during NelmioApiDocBundle integration

Hi,
I integrated FOSUserBundle, FOSFacebookBundle, FOSRestFulBundle and others Bundles ant that's all right!
Now I'm trying to integrate NelmioApiDocBundle but it doesn't work.
The error is:

RuntimeException: Failed to start the session because headers have already been sent.

at Session->start() in /home/project/domains/project.com/public_html/project_dev/vendor/friendsofsymfony/facebook-bundle/FOS/FacebookBundle/Facebook/FacebookSessionPersistence.php line 28

Missing "phpcr/phpcr-implementation" package ruins the composer installation

I've got this error during composer install after git clone this repo:

Problem 1
    - doctrine/phpcr-odm 1.4.x-dev requires phpcr/phpcr-implementation ^2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.4.0 requires phpcr/phpcr-implementation ^2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.3.2 requires phpcr/phpcr-implementation ^2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.3.1 requires phpcr/phpcr-implementation ^2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.3.0-rc4 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.3.0-rc3 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.3.0-rc2 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.3.0-rc requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.3.0 requires phpcr/phpcr-implementation ^2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.2.x-dev requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.2.6 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.2.5 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.2.4 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.2.3 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.2.2 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.2.1 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.2.0-rc6 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.2.0-rc5 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.2.0-rc4 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.2.0-rc3 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.2.0-rc2 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.2.0-RC1 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.2.0 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.1.x-dev requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.1.4 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.1.3 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.1.2 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.1.1 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.1.0-beta2 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.1.0-beta1 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.1.0-RC2 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.1.0-RC1 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.1.0 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.0.x-dev requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.0.2 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.0.1 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - doctrine/phpcr-odm 1.0.0-beta5 requires phpcr/phpcr-implementation >=2.1.0-beta3,<2.2.0-dev -> no matching package found.
    - doctrine/phpcr-odm 1.0.0-beta4 requires phpcr/phpcr-implementation >=2.1.0-beta3,<2.2.0-dev -> no matching package found.
    - doctrine/phpcr-odm 1.0.0-beta3 requires phpcr/phpcr-implementation >=2.1.0-beta3,<2.2.0-dev -> no matching package found.
    - doctrine/phpcr-odm 1.0.0-beta2 requires phpcr/phpcr-implementation >=2.1.0-beta3,<2.2.0-dev -> no matching package found.
    - doctrine/phpcr-odm 1.0.0-beta1 requires phpcr/phpcr-implementation >=2.1.0-beta3,<2.2.0-dev -> no matching package found.
    - doctrine/phpcr-odm 1.0.0-alpha2 requires phpcr/phpcr-implementation >=2.1.0-beta3,<2.2.0-dev -> no matching package found.
    - doctrine/phpcr-odm 1.0.0-alpha1 requires phpcr/phpcr-implementation >=2.1.0-beta3,<2.2.0-dev -> no matching package found.
    - doctrine/phpcr-odm 1.0.0-RC5 requires phpcr/phpcr-implementation ~2.1.0-RC1 -> no matching package found.
    - doctrine/phpcr-odm 1.0.0-RC4 requires phpcr/phpcr-implementation ~2.1.0-RC1 -> no matching package found.
    - doctrine/phpcr-odm 1.0.0-RC3 requires phpcr/phpcr-implementation ~2.1.0-RC1 -> no matching package found.
    - doctrine/phpcr-odm 1.0.0-RC2 requires phpcr/phpcr-implementation ~2.1.0-RC1 -> no matching package found.
    - doctrine/phpcr-odm 1.0.0-RC1 requires phpcr/phpcr-implementation ~2.1.0-RC1 -> no matching package found.
    - doctrine/phpcr-odm 1.0.0 requires phpcr/phpcr-implementation ~2.1.0 -> no matching package found.
    - Installation request for doctrine/phpcr-odm ~1.0 -> satisfiable by doctrine/phpcr-odm[1.0.0, 1.0.0-RC1, 1.0.0-RC2, 1.0.0-RC3, 1.0.0-RC4, 1.0.0-RC5, 1.0.0-alpha1, 1.0.0-alpha2, 1.0.0-beta1, 1.0.0-beta2, 1.0.0-beta3, 1.0.0-beta4, 1.0.0-beta5, 1.0.1, 1.0.2, 1.0.x-dev, 1.1.0, 1.1.0-RC1, 1.1.0-RC2, 1.1.0-beta1, 1.1.0-beta2, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.x-dev, 1.2.0, 1.2.0-RC1, 1.2.0-rc2, 1.2.0-rc3, 1.2.0-rc4, 1.2.0-rc5, 1.2.0-rc6, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.x-dev, 1.3.0, 1.3.0-rc, 1.3.0-rc2, 1.3.0-rc3, 1.3.0-rc4, 1.3.1, 1.3.2, 1.4.0, 1.4.x-dev].

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.

It seems that phpcr/phpcr-implementation became Virtual Package and causes this issue. No idea how to solve that, please advice

liip_container_wrapper.service

RuntimeException: The parent definition "liip_container_wrapper.service" defined for definition "liip_hello.container" does not exist.

Login issue

Hello

Seems there is problem in login action.
"You must configure the check path to be handled by the firewall using form_login in your security firewall configuration."

Your requirements could not be resolved to an installable set of packages.

During installation - php composer.phar require liip/hello-bundle:dev-master i received this problem.

Problem 1
- Installation request for liip/hello-bundle dev-master -> satisfiable by liip/hello-bundle[dev-master].
- liip/hello-bundle dev-master requires friendsofsymfony/user-bundle ~2.0 -> satisfiable by friendsofsymfony/user-bundle[2.0.x-dev, v2.0.0-alpha1, v2.0.0-alpha2, v2.0.0-alpha3] but these conflict with your requirements or minimum-stability.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.