Download the PHP package prolaxu/fast-api-crud without Composer

On this page you can find all versions of the php package prolaxu/fast-api-crud. 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 fast-api-crud

About FastApiCrud

It provides basic to advanced CRUD (Create, Read, Update, Delete) functionality for a given model.

Composer

Installation

Child Constructor method

This package has auto-discovery for laravel 6 and higher and for below you can add this in your providers array

This package is build on Top of Spatie role and permission Register in Kernel.php if you want to apply permission as well

Eample

The class has several protected properties that can be overridden in child classes:

The class has several methods that correspond to basic CRUD operations:

There are also two helper methods, and , that return a JSON response with a message and data. These are used to standardize error and success responses across the controller.

for example

This package has also featured for making service ,action,trait file also

After installation, the command php artisan make:service {name} {--N|noContract} will be available.

Create services files

For example, the command php artisan make:service createUser will generate a service file called CreateUserService.php located in app/Services/CreateUser.

It will also generate an interface (contract) called CreateUserContract.php located in app/Services/Contracts.

Create services for models

Adding a or option is now available when creating a model.

For example, the command php artisan make:model Post --service or php artisan make:model Post -S will generate a model with service too.

The command php artisan make:model Post --all or php artisan make:model Post -a will now generate a model, migration, factory, seeder, policy, controller, form requests and service.

Contracts

Adding a or option will prevent the commands from implementing any contract and will not create any contract file.

If you never need any contracts. Publish the config file and then turn the with_interface value to false in the config file.


All versions of fast-api-crud with dependencies

PHP Build Version
Package Version
Requires illuminate/auth Version 10.*|9.*|8.*|7.*|6.*|5.*
illuminate/http Version 10.*|9.*|8.*|7.*|6.*|5.*
illuminate/pagination Version 10.*|9.*|8.*|7.*|6.*|5.*|4.*
illuminate/routing Version 10.*|9.*|8.*|7.*|6.*|5.*
illuminate/support Version 10.*|9.*|8.*|7.*|6.*|5.*
spatie/laravel-permission Version 6.x-dev|5.*|4.*|3.*|2.*|1.*
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 prolaxu/fast-api-crud contains the following files

Loading the files please wait ....