178inaba/tomlara

package for using the config file of toml in laravel.

Maintainers

👁 178inaba

Package info

github.com/178inaba/tomlara

pkg:composer/178inaba/tomlara

Fund package maintenance!

178inaba

Statistics

Installs: 43

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.2 2016-06-07 16:46 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 846a10fb53b7b8762c983c0d3b9f96240a95281d

  • 178inaba <178inaba.woop@users.noreply.github.com>

configurationlaraveltoml

This package is not auto-updated.

Last update: 2026-06-21 04:21:49 UTC


README

👁 Total Downloads
👁 Latest Stable Version
👁 Latest Unstable Version
👁 License

package for using the config file of toml in laravel.

install

$ composer require 178inaba/tomlara

how to use

add bootstrappers() method for app/Http/Kernel.php and app/Console/Kernel.php.

<?php

//namespace App\Console;
namespace App\Http;

//use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
use Illuminate\Foundation\Http\Kernel as HttpKernel;

//class Kernel extends ConsoleKernel
class Kernel extends HttpKernel
{
 // ...

 protected function bootstrappers()
 {
 $this->bootstrappers[] = 'Inaba\Tomlara';
 return $this->bootstrappers;
 }
}

use func

inspired by Devitek/laravel-yaml-configuration

test

$ composer install
$ vendor/bin/phpunit --bootstrap vendor/autoload.php tests

licence

MIT