nucleardog/ndapi

API boilerplate for Laravel

v1.0.2 2024-12-14 16:42 UTC

This package is auto-updated.

Last update: 2024-12-14 21:43:31 UTC


README

API boilerplate for Laravel.

Features

  • HTTP: Consistently formatted JSON responses and rich error responses.
  • Routing: Expands Laravel's router with support for versioned routes.
  • Entities: System for rapidly defining API entities and building out a RESTful API.

Tests

Phpunit is included in a separate composer file and must be explicitly installed:

$ cd tools/phpunit/
$ composer install

Once installed, the tests can be run from the root package folder with:

$ composer test

Legal

Copyright 2024 Adam Pippin hello@adampippin.ca

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this project except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.