Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Devon's avatar
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:

  1. Getting Started: Developing basic functionality with TDD (service provider, publish asset/migration, create a view composer, etc).
  2. Extracting the Package: Extract the functionality and related tests into a package.
  3. Local Development: Using the package locally (pre-publish) in a Laravel application with Composer... Run tests, edit code, everything should be working.
  4. Preparing to Publish: License and ReadMe overview/recommendations.
  5. Let's Publish: Publishing the package to GitHub and Packagist.
  6. Configuring GitHub Bots: Overview of TravisCI and other common bots/tools.
  7. Understanding Semver: Pre-release and post-release versioning and release tags.
  8. Future Releases: Add final features and push as first major stable release.
  9. Test-Driving a PR: Pull in a specific PR, run tests, and finally merge.
  10. 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. :)

0 likes
0 replies

Please or to participate in this conversation.