🚀
Install

composer create-project tomatophp/tomato
after installation, you can get an error because database connection, it's normal just copy .env
cp .env.example .env
create a new database and add your database credentials to .env file
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=tomato-kit
DB_USERNAME=root
DB_PASSWORD=26111995
change the main URL in .env file
APP_URL=https://tomato-kit.test
APP_HOST=tomato-kit.test
and generate a key
php artisan key:generate
php artisan config:cache
and run the migration
php artisan migrate
now your app is ready to login
admin/login
enjoy it 🍅
if you are using docker as your development env you can up the project in a very easy way by just using this command
bin/serve
The
bin/serve
script is for installing the dependencies and setting up the local environment.
The only requirement beforehand is that Docker/Docker Desktop is installed.you can run your socket server just by running this command without any config
php artisan websocket:serve
to install this package you can use this command line
php artisan tomato:plugins
Last modified 3mo ago