Git Product home page Git Product logo

slim-crud's Introduction

Slim CRUD Template

This Slim CRUD Template is a fork of the slim/slim-skeleton application on steroids.

โš  Disclaimer: This application only supports PHP<=5.5 โš 

Check out the routes.php for a basic RESTful architecture pattern example to kickstart your API development.

This application utilizes the Eloquent ORM for basic CRUD operations and PSR-4 autoloading standard for the autoloading classes inside the classes folder.

Use this skeleton application to quickly setup and start working on a new Slim Framework 3 application. This application uses the latest Slim 3 with the PHP-View template renderer. It also uses the Monolog logger.

This skeleton application was built for Composer. This makes setting up a new Slim Framework application quick and easy.

Install the Application

You need Git and Composer to install this application.

A Vagrantfile is also included using Scotchbox as a preconfigured Vagrant Box. Click the links for more information about Vagrant and Scotchbox. I have also made a copy-paste cheat-sheet for setting easily setting up Scotchbox.

Clone or download this repository.

$ git clone https://github.com/jjjjcccjjf/slim-crud.git

If you have Vagrant installed cd to the project directory and run vagrant up

$ cd my-project
$ vagrant up

Assuming composer is globally installed, run composer install in your project directory

$ composer install

If you don't have Vagrant installed and are using one of the *AMPP variants, your base URL will probably be

http://localhost/slim-crud-master/public

I haven't had a workaround for this, but I will try to make one in the future.


Dev roadmap ๐Ÿ›ฐ

  • unit tests ๐Ÿ‘ˆ up next!
  • upload
  • firebase template ๐Ÿ‘ˆ up next!
  • authentication
    • oAuth
    • basic
    • digest
  • localhost bug workaround (XAMPP)
  • status codes
  • sanitize all inputs
  • add validation for uploads
  • migrations
  • set header location of newly added record
  • tag builds ๐Ÿ‘ˆ up next!

Feel free to contribute!


Just tweet me if you need help @jjjjcccjjf. โ˜บ

slim-crud's People

Contributors

jjjjcccjjf avatar

Watchers

 avatar

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.