codeby / laravel-api
RestFul API for Development and Production
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/codeby/laravel-api
Requires
- php: >=5.6
- guzzlehttp/guzzle: ^7.0.1
This package is not auto-updated.
Last update: 2025-12-21 22:34:05 UTC
README
#Part 1. Codeby/Laravel-API
A simple server API helper RestFull GET, PUT, DELETE, POST requests and store it cloud server.
Installation
Install via composer
composer require codeby/laravel-api
Register Service Provider
Note! This and next step are optional if you use laravel>=8.0 with package auto discovery feature.
Add service provider to config/app.php in providers section
Codeby\LaravelApi\APIServiceProvider::class,
Register Facade
Register package facade in config/app.php in aliases section
'LaravelApi' => \Codeby\LaravelApi\LaravelApi::class,
Publish Configuration File
php artisan laravel-api:publish
#Part 2. Setup remote api
Step 1: Register free account at https://api.codeby.com
Step 2: Add new an Api object then submit the form
Step 3: Add new a Resource object then submit the form,
with field name is users
Step 4: Add new a Dataset object then submit the form
with field name is setup-laravel.dev
Step 5: Choose setup-laravel.dev from Rallydata's list,
then click info button to get TOKEN key
Step 6: Import Postman copy Postman Collection and Postman Environment
then paste to Import Postman