Download the PHP package mehedi250/laravel-structure-kit without Composer

On this page you can find all versions of the php package mehedi250/laravel-structure-kit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-structure-kit


### **Laravel Structure Kit** **A browser-based scaffolding panel for Laravel — generate Models, Controllers, Services, Repositories, and Migrations in one click.** No terminal required. Open the UI, pick your components, hit Generate.
[![Laravel](https://img.shields.io/badge/Laravel-10%2B-FF2D20?style=for-the-badge&logo=laravel&logoColor=white)](https://laravel.com) [![PHP](https://img.shields.io/badge/PHP-8.1%2B-777BB4?style=for-the-badge&logo=php&logoColor=white)](https://php.net) [![License](https://img.shields.io/badge/License-MIT-22C55E?style=for-the-badge)](LICENSE) [![Stars](https://img.shields.io/github/stars/mehedi250/laravel-structure-kit?style=for-the-badge&color=F59E0B&logo=github)](https://github.com/mehedi250/laravel-structure-kit/stargazers) [![Issues](https://img.shields.io/github/issues/mehedi250/laravel-structure-kit?style=for-the-badge&color=3B82F6)](https://github.com/mehedi250/laravel-structure-kit/issues) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-A855F7?style=for-the-badge)](https://github.com/mehedi250/laravel-structure-kit/pulls) [![Packagist Downloads](https://img.shields.io/packagist/dt/mehedi250/laravel-structure-kit?style=for-the-badge&color=06B6D4)](https://packagist.org/packages/mehedi250/laravel-structure-kit)
---

Overview

Laravel Structure Kit gives you a clean browser panel for scaffolding Laravel file structures. Enter a model name, check the components you want, optionally adjust directory paths, and click Generate Files — all selected files are created instantly with the correct namespaces.

It supports the Service Pattern and Repository Pattern out of the box, generating both the interface (contract) and the implementation class for each.


Requirements

Dependency Version
PHP ^8.1
Laravel ^10.0 \| ^11.0 \| ^12.0 \| ^13.0

Installation

The package registers itself automatically via Laravel's package auto-discovery. No config file or service provider registration required.


Using the UI Panel

Open the panel

Start your local server and visit:

The panel is only accessible in local environment. It returns a 403 in any other environment.

Laravel Structure Kit UI


Step 1 — Enter a model name

Type your base model name in the Base Model Name field at the top of the Configuration panel.

Every generated filename is derived from this name:

Generated file Derived name
Product.php Model
ProductController.php Controller
ProductServiceInterface.php Service Interface
ProductService.php Service Class
ProductRepositoryInterface.php Repository Interface
ProductRepository.php Repository Class
xxxx_xx_xx_create_products_table.php Migration

Step 2 — Select components

All five components are selected by default. Uncheck anything you don't need. Use Deselect All / Select All to toggle everything at once.

Component What gets generated
Model Eloquent model class
Controller Resource controller wired to the service interface
Migration Timestamped create_table migration
Service Pattern ProductServiceInterface.php + ProductService.php
Repository Pattern ProductRepositoryInterface.php + ProductRepository.php

Selecting Service Pattern without Repository Pattern generates a service that works directly with the model — no repository dependency.


Step 3 — Review and customize paths (optional)

The right panel shows Customize Namespaces — one editable path field per selected component. The defaults match standard Laravel conventions:

Component Default path
Model app/Models
Controller app/Http/Controllers
Service Interface app/Services/Contracts
Service Class app/Services/Implementations
Repository Interface app/Repositories/Contracts
Repository Class app/Repositories/Eloquent

You can change any path before generating. All paths must start with app/ — the UI blocks submission if a path does not.

Refresh Path resets all fields back to the defaults above.

Remember current path — tick this checkbox to save your custom paths in the browser. The next time you open the panel, your paths are pre-filled automatically.


Step 4 — Preview the file tree

The Structure Output terminal on the right updates live as you type the model name, check components, or edit paths. It shows exactly what will be written to disk before you commit to generating.


Step 5 — Generate

Click 🚀 Generate Files.

The form submits via Fetch API — no page reload. A success or error message appears at the top of the page. Files that already exist on disk are skipped (not overwritten).


Generated file structure

Running the generator with model name Product and all components selected produces:


Artisan Command (CLI alternative)

Prefer the terminal? The Artisan command generates the same files without the browser.

Flags

Flag Component
m Model
c Controller
s Service + Service Interface
r Repository + Repository Interface
t Migration

Examples


Use Cases


Contributing

All contributions are welcome — bug fixes, new features, documentation improvements.

Repository: github.com/mehedi250/laravel-structure-kit


License

Released under the MIT License.
Copyright © 2026 Md. Mehedi Hasan Shawon

See the LICENSE file for full details.


**If this package saved you time, consider giving it a ⭐ on GitHub.** Made with ❤️ for the Laravel community · [Report a Bug](https://github.com/mehedi250/laravel-structure-kit/issues) · [Request a Feature](https://github.com/mehedi250/laravel-structure-kit/issues)

All versions of laravel-structure-kit with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/routing Version ^10.0|^11.0|^12.0
illuminate/http Version ^10.0|^11.0|^12.0
illuminate/filesystem Version ^10.0|^11.0|^12.0
illuminate/console Version ^10.0|^11.0|^12.0
symfony/console Version ^6.0|^7.0|^8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mehedi250/laravel-structure-kit contains the following files

Loading the files please wait ...