Giter Club home page Giter Club logo

pair_boilerplate's Introduction

Pair boilerplate

a skeleton project to use Pair PHP Framework easily

Latest Stable Version Total Downloads Latest Unstable Version License composer.lock

This base project allows a fast start to develop small to medium PHP applications like CRM or web-portals. With the addition of a few files more, here provided as sample, and an initial database structure, your web project will be up and running in a breeze.

Features

This basic project manages users authentication, creates new custom ActiveRecord classes and CRUD modules starting from a DB table by a magic module named developer, all thru a friendly route logic. Also it acts as REST API server.

Quick start

The Installer is used to configure the basic data of your web project. It starts automatically when the URL for the root folder is first launched, creates a custom configuration file and auto-deletes after checking that everything is OK and that the installation was successful.

After the installation is completed, all the fields declared in the installer can subsequently be customized by modifying the configuration file except those related to the user created. For the latter, it is sufficient to modify it via the Users module.

Create a new project

To start a web project with the Pair framework, this sequence is the suggested one:

1. Install the pair_boilerplate

Use Composer to copy php files to a folder into your web server documents path:

composer create-project viames/pair_boilerplate my_project_name

2. Run it by the browser

Launch the browser to the base address of the pair_boilerplate project to start the Installer.

http://localhost/my_project_name

The project is ready to accept login and will let you manage users.

3. Expand it according to your needs

Create additional InnoDB tables for database of your project and set the foreign keys properly, these are useful for getting the most out of ActiveRecord. Then start the built-in Developer module, which will allow you to create a complete CRUD and class module for each of your custom tables.

4. Customize the template

Your project deserves a unique aspect, so proceed to customize the existing template or install a new template plugin via the built-in Template module.


Contributing

If you would like to contribute to this project, please feel free to submit a pull request.

License

MIT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.