PHP Classes

Laravel API Generator For Fast Development: Generate API code to manipulate model objects

Recommend this page to a friend!
  Info   View files Documentation   View files View files (23)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2022-06-15 (3 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 29 This week: 1All time: 10,628 This week: 209Up
Version License PHP version Categories
laravel-api-develop 1.0MIT/X Consortium ...5PHP 5, Libraries, Web services, Code ...
Description Author

This package can generate API code to manipulate model objects.

It provides a command that can run from the command line console and takes the name of a model class that you may have in a PHP application that uses the Laravel framework.

The package can create directories to store PHP class files that will be able to handle HTTP requests to process API calls that will access the given model object.

Picture of Dipesh Sukhia
Name: Dipesh Sukhia <contact>
Classes: 4 packages by
Country: ???
Age: ???
All time rank: 4030
Week rank: 98 Up
Innovation award
Innovation award
Nominee: 2x

Details

Develop(Export) Laravel REST apis

Latest Version on Packagist Total Downloads GitHub Actions

Develop(Export) Laravel REST apis with form request, api resources and collections.

Installation

You can install the package via composer:

composer require dipeshsukhia/laravel-api-develop

Usage

php artisan develop-api:install

use trait in App\Exceptions\Handler.php

use App\Exceptions\Traits\ApiHandlerTrait;

class Handler extends ExceptionHandler
{
    use ApiHandlerTrait;

php artisan develop-api --model=User

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email dipesh.sukhia@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

  Files folder image Files  
File Role Description
Files folder image.github (1 directory)
Files folder imageconfig (1 file)
Files folder imagesrc (3 files, 2 directories)
Accessible without login Plain text file .styleci.yml Data Auxiliary data
Accessible without login Plain text file CHANGELOG.md Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file CONTRIBUTING.md Data Auxiliary data
Accessible without login Plain text file LICENSE.md Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  .github  
File Role Description
Files folder imageworkflows (1 file)

  Files folder image Files  /  .github  /  workflows  
File Role Description
  Accessible without login Plain text file main.yml Data Auxiliary data

  Files folder image Files  /  config  
File Role Description
  Accessible without login Plain text file config.php Aux. Auxiliary script

  Files folder image Files  /  src  
File Role Description
Files folder imageConsole (1 directory)
Files folder imageresources (1 directory)
  Plain text file LaravelApiDevelop.php Class Class source
  Plain text file LaravelApiDevelopFacade.php Class Class source
  Plain text file LaravelApiDevelopServiceProvider.php Class Class source

  Files folder image Files  /  src  /  Console  
File Role Description
Files folder imageCommands (2 files)

  Files folder image Files  /  src  /  Console  /  Commands  
File Role Description
  Plain text file DevelopApi.php Class Class source
  Plain text file ExportLaravelApiDevelopDefaults.php Class Class source

  Files folder image Files  /  src  /  resources  
File Role Description
Files folder imagestubs (10 files)

  Files folder image Files  /  src  /  resources  /  stubs  
File Role Description
  Plain text file ApiController.stub Class Class source
  Plain text file ApiHandlerTrait.stub Class Class source
  Plain text file ApiJson.stub Class Class source
  Plain text file ApiResourceTrait.stub Class Class source
  Accessible without login Plain text file message.stub Data Auxiliary data
  Plain text file ModelNameCollection.stub Class Class source
  Plain text file ModelNameController.stub Class Class source
  Plain text file ModelNameResource.stub Class Class source
  Plain text file StoreModelNameRequest.stub Class Class source
  Plain text file UpdateModelNameRequest.stub Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:29
This week:1
All time:10,628
This week:209Up
For more information send a message to info at phpclasses dot org.