{"id":17966011,"url":"https://github.com/jmrashed/laravel-installer","last_synced_at":"2026-05-16T06:36:27.311Z","repository":{"id":258272976,"uuid":"874580873","full_name":"jmrashed/laravel-installer","owner":"jmrashed","description":"A complete web installer for Laravel applications, making the setup process simple and user-friendly.","archived":false,"fork":false,"pushed_at":"2025-10-08T04:29:56.000Z","size":23387,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-20T15:17:35.216Z","etag":null,"topics":["installer","laravel","laravel-installation","laravel-package","laravel-setup","web-installer"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/jmrashed/laravel-installer","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jmrashed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-10-18T05:03:57.000Z","updated_at":"2025-10-14T15:57:09.000Z","dependencies_parsed_at":"2025-06-30T05:15:29.863Z","dependency_job_id":null,"html_url":"https://github.com/jmrashed/laravel-installer","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"ebd63f6121b8dda8c55392754e3a3fbbb48c311a"},"previous_names":["jmrashed/laravel-installer","mrzstack/laravel-installer"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/jmrashed/laravel-installer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrashed%2Flaravel-installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrashed%2Flaravel-installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrashed%2Flaravel-installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrashed%2Flaravel-installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmrashed","download_url":"https://codeload.github.com/jmrashed/laravel-installer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrashed%2Flaravel-installer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33092718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["installer","laravel","laravel-installation","laravel-package","laravel-setup","web-installer"],"created_at":"2024-10-29T13:06:39.600Z","updated_at":"2026-05-16T06:36:27.277Z","avatar_url":"https://github.com/jmrashed.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Installer\r\n\r\n[![Latest Stable Version](https://poser.pugx.org/jmrashed/laravel-installer/v/stable)](https://packagist.org/packages/jmrashed/laravel-installer) [![Total Downloads](https://poser.pugx.org/jmrashed/laravel-installer/downloads)](https://packagist.org/packages/jmrashed/laravel-installer) [![Monthly Downloads](https://poser.pugx.org/jmrashed/laravel-installer/d/monthly)](https://packagist.org/packages/jmrashed/laravel-installer) [![License](https://poser.pugx.org/jmrashed/laravel-installer/license)](https://packagist.org/packages/jmrashed/laravel-installer) [![Stars](https://img.shields.io/github/stars/jmrashed/laravel-installer.svg?style=social\u0026label=Stars)](https://github.com/jmrashed/laravel-installer) [![Forks](https://img.shields.io/github/forks/jmrashed/laravel-installer.svg?style=social\u0026label=Forks)](https://github.com/jmrashed/laravel-installer)\r\n\r\n**Laravel Installer** is a complete package designed to simplify the installation process for Laravel projects. This installer handles system requirement checks, environment configuration, database setup, and purchase code validation.\r\n\r\n---\r\n\r\n## 📊 Statistics\r\n\r\n- **Total Downloads**: ![Total Downloads](https://poser.pugx.org/jmrashed/laravel-installer/downloads)\r\n- **Monthly Downloads**: ![Monthly Downloads](https://poser.pugx.org/jmrashed/laravel-installer/d/monthly)\r\n- **GitHub Stars**: ![Stars](https://img.shields.io/github/stars/jmrashed/laravel-installer.svg?style=social)\r\n- **GitHub Forks**: ![Forks](https://img.shields.io/github/forks/jmrashed/laravel-installer.svg?style=social)\r\n\r\n---\r\n\r\n## 🌟 Features\r\n\r\n- **System Requirements Check**: Automatically verifies PHP version and required extensions.\r\n- **Environment File Setup**: Helps create and configure the `.env` file.\r\n- **Database Configuration**: Offers the option to run migrations, seeders, or import an SQL dump.\r\n- **Purchase Code Validation**: Built-in validation for purchase codes.\r\n- **User-Friendly Interface**: A guided step-by-step installation process with a simple interface.\r\n\r\n---\r\n\r\n## 🛠️ Installation\r\n\r\nTo install the package, run the following command:\r\n\r\n```bash\r\ncomposer require jmrashed/laravel-installer\r\n```\r\n\r\nThen, publish the configuration file:\r\n\r\n```bash\r\nphp artisan vendor:publish --provider=\"Jmrashed\\LaravelInstaller\\Providers\\LaravelInstallerServiceProvider\"\r\nphp artisan vendor:publish --tag=installer-config\r\n```\r\n\r\n---\r\n\r\n## 🚀 How to Use\r\n\r\nAfter installation, run the installer using:\r\n\r\n```bash\r\nphp artisan installer:run\r\n```\r\n\r\nThe installer will guide you through these steps:\r\n\r\n1. **System Requirements Check**: Ensures the necessary PHP version and extensions are installed.\r\n2. **Environment File Setup**: Prompts for database credentials and generates the `.env` file.\r\n3. **Database Setup**: Choose to run migrations and seeders or import a SQL dump.\r\n4. **Purchase Code Validation**: If enabled, the user is required to enter their purchase code.\r\n5. **Completion**: Confirms successful installation.\r\n\r\n---\r\n\r\n\r\n## envato validation \r\n\r\nsample api response from your existing website\r\n```json\r\n{\r\n  \"message\": \"Welcome to the Envato Purchase Validation API\",\r\n  \"account1\": {\r\n    \"token\": \"fsHuTBwXZTlEqZYQacniBeNZFCrT01eZ\"\r\n  },\r\n  \"account2\": {\r\n    \"token\": \"aGPUug8SeQagLaSDZ3LXdKQ8x0hHNtlc\"\r\n  },\r\n  \"validation\": {\r\n    \"url\": \"https://api.envato.com/v3/market/author/sale\"\r\n  }\r\n}\r\n```\r\n\r\n### Update your api endpoint\r\n\r\nTo get barrier token update the API endpoint\r\n```php\r\n   $envatoApiTokenUrl = 'http://your-domain.com/api/get-envato-barrier-token';\r\n```\r\nTo Store verification data to your application update the API endpoint\r\n```php\r\n   $envatoApiStoreUrl = 'http://your-domain.com/api/store-envato-verification-response';\r\n```\r\n\r\nSample response\r\n```json\r\n{\r\n  \"amount\": \"32.06\",\r\n  \"sold_at\": \"2024-01-28T15:21:32+11:00\",\r\n  \"license\": \"Regular License\",\r\n  \"support_amount\": \"0.00\",\r\n  \"supported_until\": null,\r\n  \"item\": {\r\n    \"id\": 1234567890,\r\n    \"name\": \"product Title\",\r\n    \"number_of_sales\": 169,\r\n    \"author_username\": \"author_username\",\r\n    \"author_url\": \"https://codecanyon.net/user/author_username\",\r\n    \"url\": \"https://codecanyon.net/item/product/34567890\",\r\n    \"site\": \"codecanyon.net\",\r\n    \"classification\": \"mobile/flutter\",\r\n    \"classification_url\": \"https://codecanyon.net/category/mobile/flutter\",\r\n    \"price_cents\": 11900,\r\n    \"author_image\": \"https://s3.envato.com/files/396614067/80x80.jpg\",\r\n    \"summary\": \"Software Version: Flutter 2.x, Flutter 1.x, Other\",\r\n    \"published_at\": \"2022-06-14T01:38:25+10:00\",\r\n    \"trending\": false\r\n  },\r\n  \"buyer\": \"keosovannboravann\",\r\n  \"purchase_count\": 1\r\n}\r\n\r\n```\r\n\r\n## 📂 Directory Structure\r\n\r\nHere’s a simplified structure of the project directories and key files:\r\n\r\n```text\r\n- 📁 src/\r\n   - 📁 Config/\r\n      - 📄 installer.php\r\n   - 📁 Controllers/\r\n      - 📄 DatabaseController.php\r\n      - 📄 EnvironmentController.php\r\n   - 📁 Events/\r\n      - 📄 EnvironmentSaved.php\r\n      - 📄 LaravelInstallerFinished.php\r\n   - 📁 Helpers/\r\n      - 📄 DatabaseManager.php\r\n      - 📄 EnvironmentManager.php\r\n   - 📁 Middleware/\r\n      - 📄 canInstall.php\r\n      - 📄 canUpdate.php\r\n   - 📁 Providers/\r\n      - 📄 LaravelInstallerServiceProvider.php\r\n   - 📁 Routes/\r\n      - 📄 web.php\r\n   - 📁 Views/\r\n      - 📁 layouts/\r\n         - 📄 master-update.blade.php\r\n         - 📄 master.blade.php\r\n      - 📁 update/\r\n         - 📄 finished.blade.php\r\n         - 📄 overview.blade.php\r\n      - 📄 environment-classic.blade.php\r\n      - 📄 environment-wizard.blade.php\r\n   - 📁 assets/\r\n      - 📁 css/\r\n         - 📄 style.css\r\n         - 📄 style.css.map\r\n      - 📁 fonts/\r\n         - 📄 FontAwesome.otf\r\n         - 📄 fontawesome-webfont.eot\r\n      - 📁 img/\r\n         - 📁 favicon/\r\n            - 📄 favicon-16x16.png\r\n            - 📄 favicon-32x32.png\r\n         - 📄 background.png\r\n         - 📄 pattern.png\r\n- 📄 LICENSE\r\n- 📄 README.md\r\n```\r\n\r\n---\r\n\r\n## ⚙️ Configuration\r\n\r\nThe published configuration file can be found at:\r\n\r\n```\r\nconfig/installer.php\r\n```\r\n\r\nThis allows you to customize checks and paths, such as setting the SQL dump path for import during installation.\r\n\r\n---\r\n\r\n## 📥 Purchase Code Validation\r\n\r\nIf your system requires purchase code validation, you can customize the validation logic in the `validatePurchaseCode` function. Here’s an example:\r\n\r\n```php\r\nif (!$this-\u003evalidatePurchaseCode($code)) {\r\n    throw new Exception('Invalid purchase code.');\r\n}\r\n```\r\n\r\n---\r\n\r\n## 📷 Screenshots\r\n\r\n| **Welcome Screen**         | **Database Setup**           | **Purchase Code Validation** |\r\n|----------------------------|------------------------------|------------------------------|\r\n| ![Welcome](path_to_screenshot) | ![DB Setup](path_to_screenshot) | ![Purchase Code](path_to_screenshot) |\r\n\r\n---\r\n\r\n## 🔧 System Requirements\r\n\r\nTo ensure the Laravel Installer works as expected, your environment must meet the following requirements:\r\n\r\n- **PHP**: 8.0 or higher\r\n- **Laravel**: 9.0 or higher\r\n- **PHP Extensions**:\r\n  - `mbstring`\r\n  - `openssl`\r\n  - `pdo`\r\n  - `tokenizer`\r\n  - `xml`\r\n  - `ctype`\r\n  - `json`\r\n\r\n---\r\n## Force Publishing \r\n```bash\r\nphp artisan vendor:publish --tag=laravelinstaller --force\r\n```\r\n## 🤝 Contributing\r\n\r\nContributions are welcome! If you want to contribute:\r\n\r\n1. Fork the repository.\r\n2. Create a new feature branch: `git checkout -b feature-branch`.\r\n3. Commit your changes: `git commit -m 'Add new feature'`.\r\n4. Push to the branch: `git push origin feature-branch`.\r\n5. Open a pull request on GitHub.\r\n\r\n---\r\n\r\n## 📝 License\r\n\r\nThis package is licensed under the [MIT license](LICENSE.md).\r\n\r\n---\r\n\r\n## 📬 Support\r\n\r\nFor support, feel free to open an issue on the [GitHub repository](https://github.com/jmrashed/laravel-installer/issues) or contact us directly.\r\n ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmrashed%2Flaravel-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmrashed%2Flaravel-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmrashed%2Flaravel-installer/lists"}