
Build a dynamic laravel-based news portal and magazine website with a multilingual front end. Explore feature-rich back end with categories, posts, ads, newsletters, and translation workflows using microsoft translator api.
Upgrade a Laravel 9 project to Laravel 10 by updating PHP, composer, and composer.json, then run composer update. Verify the upgrade with php artisan --version and refresh the frontend.
Learn how to upgrade a Laravel 10 app to Laravel 11, updating PHP to 8.2, adjusting composer.json dependencies (including breeze), handling package compatibility, and verifying the new version.
Set up a Windows Laravel environment with VS Code, laracon, and a browser; start services, access localhost, and manage databases with HeidiSQL using the terminal for php and composer.
Learn to set up Laravel development in VS Code by installing essential extensions, including the Laravel extension pack and PHP intelligence, for blade spacer and dot env highlighter support.
Install the Laravel installer globally with composer, create a new project with Laravel new test-project inside the laracon/www folder, then start the local server with php artisan serve.
Learn to set up a Laravel database connection by creating a MySQL database, configuring the .env file (db host, database, username, password), and verifying the connection with php artisan tinker.
Explore the Laravel folder structure, from app heart with controllers and middlewares to models and providers. Understand how public, resources, routes, storage, vendor, env, artisan, and composer.json organize the application.
Explore Laravel Artisan, a command line tool using PHP Artisan with options and arguments. See basics, about, migrate, serve, inspire, tinker, and make commands for controllers and models.
Learn how the Laravel tinker artisan command opens a shell to interact with your app, access env variables, and run quick database and string tasks from the terminal.
Explore how Laravel uses the model view controller architecture, linking models, views (blade templates), and controllers through routing to fetch data and render it in the view.
Discover how routing maps URLs to actions in Laravel, register routes in web.php, and use get, post, put, patch, and delete to create endpoints that return strings, views, or JSON.
Master Laravel route parameters to capture dynamic URL values with curly braces, access them in callbacks, support multiple parameters, and handle optional ones with defaults to avoid 404 errors.
Define and name routes, group them with shared prefixes, and apply url and name prefixes to all routes, then reference them with route() in templates.
Learn how views render web content in Laravel with blade templates, stored in resources/views, and returned via routes or controllers using the view helper, including dot notation for nested folders.
Learn how blade yield and section directives work in Laravel to create a master layout with dynamic content areas, allowing child views to override content between the header and footer.
Explore useful Blade directives in Laravel, including if, else, else if, PHP, for each, for, empty, include, and isset. Learn conditional rendering, looping, and embedding PHP in Blade templates.
Create and use Laravel controllers to handle requests, separate business logic from views, and route requests through controller methods using PHP artisan make:controller.
Explore how Laravel resource controllers provide built-in CRUD actions and automatic routes, with predefined methods like index, create, store, show, edit, update, and destroy via artisan and Route::resource.
Learn how models represent database tables in mvc, interact via the model layer and controllers, and perform crud operations with eloquent, following singular model and plural table conventions.
Learn how Laravel migrations provide version control for your database schema by defining changes in code, create and modify tables, and apply changes with artisan migrate.
Explore Eloquent, Laravel's ORM, to interact with the database using models and object-oriented techniques. Learn create, read, update, and delete operations, including methods like all, get, where, find, and findOrFail.
Learn how to implement a one-to-one eloquent relationship in laravel by linking blogs to categories via a foreign key, defining belongsTo relations, and using with for eager loading.
Learn how a category can have multiple posts in the blog table and implement a hasMany relationship in Laravel to load and fetch all posts for a category.
Build a Laravel blog creation form with validation and data handling, using blade templates and Bootstrap, to capture title, description, category, and status for database storage.
Fetch dynamic categories in the controller and pass them with compact. Render a dynamic category select and name inputs for title, body, and status.
Learn to implement Laravel form validation, display errors, and post to the blog store route to save validated data using a resource controller.
Handle form submissions in Laravel by validating input, storing data via an eloquent block model, redirecting back, and flashing a success message on the front end.
Learn to handle image uploads in a Laravel form by enabling multipart data, validating images, uploading to public/uploads, and storing the image path in the database for front-end display.
Learn how Laravel middleware acts as a bridge between incoming requests and route handlers, filtering and authenticating users to protect pages like the admin-only create page.
Learn to implement authentication in Laravel using Breeze, a lightweight scaffolding with login, registration, password reset, and email verification. The tutorial guides installation, customization, and testing of Breeze-based auth.
Create a multi authentication system in Laravel by building a separate admin guard, admin model and table, and configuring providers and routes alongside the existing Laravel Breeze login flow.
Implement a custom admin middleware to protect routes, register it in the kernel, and build an admin login and dashboard flow with routes, controllers, and views in a Laravel project.
Learn to protect the Laravel admin dashboard with an admin middleware and guard, implement a multi-auth login flow, and seed admin data.
Implement and test the admin logout feature, destroy the admin session, and redirect to the admin login, building a multi authentication system with admin guard and dynamic user display.
Implement a multi-authentication system in Laravel by building a registration flow, validating inputs, storing to the admin table, hashing passwords, and auto-logging into the admin dashboard using an admin guard.
Develop a basic Laravel template with Breeze authentication, render a dynamic Bootstrap table of users on the dashboard, paginate data, and preview converting to Yasuda data tables.
Learn how to install Yajra DataTables in Laravel, set up frontend assets with npm, and build a user data table class to render server-side data with AJAX-powered pagination.
Explore how the yajra datatable package enhances Laravel apps by enabling live searching, sorting, export to PDF, Excel, CSV, and fast pagination, with installation and feature overview.
Learn to export datatable contents to pdf, csv, excel, or print using the datatables buttons plugin, with the all-in-one installer package and practical laravel data table integration.
Learn how to add and remove datatable columns in a Laravel data table, including custom action columns with dynamic buttons and routes for editing.
Explore the admin template Tesla for Laravel, featuring a clean general dashboard and default layout. Access the source code and master bootstrap components, data table, and admin login pages.
Install a fresh Laravel 10 project, using the installer or composer, create a news portal database, configure environment settings, and verify the connection with artisan commands.
Install Laravel Breeze and configure user authentication with login, registration, and password reset. Prepare a separate admin authentication and plan roles such as editor, writer, and publisher.
Master the Laravel admin panel by importing a full template, organizing admin layouts and a dashboard index, and wiring assets and Blade components for a scalable news portal.
Remove unnecessary dashboard elements to create a lean admin layout, refactor the sidebar and navbar into reusable components, simplify cards, and tidy the top bar for the Laravel admin dashboard.
Create a dedicated admin multi-auth setup in Laravel by adding an admin route file and admin model with migration, then configure an admin guard and provider for admin login.
Set up a multi-auth admin guard in Laravel by creating admin routes, an authentication controller, and an admin login view, then protect the dashboard with admin middleware.
Set up a dynamic admin login using Breeze, route handling, and a dedicated request for validation, seed an admin, and guard access to the dashboard.
Implement a dynamic admin logout in a Laravel Breeze multi-auth setup by adding a logout route, destroying the admin session, and redirecting to the admin login page.
Build an admin password reset flow by adding forgot password routes and views, validating admin emails, generating and storing a reset token, and emailing the reset link.
Learn how to implement an admin password reset flow in Laravel, including creating routes, mail templates with a token, sending reset links via mail trap, and building the reset form.
Wrap all static text in the Laravel admin area with the localization helper to enable easy multilingual support, using language files (lang/en/admin.php) and dot notation to fetch translations.
Design and implement an admin profile page with update forms for name, email, and image, plus a password update form, using a Laravel admin guard, routes, and a resource controller.
Build and validate the admin profile edit form in Laravel, handling image uploads via multipart forms, CSRF tokens, and the admin profile update route.
Create a reusable Laravel trait to handle image uploads, including deleting old images, generating unique names, storing in public/uploads, and returning the image path for database use.
Save admin data to the database by uploading and updating the image path. Preserve the old image path when no new image is provided, and update the name and email.
Build the admin update password flow in the Laravel news portal by creating routes, a form with current, new, and confirm passwords, hash and store the updated password, with validation.
Install and configure the Sweet Alert package in a Laravel admin profile workflow, publish assets, and implement toast alerts for profile and password updates.
Master the top news front-end template with dynamic language switching, login and social logins, sliders, ads, and category-driven content, then convert pages into Blade templates.
Master the front-end home page by integrating a prebuilt template into Laravel. Create blade views and a master layout, and wire CSS, JS, and assets with the asset helper.
Master the home page by modularizing sections into components and using a Laravel layout, header, footer, and hero slider with a dedicated home controller.
Create a backend language module in Laravel by turning a static dropdown into a CRUD for languages, including model, migration, controller, routes, an admin index view and create page.
Build a multilingual create page for managing languages in a Laravel news portal. Set up the admin language create route and a dynamic form with language name, slack, and status.
Learn to build a multilingual create form in Laravel from a languages config. Use a searchable select2 dropdown and prepare a migration and post storage of language data.
Validate the language creation form with a dedicated request, handle validation errors, then store the new language in the database and redirect to the language index.
Learn to display created language data on the index page using a dynamic data table in Laravel, integrating data tables, blade templates, and language fields for default and status indicators.
Add and convert edit and delete actions in the language index to font awesome icons, wiring dynamic admin.language.edit and admin.language.destroy routes, with search and entry filtering.
Learn to build a dynamic multi-language edit form in Laravel, covering routes, controller, edit blade, update flow, and validation with ignore current id for unique rules.
Implement a multi-language delete feature in Laravel using a sweet alert confirmation, an Ajax delete request, dynamic URLs, and CSRF token handling with meta tags.
Create a Laravel language seeder to add a default English language, prevent deleting it, and register the seeder in DatabaseSeeder to enable multilingual support for a news portal.
Wrap all static strings in views and controllers with the localization function to enable translations. Apply this to create, edit, and index pages and status messages for complete localization.
Build the category module for the news portal by creating a Laravel category resource controller, model, migration, and views, then wire routes and update the admin sidebar.
Learn to build the category create page in a Laravel news portal, wiring the admin.category.create route to a create blade, extending master, and loading languages for localization.
Create and validate a Laravel category form using a dedicated request, generate a slug, store language, show_at_nav, and status fields, and redirect to the category index with feedback.
Learn to display created language-specific data on an index page by building dynamic tabs and data tables, fetching languages, iterating to render language-based content.
Demonstrates implementing the edit feature for news categories in a Laravel app: dynamic routes, edit blade, prefilled form with language and status fields, and updating categories with validation.
Add a dynamic delete route and ajax request to remove categories with confirmation. Handle the destroy in the controller with try-catch and return a json status and message.
Create the news post module in a Laravel admin, building a News model, migration, and controller with routes; design the index view and a sidebar dropdown to manage all news.
In this Laravel news portal lecture, define migration columns for a news post, including language, category_id with cascade delete, author_id, title, content, image, meta fields, and flags like breaking news.
Build a dynamic news post create form in Laravel with Blade templates. Include language, dynamic category, title, rich text content, image upload, and meta fields, plus breaking news toggle.
Load categories dynamically based on selected language by sending an ajax request to admin.news.fetch_news_category, returning language-filtered categories and populating the category select input on the post creation page.
Explore building a news post create form, integrating a bootstrap tags input, initializing its plugin, and wiring assets while configuring fields such as language, category, image, title, content, and metadata.
Demonstrate validating the news creation form with a dedicated admin news create request, enforcing language, category, title, image, content, meta tag, and tags, then prepare image storage.
Handle image upload, store the image path, and create the news post. Save language id, category id, and author id, plus title, slug, content, meta data, and booleans; then redirect.
Learn to handle news tags with a many-to-many relationship in Laravel. Create tags and a pivot table, convert comma-separated input to an array, store tags, and attach them to posts.
Display created news posts on a multi-language index page with images, titles, and category names. Enable status, breaking, slider, and popular toggles to manage visibility directly from the list.
Implement dynamic toggle buttons for news posts to update breaking, slider, popular, and status via ajax, with a controller method handling requests and updating the database.
This lecture shows implementing the news post edit feature in a Laravel admin panel: wiring routes, creating an edit blade, loading post data, and preselecting language and category.
Learn to update a news post by rendering tags from the tags relationship as a comma-separated string with a Laravel helper loaded via composer, and edit meta title and description.
Implement update for news posts with a put route and update request validation. Detach and reattach tags via the pivot, delete previous images on replacement, and keep author_id unchanged.
Learn how to implement a robust delete feature for news posts in a Laravel app: delete images from storage, remove the post, and cascade related pivot data.
Implement a clone feature to copy a news post for multilingual sites, enabling admins to duplicate posts, translate titles and content, reuse images, and publish in Bangla or English.
Add a new is_approved boolean column to the news table with a default of 0 to indicate pending posts require admin approval. Avoid data loss by manually adding the column.
Fetch active languages from the backend and render a frontend language dropdown with a default selection, then store the chosen language code in the session for future queries.
Store the selected language code in the user session via Ajax to drive language-specific news queries, using an invokable language controller and route to update session and refresh the page.
Learn to install and use the Laravel debug bar to inspect the session, verify language codes stored in session, and monitor queries, views, and routes.
Create helper functions to get and set the language code from the session, with validation and a fallback to the default database language or English, to be used project-wide.
Dynamically select the language in the header select input by using the session language code and a get language helper, ensuring the current language remains selected across reloads.
Laravel 10 - Build News Portal and Magazine Website
Are you looking to master Laravel and build a comprehensive News Portal website? Look no further! Introducing "Laravel 10 - Build News Portal and Magazine Website" a cutting-edge course designed to take you from a beginner to an advanced Laravel developer. This course is not just theoretical; it's a hands-on project-based learning experience that will transform you into a professional developer.
Why We Should Learn Laravel?
Laravel, an open-source PHP framework, is renowned for its simplicity and powerful features. By following the model-view-controller design pattern, Laravel enables you to create highly structured and pragmatic web applications with ease. Its extensive community support and abundant resources make it an excellent choice for web development.
So why should you invest your time in learning Laravel?
Laravel significantly reduces development time and effort, thanks to its development life cycle and code efficiency.
It's easy to learn, making it accessible even for beginners.
Laravel enhances web application performance and simplifies configuration, error handling, and exception handling.
It offers automation testing capabilities and streamlined URL routing configuration and task scheduling.
Laravel has a huge community and provides unlimited resources.
Most importantly, having Laravel skills makes it very easy to land a job in the field.
What is your benefits ?
With "Laravel 10 - Build News Portal and Magazine Website" you'll reap numerous benefits. Not only will you gain proficiency in Laravel from basic fundamentals to advanced concepts, but you'll also have the opportunity to build a complete, state-of-the-art Online News Portal. Throughout the course, you'll tackle real-life project challenges, learn to debug and troubleshoot, and grasp the core MVC structures. This comprehensive project will not only expand your skill set but also boost your employability. You'll be equipped to undertake client work, bolster your portfolio, and excel in university assignments.
The course's highlights include:
Learning Laravel basics
Creating a News Portal Project with Laravel 10.
Implementing a multi-language system.
Implementing Laravel 10 authentication.
Managing user roles and permissions.
Incorporating professional themes for both the frontend and backend.
Facilitating image uploads.
Mastering CRUD functionality.
Configuring website settings.
Managing news advertisements.
Adding Toaster functionality to the project.
Implementing a change password option.
Implementing email verification in Laravel.
Managing forgot password and password reset functionality.
Updating user profiles.
Optimizing site SEO.
And more.
But the best part? You won't merely learn these concepts; you'll apply them directly to a live project under my guidance. Furthermore, you'll receive prompt support within 24 hours if you encounter any issues. By completing "Laravel 10 - Build News Portal and Magazine Website" you'll position yourself as a proficient Laravel developer, ready to seize job opportunities, impress clients, and advance your career.