Git Product home page Git Product logo

web-installer's Introduction

๐Ÿš€ Web Installer for Laravel

GitHub issues GitHub forks GitHub stars GitHub license

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.

๐Ÿ“‹ System Requirements

  • Laravel: Version 10.x
  • PHP: Version 8.2 or more
  • API: Internet access for checking Envato purchases

๐ŸŒˆ Features

  • ๐Ÿš€ 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.

๐Ÿš€ Getting Started

Prerequisites

Make sure you have Laravel version 10.x or newer.

Installation

  1. Add the package using Composer:
composer require joynala/web-installer
  1. Publish the package's resources:
php artisan vendor:publish --tag=web-installer-config
  1. In your AppServiceProvider, in the boot 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;
    }
}

๐Ÿ›ก๏ธ Envato Purchase Check

Keep your app safe from unauthorized use by turning on Envato purchase checks.

Configuration

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.
]

๐ŸŽญ Keeping Your Code Safe

After checking:

  1. Use php artisan make:json your file directory to create a JSON file.
  2. Store this file on your secure server.
  3. 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'),
        ],
    ]
]

๐ŸŒŸ Contributing

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.

๐Ÿ‘ฅ Contributors

Thanks to these wonderful people:

Joynal Abedin Arafat Hossain

๐Ÿ“œ License

This project is under the MIT license.

Reach the Creator

web-installer's People

Contributors

joynalabedin-88 avatar joynalabedin88 avatar arafat-web avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.