GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - CatLabInteractive/charon: Charon is a framework for building self documented RESTfull API's.

BranchesTags
Open more actions menu

Latest commit

 

History

475 Commits
475 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
blogs
blogs
 
 
docs
docs
 
 
docusaurus
docusaurus
 
 
example
example
 
 
src
src
 
 
tests
tests
 
 
.buildpacks
.buildpacks
 
 
.dockerignore
.dockerignore
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.static
.static
 
 
.travis.yml
.travis.yml
 
 
Gruntfile.js
Gruntfile.js
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
app-nginx.conf.sigil
app-nginx.conf.sigil
 
 
app.json
app.json
 
 
composer.json
composer.json
 
 
package.json
package.json
 
 
phpunit.xml
phpunit.xml
 
 

Repository files navigation

Charon

Build Status

Fractal on steroids.

What?

Charon is a PHP framework for building self documented RESTful API's.

Please visit our website for more information.

Getting started

While Charon can be used with any framework, I have created a laravel skeleton project to get you started fast.

Installation

composer create-project catlabinteractive/laravel-charon api

Configuration

Please follow the instructions on https://github.com/CatLabInteractive/laravel-charon-template

Why?

When building a RESTful API there are a few things that keep coming back:

  • Entity to resource transformation
  • API description
  • Resource field filtering
  • Relationship and expanding these relationships
  • Filtering
  • Sorting
  • Pagination

Charon tries to take some of this work away by providing a framework that takes care of most of these features.

  • Instead of transformers, write definitions
  • Filter and sort based on these definitions
  • Allow clients to choose fields that should be returned
  • Expand relationships in a single request
  • Handle all pagination in one single middleware

Documentation

By default, Charon generates Swagger 2.0 documentation. Other documentors can be implemented by implementing the interface.

Frameworks

Charon works very well with Laravel, but the library is built so that it can be incorporated in other frameworks.

An ORM is not required, but makes implementing certain functionality (like pagination and filtering) a lot easier.

Context options

For both fields and expand parameters: add a * to repeat the field (for recursive models).

About

Charon is a framework for building self documented RESTfull API's.

Topics

apicharonframeworkphp7

Resources

Readme
MIT license
Activity
Custom properties

Stars

2 stars

Watchers

2 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.