laravelbook / laravel4-powerpack Goto Github PK
View Code? Open in Web Editor NEWBrings back HTML, Form and Str helper classes to Laravel 4!
Home Page: http://laravelbook.com/
Brings back HTML, Form and Str helper classes to Laravel 4!
Home Page: http://laravelbook.com/
I'm currently receiving this error when using this in combination with the L4 Generators Plugin.
{"error":{"type":"Symfony\Component\Debug\Exception\FatalErrorException","message":"Error: Call to undefined method LaravelBook\Laravel4Powerpack\Str::studly() in W:\xampp\htdocs\terribletrumps\bootstrap\compiled.php line 5299","file":"W:\xampp\htdocs\terribletrumps\bootstrap\compiled.php","line":5299}}
For some reason, all the <, > and quote characters are being rendered to the page using their HTML entities. Is there a way to turn this off?
HTML::to('/', 'Home') becomes...
<a href="http://site.dev">Home</a>
In FormBuilder.php :
/**
* Open up a new HTML form.
*
* @param array $options
* @return string
*/
public function open(array $options = array())
{
I do not understand! Follow the manual and it did not work!
My form open line is currently:
{{ Form::open('login', 'POST') }}
But it's returning this error:
ErrorException: Catchable Fatal Error: Argument 1 passed to Illuminate\Html\FormBuilder::open() must be of the type array, string given, called in /Users/jack/Projects/x/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php on line 138 and defined in /Users/jack/Projects/x/vendor/laravel/framework/src/Illuminate/Html/FormBuilder.php line 77
Everything in the docs seems to be pointing to my Form::open line being correct, but I'm getting this. Ideas?
Trying to use powerpack with Laravel 4 (hoping for drop in replacement) but it seems I am going to have to refactor all my forms to change calls as:
{{ Form::open() }}
to
{{{ Form::open() }}}
While it seems a small issue, with large amount of forms I have to refactor, this is a tedious process.
There seems to be no way of creating a disabled input.
Why is there date picker form element missing, such that were in L3 natively?
Hi Laravel book
Just noticed that Laravel added an Str Alias into core.
'Str' => 'Illuminate\Support\Str',
Just wonder if this can lead to problems using:
'Str' => 'LaravelBook\Laravel4Powerpack\Facades\StrFacade',
I like this powerpack very much! Helps me port L3 to L4, great work!
// johannes
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.