Giter VIP home page Giter VIP logo

barebone's Introduction

Barebone

MVC framework for building PHP web applications

Installation

composer create-project barebone/barebone --no-dev [YOUR_PROJECT_NAME]

At a glance

Configuration

Setup your application details and database connection /app/config.json

Models

Define your models as needed in /app/models

Controllers

Write your controller actions in /app/controllers

Libraries

Anything else under the namespace App can be created in /app/lib

Views

Add as many views as referenced in your controllers in /app/views

Routing

Connect your controller "actions" to URLs in /app/routes.php

Logging

You can write from models and controllers to a log in /app/logs

Database

You can manage your database schema using migrations in /app/database

Frontend Assets

Get gulp with "npm install" in /app/frontend, comes preconfigured for SASS and JS

Javascript

Develop your frontend code /app/frontend/js supported by Browserify and Babel.

Stylesheets

By default SASS renders to CSS from /app/frontend/sass, but LESS is also available.

Hosting

Upload everything to Server with at least PHP 5.5 and point your virtual host to /public

Contributing

Any PR is welcome. If you find issues, please report.

https://github.com/barebone-php/barebone-core

barebone's People

Contributors

kjbbtz avatar m3nt0r avatar

Stargazers

 avatar Manuel Ochoa avatar

Watchers

 avatar James Cloos avatar

Forkers

dashiwa

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.