2017 © Pedro Peláez
 

symfony-bundle base-development-bundle

Skeleton bundle for the development and testing of new bundles for Symfony. Esqueleto de bundle para desarrollar y testear nuevos bundles para symfony

image

skilla/base-development-bundle

Skeleton bundle for the development and testing of new bundles for Symfony. Esqueleto de bundle para desarrollar y testear nuevos bundles para symfony

  • Saturday, February 4, 2017
  • by skilla
  • Repository
  • 1 Watchers
  • 0 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

BaseDevelopmentBundle

Skeleton bundle for the development and testing of new bundles for Symfony, (*1)

[Status], (*2)

Latest Stable Version Build Status Total Downloads Latest Unstable Version License composer.lock codecov, (*3)

[English], (*4)

If you plan to create a bundle for Symfony 2 or 3, this can be a good way to start., (*5)

This repository provides you with the basic structure to begin programming without the need to include your bundle on a project and test it from there., (*6)

Once cloned just run a script that will update the namespaces, the names of classes and configuration files to suit your "user / bundle"., (*7)

As use in 5 steps: - Clone this repository - Run the script changeBundleName.php to adapt the bundle to its "user / bundle name" - Initialize our git repository in src/ folder - Upload the bundle to your repository - Start programming your project, (*8)

[Español], (*9)

Si planeas crear un bundle para symfony 2 o 3, esta puede ser una buena manera de empezar., (*10)

Este repositorio le provee de la estructura básica para empezar a programar sin la necesidad de incluir su bundle en un proyecto y testearlo desde ahí., (*11)

Una vez clonado solo hay que ejecutar un script que actualizará los namespaces, los nombres de las clases y los ficheros de configuración para adaptarlos a su "user/bundle"., (*12)

Como usarlo en 5 pasos: - Clonar este repositorio - Ejecutar el script changeBundleName.php para adaptár el bundle a su "usuario/nombre del bundle" - Inicialice su repositorio git en la carpeta src/ - Subir el bundle a su repositorio - Iniciar la programación de su proyecto, (*13)

[EXAMPLE | EJEMPLO], (*14)

skilla@caribdis $ git clone https://github.com/skilla/BaseDevelopmentBundle.git MyNewBundle

Cloning into 'MyNewBundle'...
remote: Counting objects: 123, done.
remote: Compressing objects: 100% (69/69), done.
remote: Total 123 (delta 32), reused 0 (delta 0), pack-reused 53
Receiving objects: 100% (123/123), 33.07 KiB | 0 bytes/s, done.
Resolving deltas: 100% (49/49), done.
Checking connectivity... done., (*15)

skilla@caribdis $ cd MyNewBundle
skilla@caribdis MyNewBundle$ php changeBundleName.php User/TestBundle

Checking number of arguments ... OK
Checking bundle name ... OK
Replacing app config values ... OK
Replacing appKernel values ... OK
Replacing DependencyInjection/Configuration values ... OK
Replacing DependencyInjection/Extension values ... OK
Renaming DependencyInjection/Extension ... OK
Replacing Bundle values ... OK
Renaming bundle ... OK
Replacing composer values ... OK
Updating composer ... ... Removing vendors ... OK
Removing composer.lock ... OK
Installing vendors ...
Loading composer repositories with package information
Updating dependencies (including require-dev)
Installing symfony/polyfill-mbstring (v1.2.0)
Loading from cache, (*16)

Installing symfony/translation (v3.1.6)
Loading from cache, (*17)

Installing symfony/templating (v3.1.6)
Loading from cache, (*18)

Installing symfony/stopwatch (v3.1.6)
Loading from cache, (*19)

Installing symfony/polyfill-util (v1.2.0)
Loading from cache, (*20)

. . .
. . ., (*21)

Installing phpunit/phpunit (5.6.2)
Loading from cache, (*22)

Installing incenteev/composer-parameter-handler (v2.1.2)
Loading from cache, (*23)

symfony/security-core suggests installing symfony/expression-language (For using the expression voter)
symfony/security-core suggests installing symfony/ldap (For using LDAP integration)
symfony/security-core suggests installing symfony/validator (For using the user password constraint)
paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
symfony/routing suggests installing symfony/expression-language (For using expression matching)
symfony/http-kernel suggests installing symfony/browser-kit ()
symfony/http-kernel suggests installing symfony/var-dumper ()
symfony/dependency-injection suggests installing symfony/expression-language (For using expressions in service container configuration)
symfony/dependency-injection suggests installing symfony/proxy-manager-bridge (Generate service proxies to lazy load them)
symfony/class-loader suggests installing symfony/polyfill-apcu (For using ApcClassLoader on HHVM)
symfony/cache suggests installing symfony/polyfill-apcu (For using ApcuAdapter on HHVM)
symfony/framework-bundle suggests installing ext-apcu (For best performance of the system caches)
symfony/framework-bundle suggests installing symfony/form (For using forms)
symfony/framework-bundle suggests installing symfony/process (For using the server:run, server:start, server:stop, and server:status commands)
symfony/framework-bundle suggests installing symfony/property-info (For using the property_info service)
symfony/framework-bundle suggests installing symfony/serializer (For using the serializer service)
symfony/framework-bundle suggests installing symfony/validator (For using validation)
symfony/console suggests installing symfony/process ()
sebastian/global-state suggests installing ext-uopz (*)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
Writing lock file
Generating autoload files, (*24)

Incenteev\ParameterHandler\ScriptHandler::buildParameters
Creating the "app/config/parameters.yml" file
Some parameters are missing. Please provide them.
secret ('this is the kernel secret for symfony/framework.'):
OK, (*25)

Executing app/console, (*26)

Symfony version 3.1.6 - app/dev/debug, (*27)

Usage:
command [options] [arguments], (*28)

Options:
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
-e, --env=ENV The Environment name. [default: "dev"]
--no-debug Switches off debug mode.
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug, (*29)

Available commands:
help Displays help for a command
list Lists commands
assets
assets:install Installs bundles web assets under a public web directory
cache
cache:clear Clears the cache
cache:warmup Warms up an empty cache
config
config:dump-reference Dumps the default configuration for an extension
debug
debug:config Dumps the current configuration for an extension
debug:container Displays current services for an application
debug:event-dispatcher Displays configured listeners for an application
debug:translation Displays translation messages information
lint
lint:yaml Lints a file and outputs encountered errors
translation
translation:update Updates the translation file
Deleting original .git directory ... OK, (*30)

remember change author name and email in composer.json, (*31)

Good luck with our new bundle, (*32)

skilla@caribdis MyNewBundle$ cd src
skilla@caribdis src$ git init

Initialized empty Git repository in .../MyNewBundle/src/.git/, (*33)

skilla@caribdis src$ echo "# MyNewBundle" >> README.md
skilla@caribdis src$ git add .
skilla@caribdis src$ git commit -m "first commit"

[master (root-commit) ce3f704] first commit
xxx file changed, xxxx insertion(+)
create mode 100644 README.md
. . .
. . ., (*34)

skilla@caribdis src$ git remote add origin https://github.com/skilla/MyNewBundle.git
skilla@caribdis src$ git push -u origin master

Counting objects: 3, done.
Writing objects: 100% (3/3), 235 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To https://github.com/skilla/MyNewBundle.git
[new branch] master -> master
Branch master set up to track remote branch master from origin., (*35)

The Versions

04/02 2017

dev-master

9999999-dev

Skeleton bundle for the development and testing of new bundles for Symfony. Esqueleto de bundle para desarrollar y testear nuevos bundles para symfony

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires

by Sergio Zambrano Delfa

develop symfony bundle program symfony bundle bundle test adhoc desarrollar bundle symfony programar bundle symfony testear bundle symfony

27/11 2016

1.0.8

1.0.8.0

Skeleton bundle for the development and testing of new bundles for Symfony. Esqueleto de bundle para desarrollar y testear nuevos bundles para symfony

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires

by Sergio Zambrano Delfa

develop symfony bundle program symfony bundle bundle test adhoc desarrollar bundle symfony programar bundle symfony testear bundle symfony

27/11 2016

1.0.7

1.0.7.0

Skeleton bundle for the development and testing of new bundles for Symfony. Esqueleto de bundle para desarrollar y testear nuevos bundles para symfony

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires

by Sergio Zambrano Delfa

develop symfony bundle program symfony bundle bundle test adhoc desarrollar bundle symfony programar bundle symfony testear bundle symfony

27/11 2016

1.0.6

1.0.6.0

Skeleton bundle for the development and testing of new bundles for Symfony. Esqueleto de bundle para desarrollar y testear nuevos bundles para symfony

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires

by Sergio Zambrano Delfa

develop symfony bundle program symfony bundle bundle test adhoc desarrollar bundle symfony programar bundle symfony testear bundle symfony

01/11 2016

1.0.5

1.0.5.0

Skeleton bundle for the development and testing of new bundles for Symfony. Esqueleto de bundle para desarrollar y testear nuevos bundles para symfony

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires

by Sergio Zambrano Delfa

develop symfony bundle program symfony bundle bundle test adhoc desarrollar bundle symfony programar bundle symfony testear bundle symfony

01/11 2016

1.0.4

1.0.4.0

Skeleton bundle for the development and testing of new bundles for Symfony. Esqueleto de bundle para desarrollar y testear nuevos bundles para symfony

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires

by Sergio Zambrano Delfa

develop symfony bundle program symfony bundle bundle test adhoc desarrollar bundle symfony programar bundle symfony testear bundle symfony