Git Product home page Git Product logo

winphp's Introduction

Code Climate Build Status Scrutinizer Code Quality

Framework em PHP baseado em MVC

  • Responsável por incluir as páginas de acordo com a URL e gerenciar a estrutura MVC.
  • Assim você não precisa se preocupar com a estrutura de URL, páginas, títulos, etc...
  • Documentação
  • Wiki

Funcionalidades

  • Request/Response;
  • Rotas;
  • Templates (Views);
  • Título de Página;
  • Envio de Emails;
  • Manipulador de Arquivos;
  • Utilitários (String, Date, Form, etc);
  • Manipulador de Variáveis Globais (Input, Server, etc);
  • Alertas;
  • Conexão com Banco de Dados;
  • Repository;

Request/Response

Camadas

Requisitos

| PHP 7.4 +

winphp's People

Contributors

wandbferreira avatar

Stargazers

 avatar Thiago avatar

Watchers

James Cloos avatar Thiago avatar

Forkers

ailtonmacedo

winphp's Issues

adaptar logo .svg

retirar a margin-right da logo .svg
para que a imagem fique quadrada

create ORM

BASE

  • one()
  • list()
  • save()
  • delete()
  • count();
  • destroy();

SORT TRAIT

  • sortAsc('Id');
  • sortDesc('Id', 1);

FILTER TRAIT

  • filterBy('Id', 10);
  • filterBy('Id > ?', 10);
  • filterBy('Id BETWEEN ? AND ?', 10, 20);
  • filterBy('Name LIKE %?% ', 'John')
  • filterBy('Name IS NOT NULL')
  • find();

RAW TRAIT

  • rawQuery('SELECT * FROM ... ')->run();
  • rawQuery('SELECT * FROM ... ')->one();
  • rawQuery('SELECT * FROM ... ')->list();

PAGINATION TRAIT

  • paginate($pageSize, $pageNumber)
  • paginate(10, Input::get('p'));

singular vs plural namespace

Zoo/
Zoo/Zoo.php
Zoo/Plant/Plant.php
Zoo/Plant/Plants/Tree.php
Zoo/Plant/Plants/Flour.php
Zoo/Plant/Sheet.php
Zoo/Plant/Root.php
Zoo/Animal
Zoo/Animal/Hand.php
Zoo/Animal/Hands/5fingers.php
Zoo/Animal/Hand/Finger.php
Zoo/Animal/Hand/Fingers/LittleFinger.php
Zoo/Animal/Foot.php
Zoo/Animal/Head.php
Zoo/Animal/Animal.php
Zoo/Animal/Sound.php
Zoo/Animal/Animals/
Zoo/Animal/Animals/Human.php
Zoo/Animal/Animals/Cat.php
Zoo/Animal/Animals/Dog.php
Zoo/Animal/Animals/Dogs/Labrador.php
Zoo/Animal/Animals/Monkey.php
Zoo/Animal/Animals/Monkeys/Gorila.php
Zoo/Animal/Animals/Monkeys/Chipanzee.php
Zoo/User/User.php
Zoo/User/Phone.php
Zoo/User/Users/Visitant.php
Zoo/User/Users/Employee.php
Zoo/Animal/Sound/Sound.php
Zoo/Animal/Sound/SounderInterface.php
Zoo/Animal/Sound/Sounds/Talk.php
Zoo/Animal/Sound/Sounds/Miau.php
Zoo/Animal/Sound/Sounds/Au.php
Zoo/Animal/Sound/Sounds/NoSound.php
Zoo/Animal/Fly/FlyerInterface.php
Zoo/Animal/Fly/Fly.php
Zoo/Animal/Fly/Flies/
Zoo/Animal/Fly/Flies/DefaultFly.php
Zoo/Animal/Fly/Flies/SuperFly.php
Zoo/Animal/Fly/Flies/NoFly.php

new folder names


app/ (code)

  • Common/
    • Utils/
      • Str.php
      • Array.php
    • Template.php
  • Controllers/
  • Views/
  • Blocks/
  • Request/
  • Response/
  • InfraServices/
    • Mailer.php
    • Recaptcha.php
  • Services/
  • Models/
  • Repositories/
    • Filesystem
    • Session
    • Database/
      • Orm/
      • Sql/
  • config/ (configurações)
    • i18n/
    • routes.php
  • templates/
    • emails/
    • layouts/
    • default.phtml
    • shared/
      • head.phtml
      • alerts.phtml
    • index.phtml

public (static)

  • js
  • css
  • ...

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.