mnavarrocarter/bundle-skeleton

This package is abandoned and no longer maintained. No replacement package was suggested.

1.0.0 2018-09-03 12:43 UTC

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!