jellybool/flysystem-upyun
Flysystem adapter for Upyun (又拍云) cloud storage, letting Laravel and PHP apps read, write, and manage files through the familiar Flysystem API. Drop it into your filesystem disks to use Upyun alongside local and S3 storage behind one consistent interface.
composer require vendor/package. On Laravel 5.5+ this release supports package auto-discovery, so you typically do not need to manually add the service provider or facade alias.php artisan vendor:publish --provider="Vendor\Package\PackageServiceProvider"
If the package documents a tag instead, use --tag=package-config..env, keeping actual defaults in config/package.php. Never read env() directly outside config files.use Vendor\Package\Package;
public function show(Package $package)
{
return $package->healthCheck();
}
config/app.php and add any facade alias.class SyncCustomer
{
public function __construct(private Package $package) {}
public function handle(Customer $customer): void
{
$this->package->sync($customer->toArray());
}
}
.env, but expose them through config/package.php. This keeps config:cache working correctly.$this->app->instance(PackageContract::class, new FakePackage());
config/app.php unless you are supporting older Laravel versions. Keep the manual registration documented for legacy deployments.php artisan config:cache after changing published config. Re-run it whenever .env or package config changes.$this->assertInstanceOf(Package::class, app(Package::class));
config/app.php. Registering both can cause duplicate bindings, duplicate event listeners, or confusing config merges.php artisan package:discover
php artisan config:clear
php artisan clear-compiled
composer dump-autoload
.env changes. A changed PACKAGE_API_KEY will not take effect until php artisan config:cache is re-run. This is a common “why is it still using the old value?” issue.extra.laravel.aliases. Check the package’s composer.json before relying on Package::.composer.json constraints against your application’s Laravel version.php artisan tinker and inspect app(Package::class) or config('package') to confirm binding and configuration.null or a default value when credentials are missing. Add a startup health check or an early assertion in your own service so misconfiguration fails loudly.How can I help you explore Laravel packages today?