Download the PHP package laracademy/make without Composer
On this page you can find all versions of the php package laracademy/make. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laracademy/make
More information about laracademy/make
Files in laracademy/make
Package make
Short Description This package provides you with a simplistic `php artisan make:user` command
License MIT
Informations about the package make
Laracademy Generators
Laracademy make:user
Command - provides you with a simplistic artisan command to generate users from the console.
Author(s):
Requirements
- PHP 5.6+
- Laravel 5.2+
Usage
Step 1: Install through Composer
Step 2: Add the Service Provider
The easiest method is to add the following into your config/app.php
file
Step 3: Artisan Command
Now that you have successfully installed the package you can run php artisan
. You should now see an option for make:user
Valid Options
- name
- This is the name you would like to assign to the user, if not supplied the email address will be used.
- password
- This is the password you would like to assign to the user, if not supplied a random 8 characters will be used.
Examples
Generating a random user
Assigning the user's name when generating their account
Assigning the user's password when generating their account
Accessing a different User Model
please note that double backslashes must be used in order to be picked up correctly
License
make-user is open-sourced software licensed under the MIT license
Bug Reporting and Feature Requests
Please add as many details as possible regarding submission of issues and feature requests
Disclaimer
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.