Download the PHP package coding-partners/auto-controller without Composer

On this page you can find all versions of the php package coding-partners/auto-controller. 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 auto-controller

coding-partners/auto-controller

Description

coding-partners/auto-controller is a Laravel package allows you to quickly create fully functional controllers for any model in your project. With a single command, the package will create a console with all standard CRUD methods (create, read, update, delete) as well as soft-delete methods, saving you a lot of time and effort. This enables you to focus on building the core features of your project. And let's not forget its support for uploading all types of files with high security

Installation

To install the package, use the following command via Composer:

Requirements

Usage

To use the package: You must first set up the model and migration. For file fields:

After ensuring that you have performed all the previous steps, you can run the following command via the Artisan Console:

Workflow:

  1. The command will generate FormRequest classes for the Store and Update operations.
  2. It will then generate an API Resource file for the model.
  3. You will be prompted to choose whether to add a Service layer:
    • If you answer yes, a Service file specific to the controller will be generated, followed by the controller.
    • If you answer no, only the controller will be generated.
  4. Finally, the necessary routes will be added to the api.php file.

Example with Service

Example without Service

License

This package is licensed under the MIT License.

Contributions

Contributions are welcome! If you'd like to contribute to the development of this package, you can start by opening an Issue or submitting a Pull Request.

Authors


All versions of auto-controller with dependencies

PHP Build Version
Package Version
Requires php Version ^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 coding-partners/auto-controller contains the following files

Loading the files please wait ....