Skip to content
This repository has been archived by the owner on Nov 20, 2022. It is now read-only.
/ ssr-components Public archive

Server Side Rendering (SSR) Components for PHP front-end development

License

Notifications You must be signed in to change notification settings

LSVH/ssr-components

Repository files navigation

Latest Stable Version Latest Unstable Version Total Downloads Pipeline Build Status


SSR Components

Server Side Rendered Components for PHP.

Read the documentation · Submit an issue · Start contributing

Table of Contents

About

In the land of JavaScript component based development have become a well known methodology to develop a project with. However when it comes to front-end development with PHP, achieving a component based structure is not so easy as it seems. Many of the features which we got in JavaScript to help the component based development process are not available in PHP.

With SSR Components that is about to change! This package will allow PHP developers to use component based development on the front-end with similar features to React and Angular. However this all comes with the benefit of PHP rendering on the server side, hence the abbreviation SSR in the package name.

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • php (version 7.2 or later)
  • composer (version 1.8 or later)

Installation

  1. Make sure your project uses composer
    composer init
  2. Install the package
    composer require lsvh/ssr-components
  3. Ensure you bootstrap your project with the composer autoloader.
    require __DIR__ . '/vendor/autoload.php';

Examples

Have a look at our examples to get a basic understanding of how it all works:

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Luuk van Houdt - @lsvh_org

About

Server Side Rendering (SSR) Components for PHP front-end development

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages