Welcome to Web Installer, a Laravel package designed to make setting up your app fun and easy. Imagine setting up your app as quickly as a spaceship launch. That's what we offer โ a quick and enjoyable setup process. Get ready for a smooth ride.
- Laravel: Version 10.x
- PHP: Version 8.2 or more
- API: Internet access for checking Envato purchases
- ๐ Quick Setup: Get your app running super fast.
- ๐จ Fully Customizable: Change it up to make it fully yours.
- โจ Easy-to-use UI: A user interface so easy, you'll get it right away.
- ๐ Envato Purchase Check: Stops unauthorized use by checking purchases.
- ๐ต๏ธโโ๏ธ No Nulled Versions: Keeps your code safe from being used without permission.
- ๐ ๏ธ Perfect for Developers: Make changes to fit your needs.
- โ๏ธ Simple Configuration: Setting things up is super easy.
Make sure you have Laravel version 10.x or newer.
- Add the package using Composer:
composer require joynala/web-installer
- Publish the package's resources:
php artisan vendor:publish --tag=web-installer-config
- In your
AppServiceProvider
, in theboot
method, add:
try {
$_SERVER['argv'];
} catch (Exception $e) {
if (!file_exists(base_path('storage/installed')) && !request()->is('install') && !request()->is('install/*')) {
header("Location: install");
exit;
}
}
Keep your app safe from unauthorized use by turning on Envato purchase checks.
Find these settings in config/installer.php
:
'product' => '', // Your product's name.
'verify_code' => '', // A secret code.
'verify_purchase' => true, // Turn on purchase checks.
'verify_rules' => [
// Rules for checking.
]
After checking:
- Use
php artisan make:json your file directory
to create a JSON file. - Store this file on your secure server.
- Give users access and directions after they pass the check:
[
'permission' => true | false,
'restore' => [
[
'dir' => 'e.g., routes/web.php',
'source_code' => file_get_contents('path/to/your/json'),
],
]
]
Anyone can help make this project better. Fork the project, make your changes, and send us a pull request. Found a problem? Tell us here.
Thanks to these wonderful people:
This project is under the MIT license.
- Facebook: Joynal Abedin
- Email: [email protected]
- LinkedIn: Joynal Abedin