Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying FuelPHP Application Development Blueprints
  • Table Of Contents Toc
FuelPHP Application Development Blueprints

FuelPHP Application Development Blueprints

By : Sebastien Drouyer
4.4 (5)
close
close
FuelPHP Application Development Blueprints

FuelPHP Application Development Blueprints

4.4 (5)
By: Sebastien Drouyer

Overview of this book

This book is for intermediary to seasoned web developers who want to learn how to use the FuelPHP framework and build complex projects using it. You should be familiar with PHP, HTML, CSS, and JavaScript, but no prior knowledge about MVC frameworks is required.
Table of Contents (8 chapters)
close
close
7
Index

Migrating part 1


Now, execute the migration file that has been generated:

php oil refine migrate

If you request the URL http://myblog.app/admin and try to log in, an error will be thrown because no table handling our users exist. To create this table (and all the other ones necessary for the Ormauth driver), you have to execute the Auth package migrations. This is done using the following command:

php oil refine migrate --packages=auth

The oil refine migrate command allows you to specify which modules and packages you want to migrate. You can even choose to execute all migrations (from your applications, modules, and packages) with the following command:

php oil refine migrate -all

Though in our case it doesn't make any difference, be aware that it will execute even migrations for packages that are not defined in the always_load.packages key of the APPPATH/config/config.php configuration file. Some of you might have expected this behavior, but we felt that it was an important point to stress...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
FuelPHP Application Development Blueprints
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon