Download the PHP package fucodo/registry without Composer
On this page you can find all versions of the php package fucodo/registry. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package registry
registry
This project adds a small reuseable registry for global options to a flow project
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
-
About The Project
- Built With
-
Getting Started
- Prerequisites
- Installation
- Usage
- Roadmap
- Contributing
- License
- Contact
- Acknowledgments
About The Project
The project is developer centered, you can use it in any flow project. It created a repository and a service to access the registry.
You may inspect the registry from the commandline.
(back to top)
Built With
- Love
(back to top)
Getting Started
Prerequisites
This is an example of how to list things you need to use the software and how to install them.
- npm
(back to top)
Usage
Currently you may directly use the repository, we will add a service.
The given example uses Neos.Flow
Dependency Injection to include the registry repository.
Then the getValue
method is called with the namespace Vendor.Project
and the name Helpmessage
.
As the registry can also store objects, we use serialize internally in doctrine.
To set the value you can use the setValue
method.
The object \Vendor\Project\Domain\Model\HelpMessage
is just a Data Transfer Object in this example,
to combine several properties in a single object.
Internally the registry also provides additional information regarding the registry entry.
The package also provides some cli commands:
Please use the ./flow help
command to get the detailed description of the commands.
(back to top)
Roadmap
- [x] Repo and Database access
- [x] CLI inspector
- [ ] Abstracted Service
See the open issues for a full list of proposed features (and known issues).
(back to top)
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
(back to top)
License
Distributed under the MIT License. See LICENSE.txt
for more information.
(back to top)
Contact
Your Name - @twitter_handle - [email protected]
Project Link: https://github.com/fucodo/registry
(back to top)
Acknowledgments
TBD.
(back to top)