Download the PHP package michaels/data-manager without Composer
On this page you can find all versions of the php package michaels/data-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download michaels/data-manager
More information about michaels/data-manager
Files in michaels/data-manager
Package data-manager
Short Description Simple data manager for nested data, dot notation array access, extendability, and container interoperability.
License MIT
Homepage https://github.com/chrismichaels84/data-manager
Informations about the package data-manager
While this still works, it should be considered abandoned. Any PR issued will be accepted w/o question. If you want to own this repository, open an issue and contact me.
Data Manager
Simple data manager for nested data, dot notation access, extendability, and container interoperability.
Goals
- Light weight and fluent, simple, clear API
- Manage nested data via dot-notation
- Be composable - integrate into current containers via traits (extras)
- Include extras for
- Loading Files,
- Managing IoC / Dependencies.
- Allow for protected data (immutable) and default values.
- IoC container should:
- Resolve via classes, factories, etc
- Configure dependencies for dependencies,
- Allow for fallbacks, preparing objects, and more.
- Full test coverage, PSR compliant, container interoperability, and best practices
Install
Via Composer
Getting Started
Manager does exactly what you would expect: it manages complex items such as config data, arrays, and closures.
The best way to get started is simply instantiate Michaels\Manager\Manager
Advanced Features
See documentation for topics like protecting data, using as an ioc container, loading files, using as an array, defaults, composing, and more.
Interoperability
Data Manager is PSR compliant and Container Interoperability compliant. Any oversights, please let me know.
Testing
We try for at least 80% test coverage.
You may also use the tests under tests/traits
to test your integrated functionality. You may have to grab these through cloning the repo. composer usually won't include tests in your require
Contributing
Contributions are welcome and will be fully credited. Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Michael Wilson
- Scott
- Open an issue to join in!
License
The MIT License (MIT). Please see License File for more information.