Laravel 3.2 DocumentationPHP frameworks. More experienced users will appreciate the opportunity to modularize their code in ways that are not possible with other frameworks. Laravel's flexibility will allow your organization to develop code that is both concise and easily read. What Makes Laravel Different? There are many ways in which Laravel differentiates itself from other frameworks. Here are a few examples that we think mean that you can't call and configure these systems manually if you prefer. These are just a few ways in which Laravel differentiates itself from other PHP frameworks. All of these features and many0 码力 | 139 页 | 1.13 MB | 1 年前3
Laravel 5.0 Documentation
if you are using the Eloquent authentication driver, update your User class with the following three methods: public function getRememberToken() { return $this->remember_token; } public function updateRememberToken(UserInterface $user, $token); The Illuminate\Auth\UserInterface also received the three new methods described in the "Upgrade Path". To upgrade your application to Laravel 4.1, change your can run as many Laravel installations as you wish on a single Homestead environment. There are two ways to do this: First, you may simply add the sites to your Homestead.yaml file and then run vagrant0 码力 | 242 页 | 1.44 MB | 1 年前3
Learning Laravelexisting third-party packages. Main Features MVC Laravel uses the MVC model, therefore there are three core-parts of the framework which work https://riptutorial.com/ 2 together: models, views and controllers find a variables corresponding value, and collections got you covered. In the example below we got three different locales in an array with a corresponding calling code assigned. We want to be able to provide $sum = collect($books)->sum('price'); // 60 Sorting a collection There are a several different ways of sorting a collection. https://riptutorial.com/ 33 Sort() The sort method sorts the collection:0 码力 | 216 页 | 1.58 MB | 1 年前3
The Laravel Handbook
with Laravel, you need to set up your PHP environment on your computer. You can do this in various ways. Before going on, remove any older PHP installations you might have done in the past. How exactly the application on a real server, on the Internet, so people can use it. There are many different ways to deploy a Laravel application. Probably the best one is using Laravel Forge, the official deployment asking for input, or let them choose between different options, you can format output in different ways… Commands are great to perform one-off tasks, maintenance, and much more. Inside a command you have0 码力 | 111 页 | 14.25 MB | 1 年前3
《Slides Dev Web》 10. Rwd24https://csswizardry.com/2013/01/front-end-performance-for-web-designers-and-front-end-developers/ 25https://24ways.org/2014/making-sites-more-responsive-responsibly/ 6 ∗ Workshop Pierre Spring26 26.02.13 Pratique0 码力 | 7 页 | 76.36 KB | 1 年前3
《Slides Dev Web》 08 . RSSrss 2https://www.feedforall.com/100-uses-of-rss-feeds.htm 3https://www.makeuseof.com/tag/14-other-ways-to-use-rss-feeds/ 4https://en.wikipedia.org/wiki/Comparison_of_feed_aggregators 2 Générer un flux0 码力 | 7 页 | 52.98 KB | 1 年前3
Laravel 5.3 中文文档single App\User instance... $user = factory(App\User::class)->create(); // Create three App\User instances... $users = factory(App\User::class, 3)->create(); 本文档由 Laravel 学院(LaravelAcademy 数组进行比较。该方法会返回存在于原 来集合而不存在于给定集合的键值对: $collection = collect([ 'one' => 10, 'two' => 20, 'three' => 30, 'four' => 40, 'five' => 50, ]); $diff = $collection->diffKeys([ 'two' 'four' => 4, 'six' => 6, 'eight' => 8, ]); $diff->all(); // ['one' => 10, 'three' => 30, 'five' => 50] each() each 方法迭代集合中的数据项并传递每个数据项到给定回调: 本文档由 Laravel 学院(LaravelAcademy.org)提供0 码力 | 691 页 | 9.37 MB | 1 年前3
Laravel 6.0 中文文档=> 20, 'three' => 30, 'four' => 40, 'five' => 50, ]); $diff = $collection->diffKeys([ 'two' => 2, 'four' => 4, 'six' => 6, 'eight' => 8, ]); $diff->all(); // ['one' => 10, 'three' => 30, 'five' use Illuminate\Support\Arr; $array = ['one', 'two', 'three', 'four']; $array = Arr::prepend($array, 'zero'); // ['zero', 'one', 'two', 'three', 'four'] 如果需要的话还可以指定用于该值的键: use Illuminate\Support\Arr; 'JavaScript'], ['one' => 1, 'two' => 2, 'three' => 3], ]; $sorted = Arr::sortRecursive($array); /* [ ['JavaScript', 'PHP', 'Ruby'], ['one' => 1, 'three' => 3, 'two' => 2], ['Li', 'Roman', 'Taylor']0 码力 | 1442 页 | 14.66 MB | 1 年前3
Laravel 5.6 中文文档Laravel 学院致力于提供优质 Laravel 中文学习资源:http://laravelacademy.org 245 'two' => 20, 'three' => 30, 'four' => 40, 'five' => 50, ]); $diff = $collection->diffKeys([ 'two' => 2, 'four' => 4, 'six' => 6, 'eight' => 8, ]); $diff->all(); // ['one' => 10, 'three' => 30, 'five' => 50] each() each 方法迭代集合中的数据项并传递每个数据项到给定回调: $collection = $collection->each(function array_prepend 函数将数据项推入数组开头: $array = ['one', 'two', 'three', 'four']; $array = array_prepend($array, 'zero'); // $array: ['zero', 'one', 'two', 'three', 'four'] 如果需要的话还可以指定用于该值的键: $array = ['price'0 码力 | 377 页 | 14.56 MB | 1 年前3
Laravel 5.2 中文文档array_prepend 函数将数据项推入数组开头: $array = ['one', 'two', 'three', 'four']; $array = array_prepend($array, 'zero'); // $array: ['zero', 'one', 'two', 'three', 'four'] array_pull() array_pull 方法从数组中返回并移除键值对:0 码力 | 377 页 | 4.56 MB | 1 年前3
共 10 条
- 1













