{"id":19943931,"url":"https://github.com/akiyamasm/laravel-nova-configuration","last_synced_at":"2025-11-24T16:03:29.819Z","repository":{"id":56990721,"uuid":"148123453","full_name":"akiyamaSM/laravel-nova-configuration","owner":"akiyamaSM","description":"Use Configuration inputs instead of the env/config files. Good news for the clients!","archived":false,"fork":false,"pushed_at":"2019-05-13T13:15:32.000Z","size":43,"stargazers_count":39,"open_issues_count":0,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-12T14:18:28.205Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akiyamaSM.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-10T08:28:11.000Z","updated_at":"2024-12-11T20:40:55.000Z","dependencies_parsed_at":"2022-08-21T12:20:26.934Z","dependency_job_id":null,"html_url":"https://github.com/akiyamaSM/laravel-nova-configuration","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akiyamaSM%2Flaravel-nova-configuration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akiyamaSM%2Flaravel-nova-configuration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akiyamaSM%2Flaravel-nova-configuration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akiyamaSM%2Flaravel-nova-configuration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akiyamaSM","download_url":"https://codeload.github.com/akiyamaSM/laravel-nova-configuration/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241374500,"owners_count":19952543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T00:18:31.610Z","updated_at":"2025-11-24T16:03:29.751Z","avatar_url":"https://github.com/akiyamaSM.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# laravel-nova-configuration\n\nUse Configuration inputs instead of the env/config files. Good news for the clients!\n![nova-conf](https://user-images.githubusercontent.com/12276076/46549393-bb3b2f80-c8c9-11e8-9b43-b217dc4879e0.png)\n\n## Requirements\n\nLaravel Nova.\n\n# Installation\n\nFirst install the  [Nova](https://nova.laravel.com) package via composer:\n\n```bash\ncomposer require inani/laravel-nova-configuration\n```\n\nNext up, you must register the tool via the `tools` method of the `NovaServiceProvider`.\n\n```php\n// inside app/Providers/NovaServiceProvder.php\n\n// ...\n\npublic function tools()\n{\n    return [\n        // ...\n        new \\Inani\\LaravelNovaConfiguration\\LaravelNovaConfiguration()\n    ];\n}\n```\n\nPublish the config file:\n\n``` bash\nphp artisan vendor:publish --provider=\"Inani\\LaravelNovaConfiguration\\ToolServiceProvider\"\n```\n\nThen run the migration\n\n``` bash\nphp artisan migrate\n```\n\n# Usage\n\n## In the back office\n\nAfter installing the tool, you should see the new sidebar navigation item for `Packages Configuration`.\nAnd then just you have to manipulate the settings.\n\n## In the code\n\n\n```php\nuse Inani\\LaravelNovaConfiguration\\Helpers\\Configuration;\n\n// Get the value of the API_GOOGLE key, null if it doesn't exist\n$value = Configuration::get('API_GOOGLE');\n\n// Get the value of the FOO key, 'BAR' if it doesn't exist\n$value = Configuration::get('FOO', 'BAR);\n```\n\n#### Updating the sidebar bar label\n\nIf you want to update the display name of the tool in the Laravel Nova sidebar, You can simply update the `sidebar-label` in the following file \n\n```\nresources/views/laravel-nova-configuration/navigation.blade.php\n```\n \n\nEnjoy coding.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakiyamasm%2Flaravel-nova-configuration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakiyamasm%2Flaravel-nova-configuration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakiyamasm%2Flaravel-nova-configuration/lists"}