for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace FaizShukri\Quran;
use Illuminate\Support\ServiceProvider;
class QuranServiceProvider extends ServiceProvider
{
/**
* Register bindings in the container.
*/
public function register()
$this->mergeConfigFrom(
realpath(__DIR__.'/../config/quran.php'), 'quran'
);
$this->app->bind(Quran::class, function ($app) {
return new Quran($app['config']['quran']);
});
$this->app->bind('quran', function ($app) {
}
* Perform post-registration booting of services.
public function boot()
$this->publishes([
realpath(__DIR__.'/../config/quran.php') => config_path('quran.php'),
]);