This is a simple web server for fetching email and showing them based on PHP and some JavaScript.
Before anything you need php-pgsql
package installed.
For creating specific use in postgres sql for TMail:
CREATE USER TMail WITH PASSWORD '1234';
CREATE DATABASE TMail;
GRANT ALL PRIVILEGES ON DATABASE TMail TO TMail;
and run above query with following command
sudo -s postgres psql -f file.sql
Read the mongoDB manual for laravel from here after installation, use following commands for creating mongo db and user for our TMail application.
use tmail
db.createUser({user: "tmail", pwd: "1234", roles: [{role: "userAdmin", db: "tmail"}]})
For using file upload in laravel you can
store your file in /storage/app
but if you
want to access it later you must store it in
/storage/app/public
and create symbolic link
to it from /public/
:
ln -s ../storage/app/public storage
$store = storage_path('app/public/...');
$refrence = asset('storage/...');
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, 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 authentication, routing, sessions, queueing, and caching.
Laravel is accessible, yet powerful, providing tools needed for large, robust applications. A superb inversion of control container, expressive migration system, and tightly integrated unit testing support give you the tools you need to build any application with which you are tasked.
Documentation for the framework can be found on the Laravel website.
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.
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.
The Laravel framework is open-sourced software licensed under the MIT license.