Download the PHP package getarabictimepackage/arabic-time without Composer
On this page you can find all versions of the php package getarabictimepackage/arabic-time. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download getarabictimepackage/arabic-time
More information about getarabictimepackage/arabic-time
Files in getarabictimepackage/arabic-time
Package arabic-time
Short Description A Laravel package to convert time to Arabic time periods.
License MIT
Informations about the package arabic-time
If your package doesn't include a configuration file that users can publish, you can remove that part from the README. Here's the updated version:
Arabic Time Package
Arabic Time Package is a PHP package that helps you display time in Arabic format. It's designed to be easy to integrate into your Laravel applications, but it can be used in any PHP project.
Features
- Display time in Arabic language format.
- Easy integration with Blade templates in Laravel.
- Supports different time formats and customization.
Installation
You can install the package via Composer:
Usage
Basic Usage
After installing the package, you can use it directly in your PHP code to display the current time in Arabic format:
Custom Time Formatting
You can also format the time according to your needs:
Blade Directives (Laravel Only)
If you're using Laravel, you can utilize the provided Blade directives for easier integration:
- Register the service provider in
config/app.php
(if not auto-discovered): -
Register the service provider in Laravel 11 bootstrap/providers.php
- Use the directives in your Blade views:
Example in Blade
Contributing
Contributions are welcome! Please submit a pull request or open an issue to discuss your ideas.
License
This package is open-sourced software licensed under the MIT license.
All versions of arabic-time with dependencies
illuminate/support Version ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
nesbot/carbon Version ^2.0