2017 © Pedro Peláez
 

library config-manager

Package to edit and view config files

image

infinety-es/config-manager

Package to edit and view config files

  • Monday, May 15, 2017
  • by Krato1
  • Repository
  • 2 Watchers
  • 7 Stars
  • 709 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 2 Open issues
  • 7 Versions
  • 26 % Grown

The README.md

Laravel 5 Config Manager

Latest Stable Version Total Downloads StyleCI License, (*1)

With this package you can edit your Laravel config files in an easy way., (*2)

Laravel 5 Config Manager, (*3)

Usage Instructions

Install through composer:, (*4)

composer require infinety-es/config-manager

Add this to app/config/app.php under the providers key:, (*5)

Infinety\ConfigManager\ConfigManagerServiceProvider::class,

Publish package files:, (*6)

php artisan vendor:publish --provider="Infinety\ConfigManager\ConfigManagerServiceProvider"

Create default layout with php artisan make:auth and edit layouts/app.blade.php and add a yield called script after app.js. Your app.blade.php should look like:, (*7)

    <!-- Scripts -->
    <script src="{{ asset('js/app.js') }}"></script>
    @yield('scripts')
</body>

Edit config/configmanager.php config file to set the route and middleware, default to:, (*8)

<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Routes group config
    |--------------------------------------------------------------------------
    |
    | The default group settings for the translations routes.
    |
    */
    'route' => [
        'prefix' => 'dashboard/config',
        'middleware' => [
            'web',
            'auth',
            'role:admin',
        ],
    ],
];

And now go to your route. Yo will see all config files in the select. Choose one and the page will refresh with the config keys and values., (*9)

Important notice:

Currently this package is not saving no defined arrays. Take a look this example:, (*10)

<?php

return [
    'route' => [
        'myData' => [ //This array can not be changed in this moment
            'first', 
            'second',
            'third',
        ],
        'myObject' => [ //This array can be changed because has keys
            'demo' => false,
            'test' => true
        ]
        'custom' => true, //This can be changed
        'value' => 'my own value' //This can be changed
    ],
];

I will try to fix shortly. Also if you like it you can make a Pull Request,, (*11)

License

Mit, (*12)

Author

Eric Lagarda, (*13)

Contributing contributions welcome

Hope you like it!, (*14)

The Versions

15/05 2017

dev-master

9999999-dev http://infinety.es

Package to edit and view config files

  Sources   Download

MIT

The Requires

 

laravel write edit infinety config manager

15/05 2017

v1.1.4

1.1.4.0 http://infinety.es

Package to edit and view config files

  Sources   Download

MIT

The Requires

 

laravel write edit infinety config manager

13/03 2017

v1.1.3

1.1.3.0 http://infinety.es

Package to edit and view config files

  Sources   Download

MIT

The Requires

 

laravel write edit infinety config manager

13/03 2017

v1.1.2

1.1.2.0 http://infinety.es

Package to edit and view config files

  Sources   Download

MIT

The Requires

 

laravel write edit infinety config manager

16/01 2017

v1.1.1

1.1.1.0 http://infinety.es

Package to edit and view config files

  Sources   Download

MIT

The Requires

 

laravel write edit infinety config manager

16/01 2017

v1.1

1.1.0.0 http://infinety.es

Package to edit and view config files

  Sources   Download

MIT

The Requires

 

laravel write edit infinety config manager

16/01 2017

1.0

1.0.0.0 http://infinety.es

Package to edit and view config files

  Sources   Download

MIT

The Requires

 

laravel write edit infinety config manager