Giter Club home page Giter Club logo

minphp's People

Contributors

clphillips avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

minphp's Issues

Record::buildFields() returns prematurely

Since Record::buildFields() also builds keys, it should ensure that keys is also empty before returning.

Currently it's impossible to alter just an index, without also altering fields.

$record->setKey(array('my_index'), 'index', null, false)
    ->alter('my_table'); 

Should produce:

ALERT TABLE `my_table` DROP INDEX `my_index`

Actual result:

ALERT TABLE `my_table` 

Input component: Add if_exists

Currently validation attribute 'if_set' evaluates that the given field is isset(). However, in some cases we may wish to only evaluate the rule if the field exists (via array_key_exists).

.gitattributes

Use .gitattributes to ignore .git files on export:

.gitattributes export-ignore
.gitignore export-ignore

That way we can export via archive cleanly:

git archive master -o latest.zip

Use .gitattributes to force diff language:

*.php diff=php

how to use the new minphp 1.0.0

i need to build a new project with minphp v1.0.0 but i cannot install it via composer ... a simple step how to install it will be great . thanks

vendor\autoload.php not exist

today i have diceded to work my new project with the minphp 1.0 , i have found
the minphp 1.0 search for vendor\autoload.php in lib\autoload.php . it return a error when the file not exist

Style with bootstrap

Remove default styling, use bootstrap.

<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">

Increase requirement to PHP 5.4

Since PHP 5.3 is EOL, and 5.4 will be EOL in September, 2015, it should be safe to make 5.4 the base requirement.

5.4 adds traits, array shortcuts, and removes stupid crap like register_globals.

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.