Download the PHP package layman/laravel-architect without Composer

On this page you can find all versions of the php package layman/laravel-architect. 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-architect

Laravel Architect

Generate Laravel controllers, form requests, models, and repositories from config/architect.php. Generated controllers use spatie/laravel-route-attributes by default.

Installation

Install the package in a Laravel application:

Laravel package discovery registers Layman\LaravelArchitect\ArchitectServiceProvider automatically.

Publishing

Publish the config file:

Publish the default stubs if you want to customize generated code:

By default, published stubs are copied to artisan-generator-stubs.

Usage

Generate all configured artifacts:

Generate selected artifact types:

Overwrite existing generated files:

Nested module names are supported:

Use {{modulePath}} in config/architect.php paths if nested module names should also affect output namespaces.

Configuration

config/architect.php controls namespaces and generated files:

Supported placeholders include {{module}}, {{module_snake}}, {{module_kebab}}, {{module_camel}}, {{module_plural}}, {{module_plural_snake}}, {{table}}, and {{variable}}.

The default controller stub adds #[Prefix('{{module_snake}}')], uses #[Post(...)] for every action, and sets #[Defaults('description', '')]. Set route_attributes.enabled to false if controllers should be generated without spatie/laravel-route-attributes imports and PHP attributes. If you have already published the package stubs, re-publish them or update your controller.stub to use the route attribute placeholders from the package stub.


All versions of laravel-architect with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
illuminate/console Version ^11.0|^12.0|^13.0
illuminate/filesystem Version ^11.0|^12.0|^13.0
illuminate/support Version ^11.0|^12.0|^13.0
spatie/laravel-route-attributes Version ^1.28
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 layman/laravel-architect contains the following files

Loading the files please wait ...