PHPackages                             xqsit94/laravel-webservice-example-boilerplate - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. xqsit94/laravel-webservice-example-boilerplate

ActiveProject[API Development](/categories/api)

xqsit94/laravel-webservice-example-boilerplate
==============================================

Laravel webservice example/boilerplate using laravel 7.x, Sanctum and Facades pattern. Clone and add your own functionalities

10[5 PRs](https://github.com/xqsit94/laravel-webservice-example-boilerplate/pulls)PHP

Since May 12Pushed 3y ago1 watchersCompare

[ Source](https://github.com/xqsit94/laravel-webservice-example-boilerplate)[ Packagist](https://packagist.org/packages/xqsit94/laravel-webservice-example-boilerplate)[ RSS](/packages/xqsit94-laravel-webservice-example-boilerplate/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (6)Used By (0)

[![](https://camo.githubusercontent.com/97b5803421d3fe4307917cb5ab71bb9ad8ea9b32346d92cf52bf68c697d15478/68747470733a2f2f7265732e636c6f7564696e6172792e636f6d2f6474666276766b79702f696d6167652f75706c6f61642f76313536363333313337372f6c61726176656c2d6c6f676f6c6f636b75702d636d796b2d7265642e737667)](https://camo.githubusercontent.com/97b5803421d3fe4307917cb5ab71bb9ad8ea9b32346d92cf52bf68c697d15478/68747470733a2f2f7265732e636c6f7564696e6172792e636f6d2f6474666276766b79702f696d6167652f75706c6f61642f76313536363333313337372f6c61726176656c2d6c6f676f6c6f636b75702d636d796b2d7265642e737667)

Laravel Webservice Example/Boilerplate
--------------------------------------

[](#laravel-webservice-exampleboilerplate)

- [Laravel 7.x](https://laravel.com/docs/7.x)
- [Sanctum](https://laravel.com/docs/7.x/sanctum)
- Magical Facades Pattern

Usage
-----

[](#usage)

This is not a package - it's a full Laravel project that you should use as a starter boilerplate, and then add your own custom functionalities.

- Clone the repository with `git clone`
- Copy `.env.example` file to `.env` and edit database credentials there
- Run `composer install`
- Run `php artisan key:generate`
- Run `php artisan migrate`
- That's it: Test API's with Postman

Useful snippets to check
------------------------

[](#useful-snippets-to-check)

- `HasApiResponse` Trait
- `render method` in Handler.php
- `Facades keyword` in controllers (Used as proxies for calling non-static method static)
- `Facades` folder

\*\* Note: Every api should hold `Accept: Application/json` in header. \*\*

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20275754?v=4)[Manikandan B](/maintainers/xqsit94)[@xqsit94](https://github.com/xqsit94)

---

Top Contributors

[![xqsit94](https://avatars.githubusercontent.com/u/20275754?v=4)](https://github.com/xqsit94 "xqsit94 (2 commits)")

---

Tags

apilaravelrestful-apisanctumwebservice

### Embed Badge

![Health badge](/badges/xqsit94-laravel-webservice-example-boilerplate/health.svg)

```
[![Health](https://phpackages.com/badges/xqsit94-laravel-webservice-example-boilerplate/health.svg)](https://phpackages.com/packages/xqsit94-laravel-webservice-example-boilerplate)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
