Download the PHP package anwar/crud-generator without Composer
On this page you can find all versions of the php package anwar/crud-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download anwar/crud-generator
More information about anwar/crud-generator
Files in anwar/crud-generator
Package crud-generator
Short Description A powerful Laravel package for generating CRUD operations with advanced UI, validation, API generation, and comprehensive testing support. Database-safe with manual migration control.
License MIT
Homepage https://github.com/ringkubd/anwarcrud
Informations about the package crud-generator
Laravel CRUD Generator
A powerful Laravel package that automates the creation of CRUD operations with advanced features including API generation, comprehensive validation support, and modern UI interface.
๐จ Important Safety Notice
โ ๏ธ ALWAYS BACKUP YOUR DATABASE BEFORE INSTALLATION
This package includes migrations. For your safety:
- Migrations are NOT automatically run
- You must manually publish and review them
- See SAFETY-NOTICE.md for complete safety guidelines
โจ Features
- ๐ Complete CRUD Generation - Models, Controllers, Views, Migrations, Requests, Resources
- ๐จ Modern UI Interface - Bootstrap 4 with live preview and advanced field configuration
- โ Full Validation Support - All Laravel validation rules with visual builder
- ๐ API Generation - RESTful controllers and JSON resources
- ๐ Auto Documentation - Generate API docs in Markdown and HTML
- โก CLI Integration - Artisan commands for automation
- ๐งช Test Generation - Feature and unit tests included
- ๐ฏ Customizable Templates - Stub-based system for full customization
- ๐ก๏ธ Database Safe - No automatic migrations, full user control
๐ Requirements
- PHP 8.1 or higher
- Laravel 10.0 or higher
- MySQL 5.7+ or PostgreSQL 10+
๐ Quick Start
Safe Installation
Access the Generator
Visit: http://your-app.com/admin/anwar-crud-generator
๐ฏ Usage Examples
Web Interface
-
Access the Generator Interface
-
Configure Your Module
- Module Name:
Post
- Fields:
title
(string, required|max:255)content
(text, required)status
(boolean)published_at
(datetime, nullable)
- Relationships:
user
(belongsTo User)comments
(hasMany Comment)
- Options: โ API, โ Soft Deletes
- Module Name:
- Preview and Generate
- Use live preview to review generated code
- Click "Generate" to create all files
CLI Commands
API Usage
๐ Generated Files
When you generate a Post
module, you'll get:
๐จ Advanced Features
Field Types & Validation
Support for all Laravel field types and validation rules:
Complex Relationships
API Features
Generated API controllers include:
- โ RESTful endpoints (GET, POST, PUT, DELETE)
- โ JSON API resources with data transformation
- โ Proper HTTP status codes
- โ Error handling and validation
- โ Pagination support
- โ Rate limiting ready
Example API endpoints:
๐ง Configuration
Customize the package behavior in config/anwarcrud.php
:
๐ฏ Customization
Custom Templates
-
Publish stubs:
-
Modify templates in
resources/crud-stubs/
- Use custom placeholders:
@modelName
- Model class name@modelVar
- Model variable name@fields
- Generated fields@relationships
- Generated relationships
Custom Field Types
Add custom field types:
๐งช Testing
Run package tests:
Generated modules include comprehensive tests:
๐ Documentation
- Full Documentation: DOCUMENTATION.md
- API Reference: Complete API documentation with examples
- Video Tutorials: [Coming Soon]
- Wiki: GitHub Wiki
๐ค Contributing
We welcome contributions! Please see CONTRIBUTING.md for details.
Development Setup
๐ Bug Reports & Feature Requests
Please use GitHub Issues for:
- ๐ Bug reports
- ๐ก Feature requests
- ๐ Documentation improvements
- โ Questions and support
๐ License
This package is open-source software licensed under the MIT License.
๐ Credits
- Author: Anwar Jahid | [email protected]
- Contributors: All Contributors
- Inspired by: Laravel community and best practices
๐ Links
- Packagist: anwar/crud-generator
- GitHub: ringkubd/anwarcrud
- Issues: Report Issues
- Discussions: GitHub Discussions
โญ Star this repo if you find it useful!
Made with โค๏ธ for the Laravel community
All versions of crud-generator with dependencies
illuminate/support Version ^10.0|^11.0
illuminate/console Version ^10.0|^11.0
illuminate/database Version ^10.0|^11.0
illuminate/routing Version ^10.0|^11.0
illuminate/view Version ^10.0|^11.0