for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Owowagency\LaravelMedia;
use Illuminate\Support\ServiceProvider;
class LaravelMediaServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
*
* @return void
*/
public function boot(): void
$this->loadTranslationsFrom(__DIR__.'/../translations', 'laravel-media');
if ($this->app->runningInConsole()) {
$this->publishes([
__DIR__.'/../config/config.php' => config_path('laravel-media.php'),
], 'config');
}
* Register the application services.
public function register(): void
// Automatically apply the package configuration
$this->mergeConfigFrom(__DIR__.'/../config/config.php', 'laravel-media');