Download the PHP package swattech/crud without Composer

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

SwatTech CRUD for Laravel 12

Version PHP Laravel License Tests Code Quality

SwatTech CRUD is an enterprise-grade CRUD generator for Laravel 12 with Vuexy theme integration. It analyzes your database schema and automatically detects relationships, generating feature-rich code with a single command.

๐Ÿ“‹ Comprehensive Features

Core Generation

Advanced Features

Enterprise Features

UI Components

๐Ÿ”ง Installation

Prerequisites

Step 1: Install via Composer

Step 2: Publish Configuration

Step 3: Publish Assets (Optional)

Step 4: Run Migrations (Optional)

Only needed if you want to use activity logging, media, etc.

โš™๏ธ Configuration

The package is highly customizable through the config/crud.php file:

๐Ÿš€ Usage Examples

Generate Complete CRUD

Generate all files for a table:

This will create:

Generate API Only

Create API endpoints and resources:

Generate with Specific Options

Customize the generation process:

Generate for Multiple Tables

Process all tables in your database:

Generate Only Relationships

Add relationship methods to existing models:

Generate Documentation

Create comprehensive documentation:

๐Ÿ“š Command Reference

crud:generate

crud:api

Generate API-specific components:

crud:relationships

Analyze and generate relationships:

crud:docs

Generate comprehensive documentation:

crud:tests

Generate test suite:

๐Ÿ”Œ Extending and Customizing

Custom Generators

Extend the base generator classes to customize the code generation:

Register your custom generator in a service provider:

Custom Stubs

Publish and edit the stub templates:

Edit the stubs in resources/stubs/vendor/swattech/crud/:

Custom Themes

The package comes with Vuexy theme integration by default, but you can create your own theme:

  1. Publish the stubs: php artisan vendor:publish --tag="stubs"
  2. Create a new theme directory: resources/stubs/vendor/swattech/crud/mytheme/
  3. Add your theme files (layout.stub, views/, components/)
  4. Update configuration: 'theme' => ['name' => 'mytheme']

โ“ Troubleshooting

Class Not Found Errors

Permission Issues

Database Connection Issues

Make sure your .env file has the correct database configuration:

JavaScript/CSS Assets Not Found

Relationship Detection Issues

If relationships aren't detected properly:

Customizing Generated Code

To make minor changes without extending classes:

  1. Publish the config: php artisan vendor:publish --tag="config"
  2. Publish the stubs: php artisan vendor:publish --tag="stubs"
  3. Edit the appropriate stub files
  4. Update the config to use custom stubs: 'stubs' => ['use_custom' => true]

๐Ÿ“ License

The SwatTech CRUD package is open-sourced software licensed under the MIT license.

๐Ÿ‘ฅ Contributing

We welcome contributions to improve SwatTech CRUD! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature-name
  3. Commit your changes: git commit -m 'Add feature'
  4. Push to the branch: git push origin feature-name
  5. Submit a pull request

Please make sure your code follows our coding standards and includes appropriate tests.

๐Ÿ“ฆ Credits


All versions of crud with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1|^8.2|^8.3
laravel/framework Version ^10.0|^11.0|^12.0
doctrine/dbal Version ^3.7
illuminate/support Version ^12.0
illuminate/database Version ^12.0
illuminate/console Version ^12.0
illuminate/filesystem Version ^12.0
illuminate/contracts Version ^12.0
illuminate/events Version ^12.0
nesbot/carbon Version ^2.0
spatie/laravel-permission Version ^5.0
barryvdh/laravel-ide-helper Version ^3.0
maatwebsite/excel Version ^3.1
barryvdh/laravel-dompdf Version ^2.0
phpoffice/phpspreadsheet Version ^4.0
darkaonline/l5-swagger Version ^8.0
league/csv Version ^9.0
laravel/scout Version ^10.0
league/flysystem Version ^3.0
ramsey/uuid Version ^4.0
ext-json Version *
ext-pdo Version *
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 swattech/crud contains the following files

Loading the files please wait ....