Giter VIP home page Giter VIP logo

php-slim's Introduction

Slim Framework 3 Perfumado

Skeleton based on Slim 3.

Install the Application

Run this command from the directory in which you want to install your new Slim Framework application.

php composer.phar create-project lindalberto/php-slim [my-app-name]

Replace [my-app-name] with the desired directory name for your new application. You'll want to:

  • Point your virtual host document root to your new application's public/ directory.
  • Ensure logs/ is web writeable.

To run the application in development, you can run these commands

cd [my-app-name]
php composer.phar start

Run this command in the application directory to run the test suite

php composer.phar test

That's it! Now go build something cool.

###Estruturas criadas

Main
    * Project - Remove o que estava na index e agrupa numa classe unica, tirando necessidade do arquivo settings, dependencies e routes.
        No run é possível adicionar tambem middlewares.
    * Rest - Classe abtrata para ser utilizada no controle dos endpoints, com o app injetado.
    * Routes - Utiliza essa classe de forma injetável para informar as rotas. Cada endpoint rest pode ter seu proprio.  
Rest
    ** alocação das classes de controle    
Service
    ** alocação das classes de serviço

php-slim's People

Contributors

lindalberto avatar lindalberto-rufino-rt7 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.