PHP Classes

Symfony Create Bundle Skeleton: Application to create reusable Symfony Bundles

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 66 All time: 10,372 This week: 55Up
Version License PHP version Categories
symfony-bundle-skele 1.0.0Custom (specified...5PHP 5, Tools, Code Generation
Description 

Author

This package is an application to create reusable Symfony Bundles.

It should be run from the command line console to create the files and the structure for a Symfony bundle after asking the user a few parameters about the bundle to be created.

Then the application itself can be run via a Web browser by accessing the Symfony or the PHP Web server at a given address and port also started from the command line.

Innovation Award
PHP Programming Innovation award winner
February 2020
Winner


Prize: One official elePHPant Plush Mascott
Symfony is a popular PHP framework used to develop many types of PHP based applications.

Symfony supports bundles which are basically components that can be reused by many applications.

This package implements a Web based application to help creating Symfony Bundles.

Manuel Lemos
Picture of Manolo Salsas
  Performance   Level  
Innovation award
Innovation award
Nominee: 6x

Winner: 1x

 

Documentation

Symfony Bundle Skeleton

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

Requirements

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

Installation

$ git clone https://github.com/msalsas/symfony-bundle-skeleton.git

Install Composer dependencies:

$ composer install

Usage

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.

Tests

Execute this command to run tests:

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

[1]: https://github.com/symfony/demo [2]: https://symfony.com/doc/current/reference/requirements.html [3]: https://symfony.com/doc/current/cookbook/configuration/web_server_configuration.html [4]: https://symfony.com/download [5]: https://github.com/symfony/webpack-encore


  Files folder image Files (226)  
File Role Description
Files folder imageassets (2 directories)
Files folder imagebin (2 files)
Files folder imageconfig (4 files, 2 directories)
Files folder imagelib (1 directory)
Files folder imagepublic (5 files, 1 directory)
Files folder imagesrc (1 file, 12 directories)
Files folder imagetemplates (1 file, 8 directories)
Files folder imagetests (4 directories)
Files folder imagetranslations (42 files)
Accessible without login Plain text file .editorconfig Data Auxiliary data
Accessible without login Plain text file .env Data Auxiliary data
Accessible without login Plain text file .env.test Data Auxiliary data
Accessible without login Plain text file .php_cs.dist Example Example script
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file appveyor.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file CONTRIBUTING.md Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file package.json Data Auxiliary data
Accessible without login Plain text file phpunit.xml.dist Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file symfony.lock Data Auxiliary data
Accessible without login Plain text file webpack.config.js Data Auxiliary data
Accessible without login Plain text file yarn.lock Data Auxiliary data

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:66
This week:0
All time:10,372
This week:55Up