Git Product home page Git Product logo

docs's People

Contributors

adamgoose avatar anahkiasen avatar bobbybouwmann avatar davidangel avatar elliottmb avatar erayera avatar israelortuno avatar jasonmccreary avatar jordypereira avatar jwheat avatar misog avatar mlantz avatar ngtech avatar redgluten avatar robinmalfait avatar rogermui avatar sebdesign avatar tedslittlerobot avatar tshafer 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  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  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  avatar  avatar  avatar  avatar  avatar

docs's Issues

Example code's comments are wrong

https://laravelcollective.com/docs/5.2/html#form-model-accessors
The following parts' comments are both wrong. The funciton are used to "get the date_of_birth" instead of "Get the user's first name."

`
class User extends Model
{
/**
* Get the user's first name.
*
* @param string $value
* @return string
*/
public function getDateOfBirthAttribute($value)
{
return Carbon::parse($value)->format('m/d/Y');
}

/**
 * Get the user's first name for forms.
 *
 * @param  string  $value
 * @return string
 */
public function formDateOfBirthAttribute($value)
{
    return Carbon::parse($value)->format('Y-m-d');
}

}
`

Materialize form with laravel

How i can use this submit button with laravel using form.

Materializecss: http://materializecss.com/buttons.html

 <button class="btn waves-effect waves-light" type="submit" name="action">Submit
    <i class="material-icons right">send</i>
  </button>

Form::submit('Submit',array('class'=>'btn waves-effect waves-light');
 <i class="material-icons right">send</i>

This not working.

Mention the fact that all HTML/Form helper functions return HtmlString objects?

This isn't documented anywhere, but the fact that all Form and HTML helper functions return HtmlString objects means that they can be safely used with normal escaped Blade template tags. ie.

{{ Form::open() }}

works just as fine as

{!! Form::open() !!}

This is probably a safety feature, and there is a minor performance penalty for the former, but it might be worth mentioning anyway?

Inconsistency in form model accessors documentation

The documentation regarding form model accessors (https://laravelcollective.com/docs/5.2/html#form-model-accessors) does not match the implementation in the code. Currently, the getModelValueAttribute() method in FormBuilder.php, looks for a model method called getFormValue() whereas the documentation says to create a model method like formMyAttribute(). Does the documentation need to be updated to match the code or vice versa?

For what it's worth, I think I like the format suggested by the docs better than what the code currently implements. Having a single getFormValue() method requires a bunch of conditionals to figure out which attribute to return; using multiple methods seems cleaner. Then again, once could implement a number of protected methods called by getFormValue()...

I can submit a PR with either fix. And thanks for the work you've put into this package, it's been a pleasure to work with.

SSH Connection issue - Class SSH2 not found

Hi, I'm just testing on the SSH connection follow by the step inside, but when I reach the usage and try to run SSH2::into('staging')->put($localPath.$filename, $remotePath);, it return me the error of "Class 'App\Console\Commands\SSH2' not found". Not sure which step I did wrong, but i follow exactly the step given inside the documentation.

Form Model binding - could use more details around options

Hi, I'm not sure if this is the right place to request this, but the Section #Form Model Binding could use some examples/clarifications around other options -ie how do we specify the class when this method of creating a form is used.

When it comes to the form element, there isn't anything about assigning a class anywhere in the docs.
There's a mention of it under #Labels, as the 3rd parameter. Can it be used as the 3rd parameter in the form model binding?

Any clarification you can provide would be helpful - I tried figuring it out from the source code, but wasn't even sure where to start - Attributes maybe?

  • Jack

Html documentation for versions 5.5 and 5.6

Currently there are no specific docs for versions 5.5 and 5.6 of the html package. They only go up to 5.4.

I'm not completely aware of all the changes between those (if any), but details like package auto-discovery from Laravel 5.5 and so could be better documented.

Is this something desirable? I'd be glad to work on it.

Laravel 5.4 documentation

Hi,

Would it be possible to create a branch for the Laravel 5.4 documentation? I'm willing to go through the documentation and update stuff where needed, but I need a branch for that :)

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.