Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mezzio installation files #44

Merged
merged 6 commits into from
Jul 15, 2024
Merged

Mezzio installation files #44

merged 6 commits into from
Jul 15, 2024

Conversation

aiglesiasn
Copy link
Contributor

Hi @akrabat !

This PR adds some Mezzio files so once we require the library in a Mezzio app, the newly created ConfigProvider is used in the application.

It also adds a Factory so - by copying a dist file into the config/autoload folder in the Mezzio Application - Ip Address Middleware library can be easily configured via an .env file.

I added some info in the README file with the steps for a Mezzio installation.

Let me know what you think about this, and please add any improvements you see fit, or let me know and I'll add them.

Thanks!

…igProvider configuration in a Mezzio Application
IpAddressFactory defines how we instantiate IpAddress Class with the provided - if any - configuration in the Mezzio Application.
The README.md file was updated to include the steps for a Mezzio Application configuration
@akrabat akrabat added this to the 2.2 milestone Jul 15, 2024
@akrabat akrabat merged commit 651996c into akrabat:main Jul 15, 2024
8 checks passed
@akrabat akrabat modified the milestones: 2.2, 2.3.0 Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants