Oct 14, 2017
0
Level 18
Updated Package Development/Git Workflow Series
Package development has changed a bit since Laravel 4's "Workbench" days, it'd be nice to see an updated series on this topic.
Series could look something like:
- Getting Started: Developing basic functionality with TDD (service provider, publish asset/migration, create a view composer, etc).
- Extracting the Package: Extract the functionality and related tests into a package.
- Local Development: Using the package locally (pre-publish) in a Laravel application with Composer... Run tests, edit code, everything should be working.
- Preparing to Publish: License and ReadMe overview/recommendations.
- Let's Publish: Publishing the package to GitHub and Packagist.
- Configuring GitHub Bots: Overview of TravisCI and other common bots/tools.
- Understanding Semver: Pre-release and post-release versioning and release tags.
- Future Releases: Add final features and push as first major stable release.
- Test-Driving a PR: Pull in a specific PR, run tests, and finally merge.
-
Proof of Concept: Create a new app and install the working package using
composer require.
I think having an up-to-date series like this can help stimulate the growth of the community in terms of the number of people developing packages. Plus, it's great to see the workflow of other's in the industry. :)
Please or to participate in this conversation.