Download the PHP package stevenlei/laravel-keyvalue without Composer
On this page you can find all versions of the php package stevenlei/laravel-keyvalue. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download stevenlei/laravel-keyvalue
More information about stevenlei/laravel-keyvalue
Files in stevenlei/laravel-keyvalue
Download stevenlei/laravel-keyvalue
More information about stevenlei/laravel-keyvalue
Files in stevenlei/laravel-keyvalue
Vendor stevenlei
Package laravel-keyvalue
Short Description Laravel KeyValue
License MIT
Homepage https://github.com/ShaneStevenLei/laravel-keyvalue
Package laravel-keyvalue
Short Description Laravel KeyValue
License MIT
Homepage https://github.com/ShaneStevenLei/laravel-keyvalue
Please rate this library. Is it a good library?
Informations about the package laravel-keyvalue
laravel-keyvalue
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json
file.
Environment Requirements
- PHP >= 7.1.3
- Laravel >= 5.6
- Bootstrap >= 4.0
Usage
-
- Registering Provider in the
config/app.php
configuration file:
- Registering Provider in the
-
- Create configuration files:
-
- The configuration file:
config/keyvalue.php
, modify the configuration items in the.env
file, for example:
- The configuration file:
-
- How to get the key's value in the program?
or use the helper function
Routes
- Index page
/key-value/index
- alias:
keyvalue.index
- Create page or store resource
/key-value/create
- alias:
keyvalue.create
- Update page or update resource
/key-value/update
- alias:
keyvalue.update
- Delete resource(only soft delete)
/key-value/delete
- alias:
keyvalue.delete
Middleware
Add middleware in the .env
file, separated by commas, for example:
All versions of laravel-keyvalue with dependencies
PHP Build Version
Package Version
The package stevenlei/laravel-keyvalue contains the following files
Loading the files please wait ....