Skip to content

mgamal92/moyasar-laravel

Repository files navigation

Moyasar Laravel

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Installation

You can install the package via composer:

composer require mgamal/moyasar-laravel

You can publish and run the migrations with:

php artisan vendor:publish --tag="moyasar-laravel-migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --tag="moyasar-laravel-config"

This is the contents of the published config file:

return [
    'secret_key' => env('SECRET_KEY'),

    'publishable_key' => env('PUBLISHABLE_KEY'),
];

Optionally, you can publish the views using

php artisan vendor:publish --tag="moyasar-laravel-views"

Usage

$moyasar = new MG\Moyasar();
echo $moyasar->echoPhrase('Hello, MG!');

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

🚀 Moyasar API Integration with Laravel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages