Lumen Relay Boilerplate

screenshot of Lumen Relay Boilerplate
laravel
react

[OUTDATED] A lumen boilerplate with Auth, GraphQL & Relay Modern, a ready to go API for your React, VueJS applications

Overview

Lumen's GraphQL server implementation provides a streamlined approach for developers looking to harness the power of GraphQL through a lightweight PHP framework. Built on a micro-framework philosophy, Lumen is tailored for speed and functionality, making it an excellent choice for creating efficient APIs. With support for React Relay, this setup not only aids in developing robust backends but also fosters a solid understanding of how to work with GraphQL effectively.

For those familiar with Laravel, transitioning to Lumen is seamless, allowing developers to kick-start their GraphQL projects with minimal overhead. This implementation is especially valuable for those eager to explore GraphQL while leveraging PHP's capabilities, showcasing the language's optimization and efficiency in modern web development.

Features

  • Full CRUD Example: This implementation includes a comprehensive Create, Read, Update, Delete example, allowing developers to understand complete data manipulation.

  • GraphQL Playground: An interactive environment where users can test their GraphQL queries and mutations in real-time, enhancing the development experience.

  • Database Migrations: Seamlessly manage your database schema with Lumen's migration capabilities, ensuring smooth transitions and updates.

  • GraphQL Database Schema Generator: Automatically generate your GraphQL schemas based on the database models, streamlining the setup process significantly.

  • User Authentication with Passport: Secure your API endpoints with built-in user authentication, making it easier to manage access to your resources.

  • Ready-to-Start Setup: After initial configuration, developers can dive right into building their applications without excessive setup time.

  • Client Web App: A React + Relay-based application to test all the features, offering a clear view of what Relay can achieve in conjunction with GraphQL.

  • Community and Documentation Support: Although the project may no longer be maintained, the existing community and documentation can provide essential guidance and resources for new users.

laravel
Laravel

Laravel is a powerful and elegant PHP framework that provides developers with a comprehensive set of tools and features to build robust web applications. It follows the Model-View-Controller (MVC) architectural pattern, offering a clean and organized structure for writing efficient and maintainable code.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

graphql
Graphql

A website that uses GraphQL as a query language to manage data fetching and state management. This includes features such as a strongly typed schema, client-side caching, and declarative data fetching to streamline data management and optimize website performance.