LaravelStarter

laravel-restful-api-starter — Laravel Starter Template

By merlosy

A Laravel-based RESTful API starter that integrates MongoDB storage, multi-device token sessions, social login, and a password reset flow.

Explore the design

Compare the page layouts and mobile experience. Open any screenshot for a closer look.

2 previews
Desktop homepage1 / 2
Desktop captureTop of page

Actual screenshot captured by the server browser.

All pages & views 2

Screenshots show visual appearance; interactive behavior may differ.

Recorded 2026-10-02View source

What stands out

A quick read of the recorded project description.

01

Laravel-based RESTful API starter under the MIT license

02

Uses MongoDB for storage while retaining Eloquent ORM, and is also compatible with MySQL, PGSQL, SQLite, and SQL Server

03

Provides an ApiResponse class to quickly return JSON responses with HTTP status codes and handle validation failures

04

Token mechanism supports multi-device login and active session tracking

05

Includes a Facebook login wrapper class and a password reset flow using one-time, short-lived tokens

Template Details

This is a Laravel-based RESTful API starter project maintained by merlosy under the MIT license. Its goal is to provide developers who need to quickly set up an API backend with a preconfigured starting point.

For the storage layer, the project uses MongoDB as data storage while retaining Eloquent as the ORM. With the Laravel MongoDB extension, it can use either MongoDB (NoSQL) or the relational databases Laravel originally supports (MySQL, PGSQL, SQLite, SQL Server); the README states that the relevant configuration is already complete. The project also includes a Seeder file (js) for initializing a MongoDB user.

For API responses, the project provides an ApiResponse class (extending Illuminate\Support\Facades\Response) to quickly return JSON-encoded response messages with corresponding HTTP status codes, and it can also handle validation failures.

For user authentication and sessions, the project supports multi-device login via tokens and can track users' active sessions. For social login, it provides a single configuration file, app/config/social.php, and includes a wrapper class for Facebook authentication (SDK v4) used to connect and retrieve user information. Password reset uses a one-time, short-lived token flow and does not rely on verification codes or security questions.

Note that the Laravel version and Facebook SDK version cited in the README are the project's own statements; actual dependency versions should be based on the repository's dependency manifest. The project was last updated in 2015, and the demo page and Wiki are external links, so actual availability should be verified independently.

LaravelStarter

Is it right for your project?

Use Cases

  • Quickly building a RESTful API backend for mobile or frontend applications
  • Wanting to use both MongoDB and relational databases in Laravel
  • User systems that need multi-device login, session tracking, or social login capabilities
  • Implementing a password reset flow without verification codes or security questions

Suitable For

  • Backend developers familiar with Laravel who want to build an API from a ready-made starting point
  • Projects planning to use MongoDB as the primary storage
  • API projects that need multi-device token sessions and Facebook login

Getting started & customization

Use these recorded setup notes alongside the repository instructions for your chosen version.

  1. 1

    The Laravel and Facebook SDK versions cited in the README are older; actual dependency versions should be based on the repository's dependency manifest

  2. 2

    The project was last updated in 2015; compatibility of dependencies and runtime environment should be verified before use

  3. 3

    MongoDB user initialization depends on the Seeder file (js) in the repository

  4. 4

    Social login requires filling in the corresponding configuration in app/config/social.php

  5. 5

    Third-party assets such as demo images, fonts, and icons must be checked separately under their respective licenses

Read repository instructions

License & source material

Usage conditions & limitations

Free to use · keep license notice

This entry covers the free version in the public repository under the MIT license; the free scope is the code of this version and does not mean that external services or third-party assets are free.

Must comply with when using

  • Free use, modification, commercial use, and distribution of this version's code are permitted.
  • When distributing copies or substantial portions of the code, retain the original author's copyright notice and the full MIT license notice.
  • The code is provided as is; warranties and limitations of liability are governed by the original license and applicable law.

Additional costs & items to verify

  • The social login feature depends on Facebook authentication (SDK v4) and requires filling in Facebook app configuration in app/config/social.php; using this feature requires a Facebook developer account and compliance with Facebook platform terms.
  • The project uses MongoDB as storage by default, so you need to deploy and run a MongoDB service yourself; if you switch to relational databases such as MySQL, PGSQL, SQLite, or SQL Server, you need to prepare the corresponding database service yourself.
  • Initializing a MongoDB user depends on the Seeder file (js) in the repository; you need to run this script locally to complete user data initialization.
  • Demo images, fonts, icons, and other third-party assets must be checked under their respective licenses and cannot be judged solely by the code's MIT license.
  • External services such as domains, hosting, databases, payments, or AI may incur additional charges.
View Original Text Basis

Permission is hereby granted, free of charge

Original License Text

Social media login: - single config file: *app/config/social.php* - [Facebook] Authentication (sdk v4): Wrapper class to easily connect and retrieve info

Original README

Use MongoDB for storage, and still Eloquent for ORM

Original README

Seeder files (js) to set up MongoDB users

Original README
https://github.com/merlosy/laravel-restful-api-starter/blob/master/LICENSEhttps://github.com/merlosy/laravel-restful-api-starter/blob/master/README.md

Compiled by DeepSeek based on repository license and README ·2026-10-02. Results only cover the materials read; dependencies, images, fonts, and subsequent term changes are subject to their respective original texts.

Project checks & description sources

Template Information

Source platforms
GitHub
Documentation and maintenance reference score
Partly documented · 72 / 100
Technologies
Laravel
Website type
Starter
How this score is calculated

Our heuristic uses license records (up to 30), a demo link (12), a preview (10), stars (15), recorded maintenance (15), description completeness (8), feature records (5) and classification data (5). It is not a code, security or performance test, or a Google score. A link does not establish tested functionality.

What to verify for this project

Repository update recorded
2015-03-31
Screenshot last checked
2026-10-02

A demo link is listed. Check it with your own content and viewport sizes; its presence does not confirm that forms, authentication or payments work.

The catalog identifies Laravel as the primary stack. Check the actual dependency manifest and lockfile for versions and hosting requirements. These notes use recorded metadata, not a code audit or a deployment test.

Use a selection guide →

How this description was prepared

AI-assisted description based on catalog records and repository material. Repository authors are not automatically the reviewers of this description.

Automatically checked against source and license rules; no manual editorial review.

Inspect the recorded source material

SHA-256: df2cf70e59de133bc9a29283684afe13ed2d7f7726948f3c33bc48a5e5bd9c7b

2026-10-02T14:41:58.010Z

Source file / repository
#Laravel Restful API Starter

> Check out the [WIKI] now!

> Contributions are welcome! for both code and doc :)

## What is it about?

This starter is based on:
  - [Laravel] 4.2 :  Use the power a lightweight trendy Framework

Use MongoDB for storage, and still Eloquent for ORM:
  - Eloquent for MongoDB : ([Laravel MongoDB]) You can easily use MongoDB (NoSQL) as well as the basic SQL database managed by Laravel (MySQL, PGSQL, SQLite, SQL server). Everything is already configured!
  - Seeder files (js) to set up MongoDB users

Send custom response messages:
   - ApiResponse (extends Illuminate\Support\Facades\Response) to quickly send json encoded response message, with adapted Http status codes, and even failed validation rules

Multi-device session:
   - Token : allow a user to login from multiple devices and track all his active sessions.

Social media login:
   - single config file: *app/config/social.php*
   - [Facebook] Authentication (sdk v4): Wrapper class to easily connect and retrieve info

Reset Password:
  - a simple and safe flow to reset a password with single-use short-lived token. No captcha, no personal question.

## About it

### Feedback appreciated 
Contact me on [GitHub]

### License
MIT

[Facebook]:https://github.com/facebook/facebook-php-sdk-v4
[WIKI]:https://github.com/merlosy/laravel-restful-api-starter/wiki
[Laravel MongoDB]:https://github.com/jenssegers/laravel-mongodb
[Laravel]:http://laravel.com/docs/quick
[GitHub]:https://github.com/merlosy
[Starter API]:https://github.com/merlosy/laravel-restful-api-starter
[Postman]:https://chrome.google.com/webstore/detail/postman-rest-client/fdmmgilgnpjigdojojpjoooidkmcomcm


Report a correction

Explore similar templates

Compare previews and descriptions within the same stack and category.