Laravel Community Tools by Tighten

Popular tricks

458 tricks
I'm using a pivot table on the project I'm working with to filter category
dickyeka 9 years ago 9715
Generating A Drop-Down List
vjmani22 12 years ago 9683
4.0
The primary reason why SSL is used is to keep sensitive information sent across the Internet encrypted so that only the intended recipient can understand it. As a web developer one should always provide the SSL for their clients so that they can share their critical information, freely trusting the encryption. This is important because the information you send on the internet is passed from computer to computer to get to the destination server.
jamilaliah... 10 years ago 9644
5.0
logs a sql query with bindings replace by actual values
eugene_san... 12 years ago 9575
I happened across a function in Laravel's Command class. This command is Command::table(); Have you ever wanted to build a table in the same fashion that the 'routes' command does? Well, this function is how to do it! I couldn't find any real documentation on the method so just had a quick tinker with it and figured out it's usage. Here is an example of how to use it. Hopefully this might give the function some exposure, because at the moment, the web is lacking any!
Azirius 12 years ago 9551
I want to use function attempt for login authenticate but i don't want send variable password * If i run code this it will show error "Undefined index: password" and this below vendor\laravel\framework\src\Illuminate\Auth\EloquentUserProvider.php public function validateCredentials(UserInterface $user, array $credentials) { $plain = $credentials['password']; return $this->hasher->check($plain, $user->getAuthPassword()); How can i do that . pls thank you
userhuman 10 years ago 9589
Sub Form, Cascade Form, Form Inside Form
sayasuhend... 12 years ago 9576
If You're raning Laravel 5.4, You May Get An Error While You'are Migrate Or Dealing with the db . The Error is look like : [Illuminate\Database\QueryException] SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table users add unique users_email_unique(email)) [PDOException] SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes
AdeLDev 8 years ago 9561
5.4
This scope function applies a callback to the elements of a given query collection.
jplozano 12 years ago 9556