(19-Aug-2023) Built with Laravel 10.
MacBook-Air:crm-2-laravel-10 kel$ php artisan tinker
Psy Shell v0.11.20 (PHP 8.2.4 — cli) by Justin Hileman
> $client = \App\Models\Admin\Client::factory()->create();
= App\Models\Admin\Client {#7263
users_id: 1,
name: "Dooley, Rosenbaum and Zemlak",
updated_at: "2023-08-20 17:57:12",
created_at: "2023-08-20 17:57:12",
id: 1,
}
- PHP and MySQL
- Yarn (can be installed with
npm i -g yarn
) - https://laravel.com/docs/10.x/installation
- https://laravel.com/docs/10.x/mix#main-content
Create our environment file.
cp .env.example .env
Install our app dependencies.
composer i
Generate app key.
# php artisan key:generate
composer run post-create-project-cmd
Run migrations with seeders.
php artisan migrate --seed
Install javascript required packages.
yarn && yarn build
# Do `yarn dev` during development to see live changes
# of your blade and js and css/scss dependencies with vite.config.js
- https://github.com/kkamara/laravel-makefile
- https://laravel.com/docs/10.x/sail#main-content
php artisan serve --port 3000
php artisan route:list -vvv
# example output:
...
POST api/user ............................ login › Api\UserController@login
GET|HEAD api/user/authorize .................. Api\UserController@authorizeUser
POST api/user/register ................... Api\UserController@register
...
php artisan test --testsuite=Feature
Admin views theme for this crm-2-laravel-10 app: Modernize – Free Bootstrap 5 HTML5 Admin Dashboard Template.
See Laravel 9 food nutrition facts search web app.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.