laravel - Sivu 3

Laravel CSRF -suojaus
CSRF: n koko muoto on sivustojen välisten pyyntöjen väärentäminen. Se on eräänlainen online-hyökkäys, jossa hyökkääjä lähettää pyyntöjä valtuutettuna ...
How to Add a New Column to Existing Table in a Migration
Problem I have been having nightmares not being able to add a new column to my users table. Can't seem to figure it out. I tried to edit the migration...
Laravel - Routeresource vs Routecontroller
Problem I read the documentation on the Laravel website, Stack Overflow, and Google however I am not sure that I understand the difference between Rou...
Generating a HTML Link to a Named Route
Problem You want to generate a link to one of your routes. Solution Use the HTML::linkRoute() method. The only required argument is the first one, the...
Changing Your Authentication Model
Problem You need the change the authentication model from the default User. Your application is using namespaces or you want to use a differently name...
Todennustaulukon muuttaminen
Ongelma Haluat, että sovelluksesi käyttäjät ovat eri taulukossa kuin käyttäjät. Sovelluksesi käyttää tietokantatodennusta ja sen on käytettävä eri tau...
Lomakkeen syöttökentän luominen
Ongelma Haluat luoda lomakkeen syöttökentän. HTML-hakemiston kirjoittamisen sijaan haluat käyttää Laravelin Form-julkisivua. Ratkaisu Käytä Lomake :: ...
Tiedoston olemassaolon määrittäminen
Ongelma Haluat nähdä, onko tiedosto olemassa. Tiedät, että voit käyttää PHP: tä file_exists () mutta haluavat tehdä sen Laravel-tavalla. Ratkaisu Käyt...
Creating a Nginx VirtualHost
Problem The default Nginx web page shows for your project. You have Nginx installed and have created a Laravel project, but the web page returned by y...