Download the PHP package pecee/dot-notation without Composer
On this page you can find all versions of the php package pecee/dot-notation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pecee/dot-notation
More information about pecee/dot-notation
Files in pecee/dot-notation
Package dot-notation
Short Description Dot notation support for JSON-like syntax for easily creating and mapping arrays in PHP.
License MIT
Homepage https://github.com/skipperbent/dot-notation
Informations about the package dot-notation
pecee/dot-notation
Dot notation support for JSON-like syntax for easily creating and mapping arrays in PHP.
Installation
Run the following command in terminal to add the latest version of pecee/dot-notation library to your project.
Examples
This example returns an array from a basic dot formatted string, similar to the JSON syntax:
Output:
Easily map one array to another
Output:
Credits
elfet
The MIT License (MIT)
Copyright (c) 2016 Simon Sessingø / pecee
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.