for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace FeiMx\Tax;
use Illuminate\Support\ServiceProvider;
class TaxServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
*/
public function boot()
if (!class_exists('CreateTaxesTables')) {
$timestamp = date('Y_m_d_His', time());
$this->publishes([
__DIR__.'/../database/migrations/create_taxes_tables.php.stub' => $this->app->databasePath()."/migrations/{$timestamp}_create_taxes_tables.php",
databasePath()
Illuminate\Contracts\Foundation\Application
basePath()
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.
], 'migrations');
}
if ($this->app->runningInConsole()) {
__DIR__.'/../config/tax.php' => config_path('tax.php'),
], 'config');
* Register the application services.
public function register()
$this->mergeConfigFrom(__DIR__.'/../config/tax.php', 'tax');
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.