Download the PHP package mehedi8gb/api-crudify without Composer
On this page you can find all versions of the php package mehedi8gb/api-crudify. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mehedi8gb/api-crudify
More information about mehedi8gb/api-crudify
Files in mehedi8gb/api-crudify
Package api-crudify
Short Description Automate CRUD operations for Laravel APIs.
License MIT
Homepage https://github.com/mehedi8gb/api-crudify
Informations about the package api-crudify
Api Crudify Laravel Package
Overview
Package Name: Api CRUDify
Description:
Api CRUDify is a powerful Laravel package designed to simplify the process of creating CRUD (Create, Read, Update, Delete) operations in your Laravel applications. With Api CRUDify, you can quickly generate API controllers, models, form request classes, migrations, and more, allowing you to focus on building your application's core functionality instead of writing repetitive boilerplate code.
Key Features
-
Effortless CRUD Generation: Create fully functional CRUD components with a single Artisan command, reducing development time and effort.
-
Customizable Templates: Api CRUDify provides customizable stub templates, enabling you to tailor generated code to your project's specific needs.
-
Model-Controller-Route Integration: Automatically generates API routes for your controllers, ensuring seamless integration with your Laravel application.
-
Form Request Validation: Simplify input validation by automatically generating form request classes for store and update operations.
-
Resourceful Output: Generate resource and resource collection classes, making it easy to transform and format your data for API responses.
-
Database Migration: Automatically create database migration files for your models, helping you define your database schema effortlessly.
-
Factory Integration: Easily integrate model factories into your application's seeders for realistic data seeding.
- Laravel Best Practices: Api CRUDify follows Laravel's best practices and coding standards, ensuring code quality and maintainability.
Installation
Install Api CRUDify in your Laravel project using Composer:
Usages
To use Api CRUDify, run the following Artisan command:
To export api schema for postman, run the following Artisan command:
After running the command, Api CRUDify will generate the following files:
- Controller:
app/Http/Controllers/YourControllerNameController.php
- Model:
app/Models/YourControllerName.php
- Form Request:
app/Http/Requests/YourControllerNameStoreRequest.php
- Form Request:
app/Http/Requests/YourControllerNameUpdateRequest.php
- Resource:
app/Http/Resources/YourControllerNameResource.php
- Resource Collection:
app/Http/Resources/YourControllerNameResourceCollection.php
- Migration:
database/migrations/2021_01_01_000000_create_your_controller_names_table.php
- Factory:
database/factories/YourControllerNameFactory.php
- Seeder:
database/seeders/YourControllerNameSeeder.php
- Route:
routes/api.php
Now you can run the following command to migrate your database:
Features
your request will be passed with end to end validation, encryption, and authentication. You can also export the api schema for postman and many more.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of api-crudify with dependencies
laravel/framework Version 12.*
andreaselia/laravel-api-to-postman Version ^2.1.0
cviebrock/eloquent-sluggable Version ^12.0.0
spatie/laravel-package-tools Version ^1.16.4