Download the PHP package milwad/laravel-crod without Composer

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

Laravel Crod

PHP Version Require Latest Stable Version Total Downloads License Passed Tests


Laravel crod is a package for implementing CRUD faster and easier. You can quickly create controllers, models, migrations, services, repositories, views and requests. You can make it automatically fillable for models, query for repositories and services, make resource controllers, and have a lot of options.

Docs: https://github.com/milwad-dev/laravel-crod/wiki

Requirements


Crod L7 L8 L9 L10 L11
1.0 :white_check_mark: :white_check_mark: :white_check_mark: :x: :x:
1.1 :x: :x: :white_check_mark: :white_check_mark: :white_check_mark:
1.2 :x: :x: :white_check_mark: :white_check_mark: :white_check_mark:
1.3 :x: :x: :white_check_mark: :white_check_mark: :white_check_mark:
1.4 :x: :x: :white_check_mark: :white_check_mark: :white_check_mark:

Installation


After installation, you need to publish config files.

Check active commands

When you install the Laravel Crod, a series of commands will be activated for you. For see these commands, you can run below command:

Crod commands

Make CRUD files

For creating crud files, you need to run the crud:make command in your terminal:


For example

When you execute this command, after creating the files, you will see a list of options that will create a series of additional files for you, which of course are optional, you can choose and if you need, it will create additional files for you such as seeder, factory, repository, etc.

✅ After, you can see Laravel Crod creates crud files such as Model, Controller, Form-Requests, Migrations etc.

CRUD Query

If you run crud:query command, the result is:

You must run the migrate command, before crud:query command.

For using automatic query, you can run below command:

For example:

When you add --id-controller option, the Laravel Crod create crud functions without Route Model Binding in controller.

After you can see Laravel Crod added query to service, repository, controller, model, etc.

CRUD for Module

If you are using Modular Architecture, you are able to run crud:make-module command. This command create a new module and create the default crud files such as Model, Controller, Migration, etc:

For example:

When you execute this command, after creating the files, you will see a list of options that will create a series of additional files for you, which of course are optional, you can choose and if you need, it will create additional files for you such as seeder, factory, repository, etc.

CRUD Query for Module

This command adds query and date to CRUD files for module. This command is similar to crud:query command, but this command is for module. if you have a modular you can write your module name and Laravel Crod find it automatically.

You must run your migration file

For example:

OR

When you add --id-controller option, the Laravel Crod create crud functions without Route Model Binding in controller.

After you can see Laravel Crod added query to service, repository, controller, model, ... for your module.

Custom path

You can custom file path in config file.

With Laravel Crod config, you can customize the commands, for example you want to set the route file name. This config file exists in config/laravel-crod.php:

License

Testing

Run the tests with:

Contributing

This project exists thanks to all the people who contribute. CONTRIBUTING

Security

If you've found a bug regarding security please mail [email protected] instead of using the issue tracker.

Conclusion

Laravel-crod is a simple yet powerful package that can help you create CRUD operations for your Laravel models in just a few lines of code. By following this documentation, you should now have a better understanding of how to use the package in your Laravel project. If you have any issues or questions, please feel free to open an issue on the package's GitHub repository.


All versions of laravel-crod with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
doctrine/dbal Version ^3.6
laravel/framework Version ^9.0|^10.0|^11.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 milwad/laravel-crod contains the following files

Loading the files please wait ....