mnavarrocarter / bundle-skeleton
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^7.1
- symfony/config: ^4.0
- symfony/dependency-injection: ^4.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.12
- symfony/http-kernel: ^4.0
- symfony/phpunit-bridge: ^4.0
- symfony/var-dumper: ^4.0
- symfony/yaml: ^4.0
This package is auto-updated.
Last update: 2019-08-18 18:29:47 UTC
README
A boilerplate for new Symfony Bundles.
Features
- PHP Unit ready
- PHP CS Fix ready
- Separates your logic from other libraries with the Bridge namespace
Instructions
Use composer to start a new bundle project:
composer create-project mnavarrocarter/bundle-skeleton <folder>
Once ready, replace globally in project (excluding vendor):
MNC => Vendor
LibraryName => BundleName
mnc_base => vendor_bundle
mnavarrocarter/base-bundle => vendorname/package
John Doe => Your name
your-email@example.com => Your email
Then, rename the following files:
MNCLibraryNameBundle.php => VendorBundleNameBundle.php
MNCLibraryNameExtension.php => VendorBundleNameExtension.php
Also, check that all the references to the Extension and Bundle classes are correctly changed.
And done!