PHP Classes


Recommend this page to a friend!
  Classes of Manolo Salsas  >  Symfony Create Bundle Skeleton  >  >  Download  
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Symfony Create Bundle Skeleton
Application to create reusable Symfony Bundles
Author: By
Last change:
Date: 2 years ago
Size: 1,543 bytes


Class file image Download

Symfony Bundle Skeleton

The "Symfony Bundle Skeleton" is an application for creating reusable Symfony bundles. Forked from [symfony/demo][1]


* PHP 7.2.9 or higher; * PDO-SQLite PHP extension enabled; * and the [usual Symfony application requirements][2].


$ git clone

Install Composer dependencies:

$ composer install


Run this command to create the new bundle in /lib:

$ php bin/console skeleton-bundle:create

You will be asked for some needed arguments for the bundle structure and files.

There's no need to configure anything to run the application. If you have [installed Symfony][4], run this command and access the application in your browser at the given URL (<https://localhost:8000> by default):

$ cd symfony-bundle-skeleton/
$ symfony serve

If you don't have the Symfony binary installed, run php -S localhost:8000 -t public/ to use the built-in PHP web server or [configure a web server][3] like Nginx or Apache to run the application.


Execute this command to run tests:

$ cd symfony-bundle-skeleton/
$ ./bin/phpunit

[1]: [2]: [3]: [4]: [5]:

For more information send a message to info at phpclasses dot org.