laravel.com
HTTP Routing - Laravel - The PHP Framework For Web Artisans
https://laravel.com/docs/routing
Filesystem / Cloud Storage. Filesystem / Cloud Storage. Accessing The Current Route. All Laravel routes are defined in the. File, which is automatically loaded by the framework. The most basic Laravel routes simply accept a URI and a. Providing a very simple and expressive method of defining routes:. Route: get('foo', function () { return 'Hello World'; });. The Default Routes File. File is loaded by the. And is automatically included in the. You may define as many route parameters as required by your ro...
laravel.com
Eloquent ORM - Laravel - The PHP Framework For Web Artisans
https://laravel.com/docs/5.0/eloquent
Filesystem / Cloud Storage. Filesystem / Cloud Storage. Insert, Update, Delete. Working With Pivot Tables. Converting To Arrays / JSON. The Eloquent ORM included with Laravel provides a beautiful, simple ActiveRecord implementation for working with your database. Each database table has a corresponding Model which is used to interact with that table. Before getting started, be sure to configure a database connection in. To get started, create an Eloquent model. Models typically live in the. Once a model ...
laravel.com
Database: Migrations - Laravel - The PHP Framework For Web Artisans
https://laravel.com/docs/migrations
Renaming / Dropping Tables. Migrations are like version control for your database, allowing your team to easily modify and share the application's database schema. Migrations are typically paired with Laravel's schema builder to easily build your application's database schema. If you have ever had to tell a teammate to manually add a column to their local database schema, you've faced the problem that database migrations solve. To create a migration, use the. Php artisan make:migration create users table.
laravel.tw
Installation - Laravel - 為網頁藝術家創造的 PHP 框架
https://www.laravel.tw/docs
The Laravel framework has a few system requirements. Of course, all of these requirements are satisfied by the Laravel Homestead. Virtual machine, so it's highly recommended that you use Homestead as your local Laravel development environment. However, if you are not using Homestead, you will need to make sure your server meets the following requirements:. PHP = 5.6.4. To manage its dependencies. So, before using Laravel, make sure you have Composer installed on your machine. Make sure to place the.
laravel.tw
Eloquent: Getting Started - Laravel - 為網頁藝術家創造的 PHP 框架
https://www.laravel.tw/docs/eloquent
Retrieving Single Models / Aggregates. Inserting and Updating Models. Querying Soft Deleted Models. The Eloquent ORM included with Laravel provides a beautiful, simple ActiveRecord implementation for working with your database. Each database table has a corresponding Model which is used to interact with that table. Models allow you to query for data in your tables, as well as insert new records into the table. Before getting started, be sure to configure a database connection in. Model By convention, the...
laravel.com
Eloquent: Getting Started - Laravel - The PHP Framework For Web Artisans
https://laravel.com/docs/eloquent
Retrieving Single Models / Aggregates. Inserting and Updating Models. Querying Soft Deleted Models. The Eloquent ORM included with Laravel provides a beautiful, simple ActiveRecord implementation for working with your database. Each database table has a corresponding Model which is used to interact with that table. Models allow you to query for data in your tables, as well as insert new records into the table. Before getting started, be sure to configure a database connection in. Model By convention, the...
laravel.com
Mail - Laravel - The PHP Framework For Web Artisans
https://laravel.com/docs/5.0/mail
Filesystem / Cloud Storage. Filesystem / Cloud Storage. Mail and Local Development. Laravel provides a clean, simple API over the popular SwiftMailer. Library. The mail configuration file is. And contains options allowing you to change your SMTP host, port, and credentials, as well as set a global. Address for all messages delivered by the library. You may use any SMTP server you wish. If you wish to use the PHP. Function to send mail, you may change the. In the configuration file. A. All e-mails will be...
laravel.com
Queues - Laravel - The PHP Framework For Web Artisans
https://laravel.com/docs/queues
Connections Vs. Queues. Customizing The Queue and Connection. Running The Queue Worker. Queue Workers and Deployment. Job Expirations and Timeouts. Dealing With Failed Jobs. Cleaning Up After Failed Jobs. The queue configuration file is stored in. In this file you will find connection configurations for each of the queue drivers that are included with the framework, which includes a database, Beanstalkd. And synchronous (for local use) driver. A. Connections Vs. Queues. Configuration file, there is a.
laravel.com
Schema Builder - Laravel - The PHP Framework For Web Artisans
https://laravel.com/docs/4.2/schema
Creating and Dropping Tables. Dropping Timestamps and Soft Deletes. Class provides a database agnostic way of manipulating tables. It works well with all of the databases supported by Laravel, and has a unified API across all of these systems. Creating and Dropping Tables. To create a new database table, the. Schema: create('users', function($table) { $table- increments('id'); });. The first argument passed to the. Method is the name of the table, and the second is a. Which will receive a. DECIMAL equiva...
SOCIAL ENGAGEMENT