New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

178inaba/tomlara

package for using the config file of toml in laravel.
43
Install
composer require 178inaba/tomlara
Latest Version:v1.0.2
Laravel:5
Older releases:4
License:MIT
Last Updated:Jun 7, 2016
Links: GitHub  ·  Packagist
Maintainer: 178inaba

tomlara

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

Related Packages

chrisd-autume/db-config

Laravel Config with DB-storage support

2,167 0
apt-getyou/db-config

Laravel Config with DB-storage support

37 0
larapacks/setting

Persistent Laravel configuration settings.

8,795 5
c4uno/config-database

It fetches and merges configuration from database to Laravel/Lumen 5

4,206
orchestra/config

Configuration Component for Laravel and Orchestra Platform

9,091 7

Version History

Version Released Laravel License
v1.0.2 ^5.2 MIT
v1.0.1 ^5.2 MIT
v1.0.0 * MIT