├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE.md ├── README.md ├── composer.json └── src ├── Container ├── Attributes │ └── Config.php ├── BoundMethod.php ├── Container.php ├── ContextualBindingBuilder.php ├── EntryNotFoundException.php └── RewindableGenerator.php ├── Contracts ├── Container │ ├── BindingResolutionException.php │ ├── CircularDependencyException.php │ ├── Container.php │ ├── ContextualAttribute.php │ └── ContextualBindingBuilder.php └── Core │ ├── Application.php │ ├── CachesConfiguration.php │ └── DeferrableProvider.php ├── Core ├── AliasLoader.php ├── Application.php ├── Bootstrap │ ├── BootProviders.php │ ├── GenerateStorageStructures.php │ ├── HandleExceptions.php │ ├── LoadConfiguration.php │ ├── LoadEnvironmentVariables.php │ ├── RegisterFacades.php │ └── RegisterProviders.php ├── Configuration │ ├── ApplicationBuilder.php │ └── Exceptions.php ├── DefaultProviders.php ├── EnvironmentDetector.php ├── Facades │ ├── App.php │ └── Facade.php ├── Mix.php ├── MixManifestNotFoundException.php ├── PackageManifest.php ├── ProviderRepository.php ├── Providers │ ├── AggregateServiceProvider.php │ └── CoreServiceProvider.php └── ServiceProvider.php ├── Util.php └── functions-helpers.php /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | You can see the changes made via the [commit log](https://github.com/themehybrid/hybrid-core/commits/master) for the latest release. 4 | 5 | ## [7.0.4] - 2024-08-01 6 | 7 | ### Changed 8 | 9 | - sync with https://github.com/illuminate/support/releases/tag/v11.18.1 10 | - sync with https://github.com/illuminate/contracts/releases/tag/v11.18.1 11 | - sync with https://github.com/illuminate/container/releases/tag/v11.18.1 12 | - sync with https://github.com/laravel/framework/releases/tag/v11.18.1 13 | - Add composer sort-packages configuration 14 | - Update copyright date 15 | 16 | ## [7.0.3] - 2024-06-11 17 | 18 | ### Changed 19 | 20 | - add check for .env file existence to prevent warning 21 | 22 | ## [7.0.2] - 2024-03-23 23 | 24 | ### Changed 25 | 26 | - composer.json 27 | - Add "symfony/console": "^5.0 || ^6.0" to require 28 | - src\Core\DefaultProviders.php 29 | - Add missing import statement 30 | 31 | ## [7.0.1] - 2023-11-06 32 | 33 | ### Changed 34 | 35 | - sync with https://github.com/illuminate/contracts/releases/tag/v10.25.1 36 | - sync with https://github.com/illuminate/container/releases/tag/v10.25.2 37 | - sync with https://github.com/laravel/framework/releases/tag/v10.25.2 38 | - add missing use import for `Hybrid\Tools\with` helper function 39 | - sync with https://github.com/illuminate/container/commit/78cbe88cdc7300efd4cf90244abec2e3c42219bb 40 | - downgrade to PHP 8.0 using DowngradeFirstClassCallableSyntaxRector (https://wiki.php.net/rfc/first_class_callable_syntax) 41 | - https://github.com/laravel/framework/pull/46611#issuecomment-1495263975 42 | - for prefixed support, enable configuration changes for resources and public paths. 43 | - to prevent conflicts with other global constants, prefix constants with `HYBRID_CORE_` instead of `APP_`. 44 | - make the generation of directory structures dynamic to ensure it respects custom paths. 45 | 46 | ## [7.0.0] - 2023-08-23 47 | 48 | ## [7.0.0-beta.1] - 2023-08-05 49 | 50 | ### Changed 51 | 52 | - lint php files & cleanup 53 | - update copyright date & author 54 | - downgrade php req from 8.1 to 8.0+ 55 | - replace http to https 56 | 57 | ## [7.0.0-alpha.3] - 2023-06-07 58 | 59 | ### Changed 60 | 61 | - Bumped `hybrid-filesystem, hybrid-events, hybrid-contracts & hybrid-tools` 62 | 63 | ## [7.0.0.alpha.2] - 2023-02-20 64 | 65 | ### Added 66 | 67 | - `Core\AliasLoader` 68 | - `Core\Bootstrap\BootProviders` 69 | - `Core\Bootstrap\GenerateStorageStructures` 70 | - `Core\Bootstrap\LoadConfiguration` 71 | - `Core\Bootstrap\LoadEnvironmentVariables` 72 | - `Core\Bootstrap\RegisterFacades` 73 | - `Core\Bootstrap\RegisterProviders` 74 | - `Core\EnvironmentDetector` 75 | - `Core\EnvironmentDetector` 76 | - `Core\Mix` 77 | - `Core\PackageManifest` 78 | - `Core\ProviderRepository` 79 | 80 | ### Changed 81 | 82 | - Proxies are replaced with Facade's 83 | 84 | ## [6.0.0] - 2021-08-01 85 | 86 | ### Changed 87 | 88 | - Version 6.0.0 represents a complete overhaul of the framework. It is essentially stripped down to the Application and Container layers. Other modules now exist as separate repositories. 89 | 90 | ### Removed 91 | 92 | - `Hybrid\Attr` moved to [Hybrid Attr](https://github.com/themehybrid/hybrid-attr). 93 | - `Hybrid\Lang` moved to [Hybrid Lang](https://github.com/themehybrid/hybrid-lang). 94 | - `Hybrid\Media` split to: 95 | - [Hybrid Media Grabber](https://github.com/themehybrid/hybrid-media-grabber). 96 | - [Hybrid Media Meta](https://github.com/themehybrid/hybrid-media-meta) 97 | - `Hybrid\Pagination` moved to [Hybrid Pagination](https://github.com/themehybrid/hybrid-pagination). 98 | - `Hybrid\Template` split to: 99 | - [Hybrid Template](https://github.com/themehybrid/hybrid-template). 100 | - [Hybrid Template Hierarchy](https://github.com/themehybrid/hybrid-template-hierarchy). 101 | - [Hybrid Template Manager](https://github.com/themehybrid/hybrid-template-manager). 102 | - `Hybrid\Tools` moved to [Hybrid Tools](https://github.com/themehybrid/hybrid-tools). 103 | - `Hybrid\View` moved to [Hybrid View](https://github.com/themehybrid/hybrid-view) 104 | - `Hybrid\Comment`, `Hybrid\Menu`, `Hybrid\Post`, `Hybrid\Sidebar`, `Hybrid\Site`, `Hybrid\Theme`, and `Hybrid\Util` moved to [Hybrid Theme](https://github.com/themehybrid/hybrid-theme). 105 | 106 | ## [5.2.0] - 2019-09-03 107 | 108 | ### Added 109 | 110 | - New `Hybrid\Attr\Attr\with()` method for passing data into the attributes system. 111 | - Above `with()` method will auto-handle a `'post'` parameter of `WP_Post` for post attributes. 112 | - New `Hybrid\Comment\render_author_link()` and `display_author_link()` function. 113 | 114 | ### Changed 115 | 116 | - `.sticky` class renamed to `.is-sticky`. 117 | 118 | ## [5.1.0] - 2019-07-16 119 | 120 | ### Added 121 | 122 | - New `Hybrid\View\Engine` wrapper class for the view system, which gets passed to view templates as the `$engine` variable. 123 | - The `View` instances gets passed to view templates as the `$view` variable. 124 | 125 | ## [5.0.3] - 2019-06-16 126 | 127 | ### Changed 128 | 129 | - The `Template` class should not have a defined `$subtype` by default. Any templates registered should work with all subtypes (post types in most cases) unless otherwise specified. 130 | 131 | ## [5.0.2] - 2019-04-04 132 | 133 | ### Added 134 | 135 | - New `link` argument to enable/disable the link for `Hybrid\Post\render_author()`. 136 | 137 | ### Fixed 138 | 139 | - Corrected misspelling of `archive` in the `hybrid/archive/title` hook. 140 | - Use `get_comments_number_text()` instead of `get_comments_number()` to get appropriate comments text. 141 | - Added the missing `.wp-embed-responsive` body class if supported. 142 | - Make sure to show `$before` and `$after` args for the comment reply link if there's a link. 143 | 144 | ## [5.0.1] - 2018-12-11 145 | 146 | ### Fixed 147 | 148 | - Corrected inline doc `@return` value for `Hybrid\View\View::locate()`. 149 | - Runs the template hierarchy through `array_unique()` to avoid duplicates when other plugins hook into core WP's template hierarchy. 150 | - Adds missing `datetime` attributes to `