Releases: yonis-savary/sharp
Releases · yonis-savary/sharp
Release list
v0.3 : New configuration system
v0.3 : New configuration system !
Sharp is now configured through PHP Files, this system is useful to create configuration in your IDE (Autocompletion, PHP Doc) and use "complex" objects or class instances directly in your configuration
Here is an example of configuration (now in sharp.php)
<?php
use YonisSavary\Sharp\Classes\Data\Configuration\DatabaseConfiguration;
use YonisSavary\Sharp\Classes\Extras\Configuration\AssetServerConfiguration;
use YonisSavary\Sharp\Classes\Security\Configuration\AuthenticationConfiguration;
use YonisSavary\Sharp\Core\Configuration\ApplicationsToLoad;
use YonisSavary\Sharp\Tests\Root\TestApp\Models\TestUser;
return [
new ApplicationsToLoad(
"TestApp"
),
new DatabaseConfiguration(
"sqlite"
),
new AuthenticationConfiguration(
TestUser::class,
"login",
"password",
"salt"
),
new AssetServerConfiguration(
nodePackages: [
"bootstrap-icons"
]
)
];v0.2
v0.2 ! Utilities and some new features
Biggest additions
- Simple migration system
- Autoloader improvements
- PSR-3 support
With a lot of little others improvements
Full Changelog: 0.1...0.2
0.1
First preview ! 🥳
This Sharp version is the first preview of the project, it should be possible to require it with composser !