Skip to content

Laravel PHP Framework experiment using TutsPlus tutorial.

Notifications You must be signed in to change notification settings

sarn1/example-laravel

Repository files navigation

Build Status Total Downloads Latest Stable Version License

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as:

Laravel is accessible, yet powerful, providing tools needed for large, robust applications. A superb combination of simplicity, elegance, and innovation give you tools you need to build any application with which you are tasked.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of any modern web application framework. The Laravel documentation is thorough, complete, and makes it a breeze to get started learning the framework.

If you're not in the mood to read, Laracasts contains over 900 video tutorials on a range of topics including Laravel, modern PHP, unit testing, JavaScript, and more. Boost the skill level of yourself and your entire team by digging into our comprehensive video library.

Laravel Sponsors

We would like to extend our thanks to the following sponsors for helping fund on-going Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Patreon page:

Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell at [email protected]. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.

Other Notes

Let's Begin

Add Laravel into your project.

composer create-project laravel/laravel .

Serve your website using artisan. Open your browser and goto http://localhost.com:8080, learn more here.

php artisan serve —port 8080

Have An Old Version of PHP?

You may have an old version of Laravel, if you do, you probably need to update your PHP engine. You can check your version of PHP by running

php -v

and for Laravel:

php artisan --version

To update PHP run the following lines below. Learn more.

curl -s http://php-osx.liip.ch/install.sh | bash -s 7.1

Then you have to update the bash profile so that when you run things from the terminal that need the PHP engine, it would run the updated PHP version. You'll do this by running this command also in terminal.

echo ‘export PATH=/usr/local/php5/bin:$PATH’ >>~/.bash_profile

If you check your php version, you'll see that it still shows you have an old version of PHP. So what you need to do is quit out of terminal and reopen it. Then when you lookup your php version, the changes will then be reflected.

MailTrap.io

Laravel has built in integration with MailTrap.io for testing emails. This is seen in the .env file.

MailTrap

You can have Laravel generate a Mailable class for you so that you can extend it. When you run the command below, it will create a Contact class that extends the Laravel Mailable class under the app > mail > contact.php in your directory.

php artisan make:mail Contact

Side Notes

About

Laravel PHP Framework experiment using TutsPlus tutorial.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages