Laravel 3.2 Documentation
generate and run migrations using the "Artisan" command-line utility. Once another member makes schema changes you can update your local copy from the repository and run migrations. Now you're up to date, too is an important part of Laravel. Laravel itself sports hundreds of tests to help ensure that new changes don't unexpectedly break anything. This is one of the reasons why Laravel is widely considered to This keeps your code D.R.Y. and allows those who use your bundle to change it's root URI without breaking your routes! Nice, right? Of course, you can use the (:bundle) place-holder for all of your routes0 码力 | 139 页 | 1.13 MB | 1 年前3Laravel 5.0 Documentation
auto-loading standards (PSR-4) throughout the application. First, let's examine some of the major changes: The old app/models directory has been entirely removed. Instead, all of your code lives directly your project: dd([1, 2, 3]); The full change list for this release by running the php artisan changes command from a 4.2 installation, or by viewing the Simple Controller Request Validation New Generators VarDumper Laravel 4.2 change file on Github. These notes only cover the major enhancements and changes for the release. Note: During the 4.2 release cycle, many small bug fixes and enhancements were0 码力 | 242 页 | 1.44 MB | 1 年前3The Laravel Handbook
so you can print it in the Blade template: 21 Change the route parameter, the name in the HTML changes: 5. Adding a database We’re using Laravel in a very basic form, without any database. Now I want to use migrations to create and modify the database schema Migrations are excellent for handling changes to the database, so you can apply them, and roll back in case you need to restore to a previous change in a migration using 26 php artisan migrate:rollback and this rolls back the latest changes you did to the database. Find more about migrations on the official migrations guide. 7. Using0 码力 | 111 页 | 14.25 MB | 1 年前3Learning Laravel
add doctrine/dbal dependency to project's composer.json file and run composer update to reflect changes. //Droping Column public function up() { Schema::table('users', function (Blueprint $table) method correctly reverses your operations is critical to being able to rollback database schema changes. An example migration file may look like this: 'testuser', 'age' => 18] String methods camel_case() This method changes a string to camel case camel_case('hello_world'); result HelloWorld Path mehods Path methods0 码力 | 216 页 | 1.58 MB | 1 年前3《Slides Dev Web》 11. HTTPS
d’utiliser HTTP • TLS toujours utilisé avec HTTP2 et HTTP3 • HTTP2 et 3 minimisent et accélèrent les échanges • Certificats gratuits • Mise en place simplifiée Ressources • Security Party 23.10.20097 • SebSauvage80 码力 | 6 页 | 109.17 KB | 1 年前3
共 5 条
- 1