This is a basic Laravel authentication system that allows administrators to log in, with CRUD functionality for two menu items: Companies and Employees. Companies have fields for Name, Email, Logo (minimum 100x100), and Website, while Employees have fields for First Name, Last Name, Company, Email, and Phone.
This project uses Laravel's built-in validation, pagination, and resource controllers, as well as database migrations and seeds to set up the necessary schemas and create the first admin user. It also implements multi-language support using Laravel's language files and middleware.
To get started with this project, follow these steps:
Clone the repository to your local machine.
Create a new database for the project.
Copy the .env.example file to .env and update the database settings.
Run php artisan migrate to run the database migrations.
Run php artisan db:seed to create the first admin user.
Run php artisan serve to start the server and access the application in your browser.
Run npm run dev
Once the application is set up, you can log in as an administrator with the email [email protected] and the password password. From there, you can access the Companies and Employees sections to perform CRUD operations on those resources.
The application also supports multi-language support, with English and Arabic translations available. To switch languages, click on the appropriate language link in the navigation bar.
This project was created by Mohamed Sherif. You can contact me at [email protected] if you have any questions or feedback.
Thanks for checking out this Laravel authentication system with CRUD functionality for Companies and Employees. We hope it provides a helpful starting point for your web application development. If you have any questions or feedback, feel free to reach out.
Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.
You may also try the Laravel Bootcamp, where you will be guided through building a modern Laravel application from scratch.
If you don't feel like reading, Laracasts can help. Laracasts contains over 2000 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.
We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Patreon page.
- Vehikl
- Tighten Co.
- Kirschbaum Development Group
- 64 Robots
- Cubet Techno Labs
- Cyber-Duck
- Many
- Webdock, Fast VPS Hosting
- DevSquad
- Curotec
- OP.GG
- WebReinvent
- Lendio
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.
In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [email protected]. All security vulnerabilities will be promptly addressed.
The Laravel framework is open-sourced software licensed under the MIT license.