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

Sam Laravel Package

johnkrovitch/sam

johnkrovitch/sam is a lightweight Laravel/PHP package for integrating SAM into your application. It offers a Composer-based install, simple configuration, and Laravel-friendly conventions, keeping setup minimal and making it easy to add SAM support to existing projects.

View on GitHub
Deep Wiki
Context7

Simple Assets Manager for PHP Project

Frequently asked questions about Sam
How do I install johnkrovitch/sam in a Laravel project?
Install it with Composer using composer require johnkrovitch/sam. The package registers itself through Laravel package auto-discovery, so there is no manual service provider entry in config/app.php. If you need to change the defaults, publish the configuration file with the vendor:publish command shown in the README. Because the package is on a 0.1.x line, pin an exact version instead of a floating constraint.
Which Laravel and PHP versions does johnkrovitch/sam support?
The package overview only promises modern PHP support and Laravel-native integration with a small Composer-friendly footprint; it does not state an exact Laravel or PHP range. Check the composer.json constraints on Packagist before installing, and treat a permissive constraint such as ^9.0|^10.0|^11.0 as a declaration rather than proof of testing. Run it against your exact Laravel and PHP versions in a spike branch before committing.
Is johnkrovitch/sam production-ready?
It is published at version 0.1.7, which signals a pre-stable API with no backward-compatibility guarantee, so be cautious about putting it on a critical path. The most recent release was a release-engineering fix to the version git tag rather than a code change, which raises questions about distribution integrity more than runtime behavior. For non-critical utilities it may be acceptable, but for critical paths wait until it reaches 1.0 or demonstrates a stable interface across several minor releases.
How do I publish the johnkrovitch/sam config file?
The package ships publishable configuration with sensible defaults, so you only need to publish it when you want to override something. Use the standard Laravel vendor:publish command with the package's provider or tag as documented in the README. Publishing is optional because the defaults are designed to work out of the box after Composer auto-discovery.
Should I use ^0.1 or an exact version when requiring johnkrovitch/sam?
Use an exact version such as 0.1.7 and commit your composer.lock file. On a pre-1.0 package, minor releases may break backward compatibility, so a caret constraint gives away the stability you do not actually have. Pin exactly and give a named owner responsibility for bump decisions so upgrades are deliberate rather than incidental.
Why does the v0.1.7 tag fix matter for my lockfile?
The v0.1.7 release notes say only "fix the version git tag", which implies earlier tags disagreed with the version field or with the v-prefix convention Packagist expects. If a tag was moved, deleted, or re-cut after publication, a version identifier no longer maps to immutable content and a fresh install can resolve different code than before. Before relying on any constraint at or below 0.1.6, confirm which tags were re-cut, and test a clean install in a throwaway project.
Does johnkrovitch/sam include tests or CI?
Nothing in the available information describes a test suite, CI badge, or changelog discipline, so assume there is no safety net until you verify otherwise. Absence of evidence is not proof of absence, but on a 0.1.x package with recent release-tooling churn it is the safer assumption. If tests matter to you, write an integration test against the package's public API and run it in your own pipeline.
How do I test code that uses johnkrovitch/sam?
The package advertises a fluent, testable API built on Laravel's service container and facades, which means you can swap implementations through the container in your test suite. Bind a fake or stub of the SAM service in your test case and assert against your own application code rather than the package internals. Because the public surface may shift during 0.x releases, keep those tests thin and focused on the behavior you depend on.
What is the upgrade cost at the next Laravel major version?
That depends on how tightly the package is coupled to the framework, which the available material does not settle. The overview mentions a service provider, config publishing, and facades, all of which are framework-coupled by nature, but it does not list migrations or other version-sensitive integrations. Review the package source for version-specific APIs before planning a Laravel major upgrade.
Is johnkrovitch/sam actively maintained, and what are the alternatives?
The evidence available is a single 0.1.7 release note about fixing the version git tag, so maintenance activity cannot be judged from it. Ask the maintainer about the intended 1.0 timeline and the stated backward-compatibility policy for 0.x before adopting. When comparing alternatives, favor packages with a 1.0+ release, a published test matrix, and a changelog, since those give you the stability signals this package does not yet show.
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.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console