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

feat: add global icon(…) function + enforce config path to project root #3

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

yassinedoghri
Copy link
Owner

@yassinedoghri yassinedoghri commented Oct 30, 2024

Subject:

  • Bug fix
  • New feature

Description:

This adds a global icon(string $iconKey, array $attributes) function to render icons! It's autoloaded via composer's autoload.files property.
This makes it unnecessary integrate to other frameworks: the library can function by itself, offering a great developer experience.

  • add example project to test library
  • update README.md
  • update dependencies to latest

- add example project to test library
- update README.md
- update dependencies to latest
Copy link

codecov bot commented Oct 30, 2024

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@yassinedoghri yassinedoghri merged commit 6b630aa into develop Oct 31, 2024
4 of 6 checks passed
@yassinedoghri yassinedoghri deleted the feat/icon-function branch October 31, 2024 11:15
yassinedoghri added a commit that referenced this pull request Nov 2, 2024
…ot (#3)

- add example project to test library
- update README.md
- update dependencies to latest

BREAKING CHANGE: PHPIcons class doesn't take config file as parameter anymore
yassinedoghri added a commit that referenced this pull request Nov 2, 2024
- enforce config path to project root when no config file is set
- add example project to test library
- update README.md
- update dependencies to latest
yassinedoghri pushed a commit that referenced this pull request Nov 6, 2024
## [1.2.0](v1.1.0...v1.2.0) (2024-11-06)

### Features

* add ability to pass PHPIconsConfigBuilder when instantiating PHPIcons ([fb73e9a](fb73e9a))
* add global icon(…) function ([#3](#3)) ([c2d64cd](c2d64cd))
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.

1 participant