Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Fresh Package

Fresh Package Laravel Package

sunchayn/fresh-package

Fresh Package from sunchayn gives Laravel developers a clean, opinionated starting point for building reusable PHP packages, with sensible defaults and an Artisan-friendly workflow that cuts boilerplate and helps maintainable components ship faster.

View on GitHub
Deep Wiki
Context7

Fresh Package is a Laravel package scaffolding tool that generates a clean, modern starting point for reusable PHP packages. It removes the repetitive boilerplate—service providers, configuration, namespaces, and tests—so you can focus on building your package’s real features.

  • Interactive Artisan command for scaffolding new packages
  • Sensible PSR-4 structure and Composer metadata out of the box
  • Preconfigured service provider, config file, and test setup
  • Customizable stubs for matching your team’s conventions
  • Composer-ready output for local development or distribution
Frequently asked questions about Fresh Package
What is sunchayn/fresh-package used for?
It is an opinionated Composer skeleton for scaffolding a modular and decluttered Laravel package. You use it as a starting point rather than as a runtime dependency in an existing application. It supports both backend-only and full-stack package layouts.
How do I install sunchayn/fresh-package?
Because it is a package skeleton, the usual approach is to scaffold a new project from the repository or via Composer create-project, then customize the generated files. The exact command is documented in the repository README. Do not treat it as a normal library you require into an existing Laravel app unless the README says otherwise.
Does sunchayn/fresh-package support full-stack Laravel packages?
Yes, the overview states that it supports full-stack packages. That makes it suitable when your package includes frontend assets or other full-stack concerns alongside PHP code. Review the generated structure to see how those concerns are organized.
Can I use sunchayn/fresh-package for backend-only Laravel packages?
Yes, it explicitly supports backend-only packages. The skeleton is intended to stay decluttered, so you can remove or ignore full-stack scaffolding if you only need PHP backend code. Check the README for the recommended backend-only setup.
What Laravel versions does sunchayn/fresh-package support?
The provided context does not list specific Laravel version constraints. Check the repository's composer.json and README for the supported Laravel and PHP ranges before starting. Because it is a skeleton, you can often adjust those constraints for your target versions.
How is sunchayn/fresh-package structured for modularity?
It is described as a modular skeleton, meaning the generated package is organized into clear, separated concerns rather than a single flat directory. The goal is to keep the package decluttered and easier to navigate as it grows. Review the repository tree and README to see the exact module layout.
Is sunchayn/fresh-package suitable for production?
It is a scaffolding tool, so production suitability depends on the package you build from it. The skeleton gives you an opinionated starting structure, but you still need to add tests, validation, and release hygiene. Treat it as a development starting point, not a production runtime dependency.
How do I test a package scaffolded with sunchayn/fresh-package?
Testing setup should be part of the generated skeleton; inspect the test configuration and run the suite according to the README. For Laravel packages, common approaches include Orchestra Testbench and PHPUnit, but confirm what the skeleton actually includes. Add coverage for your package's public API before publishing.
What are alternatives to sunchayn/fresh-package for Laravel package development?
Common alternatives include Spatie's Laravel package skeleton, Laravel Package Boilerplate, and manually wiring a package with Orchestra Testbench. The best choice depends on whether you want an opinionated modular structure, full-stack support, or a minimal backend-only setup. Compare the generated directory structure and maintenance activity before deciding.
Is sunchayn/fresh-package maintained, and how do I contribute?
Maintenance status is best checked on the GitHub repository via recent commits, releases, and open issues. Contributions typically follow the repository's issue and pull request workflow. Read the README and contribution guidelines before submitting changes.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect