Download the PHP
package erfankatebsaber/tools without Composer
On this page you can find all versions of the php package
erfankatebsaber/tools. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
This package include library classes with specific static function tools.
List of content
Install
Classes
Config
Licence
Install
run this command:
Next, add ErfanKatebSaber\tools\ToolsProvider::class into config\app.php file:
Then, run this command to create config file:
Classes
StrTools: This class include specific static functions to make easly string editing.
AuthTools: This class include specific static functions to make easily use laravel auth.
Config
After installing this package, the config file created into this path:
This file content like this:
Parts Descriptions
auth
login_routes
You can define specific route for each guard type to redirect after logout by AuthTools::Logout().
auth_guard_name
You can define name for each guard type to display this via StrTools::GetGuardName('YOUR_GUARD_NAME').
In default config option, the result of this StrTools::GetGuardName('web'), is user.
str
persian_numbers
Persian numbers to replace by StrTools::ConvertPersianNumbers or StrTools::RepairNumber functions.
Also, the StrTools::JustNumber function use this config.
wrong_numbers
Replace wrong numbers by StrTools::RepairNumber function.
Also, the StrTools::JustNumber function use this config.
empty_chars
Detect empty chars by StrTools::IsEmptyString function. One of uses of this function is to prevent deception by users (like username by uesr).
words_to_change
Replace words by StrTools::AutoChangeWord function. One of uses of this function is prevent confusing users by store or show chars that have same appearance.
Licence
Tis package is open-sourced library licensed under the MIT license.
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package erfankatebsaber/tools contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.