Releases: effectra/framework
v2.0.0
#NEW
Localization The Localization class handles translation of strings based on the selected language.
Cache provides cache implementations based on the PSR-16 (Simple Cache) standard.
Structure The class is responsible for scanning and validating the directory structure of an application, It ensures that the required directories and subdirectories are present.
#FIXING
ConsoleBlock::warning()
v1.2.0
New
GitHubRepositoryManager :
Definition:
The GitHubRepositoryManager class is a PHP class that provides functionality to manipulate the composer.json file and execute the necessary commands to include a GitHub repository as a dependency in a PHP project.
Description:
The GitHubRepositoryManager class simplifies the process of adding a GitHub repository as a dependency in a PHP project that uses Composer for package management. It abstracts away the manual steps involved in updating the composer.json file, configuring GitHub access tokens (in the case of private repositories), and running the necessary composer commands.
The class exposes a single public method, run(), which takes the GitHub repository name and an optional personal access token as arguments. When invoked, this method performs the following actions:
- Updates the
composer.jsonfile by adding the specified GitHub repository to therequiresection and creating a corresponding entry in therepositoriessection. - Configures the GitHub access token in Composer, if provided, using the
composer configcommand. - Executes the
composer installcommand, which downloads the package and its dependencies.
By utilizing the GitHubRepositoryManager class, developers can streamline the process of including GitHub repositories as dependencies in their PHP projects. It reduces manual configuration and helps automate the necessary steps, making it easier to manage external dependencies.
Correct
Namespaces:
-
Class
Effectra\Core\Providers\MailerProvideris comply now with psr-4 autoloading standard. -
Class
Effectra\Core\Server\Docker is complynow with psr-4 autoloading standard.
Methods in Core Classes
- update method AppRoute/handle to accept uri path '' as '/' in
http://localhost:[PORT]/server
v1.1.0
Add new features :
- Class Validator: Extends the Valitron\Validator class to provide additional validation capabilities.
- New Authentication methods:
- isAuthenticated: Validate if a user is authenticated based on the provided login token.
- getUserByToken: Retrieve the user associated with the provided login token.
v1.0.1
CHANGELOG:
View Template engine service: require to include {{WEB_ENCORE_JS}} and {{WEB_ENCORE_CSS}} if you want use webencore
- please run npm install then npm run watch
v1.0.0
Add package files